AliPhysics  6133e27 (6133e27)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalCorrectionEventManager.cxx
Go to the documentation of this file.
1 // AliEmcalCorrectionEventManager
2 //
3 
5 
7 
15  AliAnalysisTaskSE("AliEmcalCorrectionEventManager"),
16  fUseEmbedding(true)
17 {
18 
19 }
20 
28  AliAnalysisTaskSE(name),
29  fUseEmbedding(true)
30 {
31 
32 }
33 
38 {
39 }
40 
48 {
49  AliVEvent * event = fInputEvent;
50  if (fUseEmbedding) {
51  const auto embeddingHelper = AliAnalysisTaskEmcalEmbeddingHelper::GetInstance();
52  if (!embeddingHelper) return 0;
53 
54  event = embeddingHelper->GetExternalEvent();
55  }
56 
57  return event;
58 }
Declaration of class AliAnalysisTaskEmcalEmbeddingHelper.
bool fUseEmbedding
If true, return the embedded event instead.
static const AliAnalysisTaskEmcalEmbeddingHelper * GetInstance()