AliPhysics  e6c8d43 (e6c8d43)
AliAODForwardEP.h
Go to the documentation of this file.
1 
2 //
3 // Class that contains results from FMD eventplane calculations
4 //
5 #ifndef ALIAODFORWARDEP_H
6 #define ALIAODFORWARDEP_H
7 
17 #include <TObject.h>
18 #include <TH1D.h>
19 class TBrowser;
20 class TH1D;
21 
26 class AliAODForwardEP : public TObject
27 {
28 public:
44  virtual ~AliAODForwardEP() {} // Destructor
50  void Init(const TAxis& etaAxis);
56  void Clear(Option_t* option="");
62  void Browse(TBrowser* b);
68  Bool_t IsFolder() const { return kTRUE; } // Always true
74  void Print(Option_t* option="") const;
80  const Char_t* GetName() const { return (fIsMC ? "ForwardEP" : "ForwardEP"); }
86  void SetEventplane(Double_t ep) { fEpT = ep; }
92  Double_t GetEventplane() { return fEpT; }
98  void SetEventplaneA(Double_t epA) { fEpA = epA; }
110  void SetEventplaneC(Double_t epC) { fEpC = epC; }
122  void SetEventplane1(Double_t ep1) { fEp1 = ep1; }
134  void SetEventplane2(Double_t ep2) { fEp2 = ep2; }
146  const TH1D& GetHistogram() const { return fHist; } // Get histogram
152  TH1D& GetHistogram() { return fHist; } // Get histogram
153 
154 protected:
155  Bool_t fIsMC; // Whether this is from MC
156  Double_t fEpT; // Total FMD event plane
157  Double_t fEpA; // FMD1+2 subevent plane
158  Double_t fEpC; // FMD3 subevent plane
159  Double_t fEp1; // Random FMD subevent plane 1
160  Double_t fEp2; // Random FMD subevent plane 2
161  TH1D fHist; // Histogram of subevent planes in eta for this event
162 
163  ClassDef(AliAODForwardEP,1); // AOD forward multiplicity
164 };
165 
166 #endif
167 // Local Variables:
168 // mode: C++
169 // End:
double Double_t
Definition: External.C:58
char Char_t
Definition: External.C:18
const TH1D & GetHistogram() const
void Clear(Option_t *option="")
void SetEventplaneA(Double_t epA)
void Init(const TAxis &etaAxis)
void SetEventplane2(Double_t ep2)
void SetEventplaneC(Double_t epC)
Double_t GetEventplaneA()
void SetEventplane1(Double_t ep1)
Double_t GetEventplaneC()
Double_t GetEventplane1()
Definition: External.C:212
void Browse(TBrowser *b)
void SetEventplane(Double_t ep)
Double_t GetEventplane()
Bool_t isMC
void Print(Option_t *option="") const
Double_t GetEventplane2()
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
virtual ~AliAODForwardEP()
Bool_t IsFolder() const
const Char_t * GetName() const