]>
Commit | Line | Data |
---|---|---|
c3ac94c6 | 1 | #ifndef ALIFMDANACALIBEVENTSELECTIONEFFICIENCY_H |
2 | #define ALIFMDANACALIBEVENTSELECTIONEFFICIENCY_H | |
3 | ||
4 | #include <TObject.h> | |
5 | #include <TObjArray.h> | |
6 | #include <TH1F.h> | |
7 | #include <TAxis.h> | |
8 | #include <TList.h> | |
ab3e0abc | 9 | #include <TH2F.h> |
df2a9c32 | 10 | #include <TString.h> |
c3ac94c6 | 11 | class TBrowser; |
12 | ||
13 | class AliFMDAnaCalibEventSelectionEfficiency : public TObject | |
14 | { | |
15 | ||
16 | public: | |
17 | ||
18 | AliFMDAnaCalibEventSelectionEfficiency(); | |
19 | AliFMDAnaCalibEventSelectionEfficiency(const AliFMDAnaCalibEventSelectionEfficiency& o); | |
20 | AliFMDAnaCalibEventSelectionEfficiency& operator=(const AliFMDAnaCalibEventSelectionEfficiency& o); | |
21 | ||
22 | void Init(); | |
23 | Bool_t IsFolder() const { return kTRUE; } | |
24 | void Browse(TBrowser* b); | |
25 | void SetCorrection(TH1F* hCorrection); | |
26 | Float_t GetCorrection(Int_t vtxbin); | |
df2a9c32 | 27 | void SetCorrection(TString trig, Int_t vtxbin, Char_t ring, TH2F* hCorrection); |
28 | TH2F* GetCorrection(TString trig, Int_t vtxbin, Char_t ring); | |
daedf077 | 29 | Float_t GetVtxToTriggerRatio() {return fVtxEff; } |
30 | void SetVtxToTriggerRatio(Float_t vtxEff) {fVtxEff = vtxEff;} | |
c3ac94c6 | 31 | protected: |
32 | ||
33 | TH1F fCorrection; | |
ab3e0abc | 34 | TList fCorrectionList; |
c3ac94c6 | 35 | Bool_t fIsInit; |
daedf077 | 36 | Float_t fVtxEff; |
37 | ClassDef(AliFMDAnaCalibEventSelectionEfficiency,3); | |
c3ac94c6 | 38 | }; |
39 | ||
40 | #endif |