]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/analysis/AliFMDAnaCalibBackgroundCorrection.h
analysis upgrade to take into account double hits in p+p collisions. Fix of warnings...
[u/mrichter/AliRoot.git] / FMD / analysis / AliFMDAnaCalibBackgroundCorrection.h
1 #ifndef ALIFMDANACALIBBACKGROUNDCORRECTION_H
2 #define ALIFMDANACALIBBACKGROUNDCORRECTION_H
3
4 #include <TObject.h>
5 #include <TObjArray.h>
6 // #include <TH2F.h>
7 #include <TAxis.h>
8 #include <TList.h>
9 class TH2F;
10 class TH1F;
11 class TBrowser;
12
13 class AliFMDAnaCalibBackgroundCorrection : public TObject
14 {
15   
16  public:
17   
18   AliFMDAnaCalibBackgroundCorrection();
19   AliFMDAnaCalibBackgroundCorrection(const AliFMDAnaCalibBackgroundCorrection& o);
20   AliFMDAnaCalibBackgroundCorrection& operator=(const AliFMDAnaCalibBackgroundCorrection& o);
21   
22   TH2F*   GetBgCorrection(Int_t det, Char_t ring, Int_t vtxbin);
23   void    SetBgCorrection(Int_t det, Char_t ring, Int_t vtxbin, TH2F* hCorrection);
24   TH1F*   GetDoubleHitCorrection(Int_t det, Char_t ring);
25   void    SetDoubleHitCorrection(Int_t det, Char_t ring, TH1F* hCorrection);
26   void    SetRefAxis(TAxis* axis);
27   Int_t   GetNvtxBins();
28   Float_t GetVtxCutZ();
29   void    Init();
30   Bool_t  IsFolder() const { return kTRUE; }
31   void    Browse(TBrowser* b);
32  protected:
33   
34   TObjArray* GetRingArray(Int_t det, Char_t ring);
35   TObjArray  fArray;
36   TAxis      fAxis;
37   Bool_t     fIsInit;
38   TList      fListOfDoubleHitCorrection;
39   ClassDef(AliFMDAnaCalibBackgroundCorrection,1);
40 };
41
42 #endif