AliPhysics  2c6b7ad (2c6b7ad)
AliForwarddNdetaTask.h
Go to the documentation of this file.
1 //
2 // Task to analyse the AOD for for dN/deta in the forward regions
3 //
4 #ifndef ALIFORWARDDNDETATASK_H
5 #define ALIFORWARDDNDETATASK_H
6 
16 #include "AliBasedNdetaTask.h"
17 class TList;
18 class TH2D;
19 class TH1D;
20 
30 {
31 public:
42  AliForwarddNdetaTask(const char* name);
47  virtual ~AliForwarddNdetaTask() {}
48 protected:
61 
62  Bool_t LoadEmpirical(const char* path);
63  Bool_t Finalize();
72  TH2D* GetHistogram(const AliAODEvent& aod, Bool_t mc);
78  virtual Int_t GetColor() const { return kRed+2; }
86  virtual void CheckEventData(Double_t vtx,
87  TH2* data,
88  TH2* mcData);
99  MakeCentralityBin(const char* name, Float_t l, Float_t h) const;
100 
108  {
109  public:
121  CentralityBin(const char* name, Float_t low, Float_t high)
122  : AliBasedNdetaTask::CentralityBin(name, low, high)
123  {}
129  CentralityBin(const CentralityBin& other){;}
133  virtual ~CentralityBin() {}
140  CentralityBin& operator=(const CentralityBin&){return *this;}
159  virtual bool End(TList* sums,
160  TList* results,
161  UShort_t scheme,
162  Double_t trigEff,
163  Double_t trigEff0,
164  Bool_t rootProj,
165  Bool_t corrEmpty,
166  Int_t triggerMask,
167  Int_t marker,
168  Int_t color,
169  TList* mclist,
170  TList* truthlist);
171  protected:
179  TH1* EmpiricalCorrection(TList* results);
180  // ClassDef(CentralityBin,4); // A centrality bin
181  };
182 
183  ClassDef(AliForwarddNdetaTask,4); // Determine multiplicity in forward region
184 };
185 
186 #endif
187 //
188 // Local Variables:
189 // mode: C++
190 // End:
191 //
Int_t color[]
print message on plot with ok/not ok
double Double_t
Definition: External.C:58
virtual void CheckEventData(Double_t vtx, TH2 *data, TH2 *mcData)
CentralityBin & operator=(const CentralityBin &)
AliForwarddNdetaTask & operator=(const AliForwarddNdetaTask &)
Bool_t LoadEmpirical(const char *path)
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
CentralityBin(const CentralityBin &other)
Definition: External.C:228
Definition: External.C:212
virtual bool End(TList *sums, TList *results, UShort_t scheme, Double_t trigEff, Double_t trigEff0, Bool_t rootProj, Bool_t corrEmpty, Int_t triggerMask, Int_t marker, Int_t color, TList *mclist, TList *truthlist)
TH2D * GetHistogram(const AliAODEvent &aod, Bool_t mc)
Definition: External.C:220
AliBasedNdetaTask::CentralityBin * MakeCentralityBin(const char *name, Float_t l, Float_t h) const
unsigned short UShort_t
Definition: External.C:28
bool Bool_t
Definition: External.C:53
Definition: External.C:196
virtual Int_t GetColor() const
CentralityBin(const char *name, Float_t low, Float_t high)