AliPhysics  3337bb0 (3337bb0)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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;}
157  virtual void End(TList* sums,
158  TList* results,
159  UShort_t scheme,
160  Double_t trigEff,
161  Double_t trigEff0,
162  Bool_t rootProj,
163  Bool_t corrEmpty,
164  Int_t triggerMask,
165  Int_t marker,
166  Int_t color,
167  TList* mclist,
168  TList* truthlist);
169  protected:
177  TH1* EmpiricalCorrection(TList* results);
178  // ClassDef(CentralityBin,4); // A centrality bin
179  };
180 
181  ClassDef(AliForwarddNdetaTask,4); // Determine multiplicity in forward region
182 };
183 
184 #endif
185 //
186 // Local Variables:
187 // mode: C++
188 // End:
189 //
Int_t color[]
option to what and if export to output file
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)
virtual void 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)
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
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)