AliPhysics  6cf2591 (6cf2591)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMultEventClassifier.h
Go to the documentation of this file.
1 #ifndef ALIMULTEVENTCLASSIFIER_H
2 #define ALIMULTEVENTCLASSIFIER_H
3 #include <TNamed.h>
4 class TList;
5 class TH2;
6 class TArrayD;
8 class AliESDEvent;
9 class AliPPVsMultUtils;
10 
19 {
20 public:
25  : TNamed(),
26  fUtil(0),
27  fMax(0),
28  fList(0),
29  fCorrV0M(0),
30  fCorrV0A(0),
31  fCorrV0C(0),
32  fCorrV0MEq(0),
33  fCorrV0AEq(0),
34  fCorrV0CEq(0),
35  fMultCND(0),
36  fMultV0M(0),
37  fMultV0A(0),
38  fMultV0C(0),
39  fMultV0MEq(0),
40  fMultV0AEq(0),
41  fMultV0CEq(0),
42  fUseCentrality(true)
43  {}
48  : TNamed("multEventClass", "Classifier of pp events"),
49  fUtil(0),
50  fMax(0),
51  fList(0),
52  fCorrV0M(0),
53  fCorrV0A(0),
54  fCorrV0C(0),
55  fCorrV0MEq(0),
56  fCorrV0AEq(0),
57  fCorrV0CEq(0),
58  fMultCND(0),
59  fMultV0M(0),
60  fMultV0A(0),
61  fMultV0C(0),
62  fMultV0MEq(0),
63  fMultV0AEq(0),
64  fMultV0CEq(0),
65  fUseCentrality(true)
66  {}
73  : TNamed(o),
74  fUtil(0),
75  fMax(0),
76  fList(0),
77  fCorrV0M(0),
78  fCorrV0A(0),
79  fCorrV0C(0),
80  fCorrV0MEq(0),
81  fCorrV0AEq(0),
82  fCorrV0CEq(0),
83  fMultCND(0),
84  fMultV0M(0),
85  fMultV0A(0),
86  fMultV0C(0),
87  fMultV0MEq(0),
88  fMultV0AEq(0),
89  fMultV0CEq(0),
90  fUseCentrality(true)
91  {}
98  {
99  return *this;
100  }
106  void CreateOutputObjects(TList* l);
113  void Process(AliESDEvent* esd,
114  AliAODMultEventClass* data);
120  void Print(Option_t* option="") const;
128 protected:
137  void GetCentrality(AliESDEvent* esd,
138  AliAODMultEventClass* data,
139  Int_t mult,
140  UShort_t which);
148  const char* GetCentName(UShort_t which) const;
156  TH2* GetCorr(UShort_t which) const;
164  TH2* GetVs(UShort_t which) const;
172  TH2* MakeCorr(UShort_t which);
181  TH2* MakeVs(UShort_t which, const TArrayD& bins);
182  AliPPVsMultUtils* fUtil;
184  TList* fList; // Container of output object
185  TH2* fCorrV0M; // Correlation of V0M estimator
186  TH2* fCorrV0A; // Correlation of V0A estimator
187  TH2* fCorrV0C; // Correlation of V0C estimator
188  TH2* fCorrV0MEq; // Correlation of V0MEq estimator
189  TH2* fCorrV0AEq; // Correlation of V0AEq estimator
190  TH2* fCorrV0CEq; // Correlation of V0CEq estimator
191  TH2* fMultCND; // Reference Mult vs V0M estimator
192  TH2* fMultV0M; // Reference Mult vs V0M estimator
193  TH2* fMultV0A; // Reference Mult vs V0A estimator
194  TH2* fMultV0C; // Reference Mult vs V0C estimator
195  TH2* fMultV0MEq; // Reference Mult vs V0MEq estimator
196  TH2* fMultV0AEq; // Reference Mult vs V0AEq estimator
197  TH2* fMultV0CEq; // Reference Mult vs V0CEq estimator
198  Bool_t fUseCentrality; // Whether to do centrality
199 
201 };
202 
203 #endif
204 // Local Variables:
205 // mode: C++
206 // End:
207 
208 
209 
void Print(Option_t *option="") const
TH2 * MakeVs(UShort_t which, const TArrayD &bins)
void Process(AliESDEvent *esd, AliAODMultEventClass *data)
TH2 * MakeCorr(UShort_t which)
AliMultEventClassifier & operator=(const AliMultEventClassifier &)
TH2 * GetVs(UShort_t which) const
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
AliMultEventClassifier(const AliMultEventClassifier &o)
const char * GetCentName(UShort_t which) const
void GetCentrality(AliESDEvent *esd, AliAODMultEventClass *data, Int_t mult, UShort_t which)
Definition: External.C:220
unsigned short UShort_t
Definition: External.C:28
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
TH2 * GetCorr(UShort_t which) const
ClassDef(AliMultEventClassifier, 2)