]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FORWARD/analysis/AliFMDAnaCalibEventSelectionEfficiency.h
Change in the way event selection corrections are made
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis / AliFMDAnaCalibEventSelectionEfficiency.h
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>
9 #include <TH2F.h>
10
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);
27   void    SetCorrection(Int_t vtxbin, Char_t ring, TH2F* hCorrection);
28   TH2F*   GetCorrection(Int_t vtxbin, Char_t ring);
29
30  protected:
31   
32   TH1F fCorrection;
33   TList fCorrectionList;
34   Bool_t fIsInit;
35   ClassDef(AliFMDAnaCalibEventSelectionEfficiency,2);
36 };
37
38 #endif