]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FORWARD/analysis/AliFMDDndeta.h
Adding new macro, loadFromOCDB.C, for loading magnetic field, mapping and
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis / AliFMDDndeta.h
1 #ifndef ALIFMDDNDETA_H
2 #define ALIFMDDNDETA_H
3
4 #include "TObject.h"
5 #include "TList.h"
6 #include "TString.h"
7
8 class AliFMDDndeta : public TObject
9 {
10
11  public:
12   AliFMDDndeta();
13   
14   enum Analysis {kHits, kHitsTrVtx, kMult, kMultTrVtx};
15   
16   void Init(const Char_t* filename); 
17   void GenerateMult(Analysis what);
18   void DrawDndeta(Analysis what, Int_t rebin = 1);
19   void SetNbinsToCut(Int_t nbins) {fNbinsToCut = nbins;}
20   void SetVtxCut(Int_t vtxcut) {fVtxCut = vtxcut;}
21   void CreateSharingEfficiency(const Char_t* filename, Bool_t store = kFALSE);
22  private:
23   void GenerateHits();
24   void SetNames(Analysis what);
25   const char* GetAnalysisName(Analysis what, UShort_t det, Char_t ring, Int_t vtxbin);
26   const char* GetPrimName(Analysis what, UShort_t det, Char_t ring, Int_t vtxbin);
27   TList* fList;
28   TList  fMultList;
29   Int_t  fNbinsToCut;
30   Int_t  fVtxCut;
31   Bool_t fIsInit;
32   Bool_t fIsGenerated[3];
33   TString fPrimEvents;
34   TString fEvents;
35   TString fPrimdNdeta;
36   
37   ClassDef(AliFMDDndeta,2);
38 };
39
40
41 #endif
42 // Local Variables:
43 //  mode: C++
44 // End Variables;