]>
Commit | Line | Data |
---|---|---|
c5058a61 | 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(); | |
ae26bdd7 | 13 | AliFMDDndeta(const AliFMDDndeta& o) : |
14 | fList(0), | |
15 | fMultList(), | |
16 | fNbinsToCut(o.fNbinsToCut), | |
17 | fVtxCut(o.fVtxCut), | |
18 | fIsInit(o.fIsInit), | |
19 | fIsGenerated(), | |
20 | fPrimEvents(o.fPrimEvents), | |
21 | fEvents(o.fEvents), | |
22 | fPrimdNdeta(fPrimdNdeta) | |
23 | {} | |
24 | ||
25 | AliFMDDndeta& operator=(const AliFMDDndeta& /*o*/) | |
26 | { | |
27 | // Assignment operator | |
28 | ||
29 | return (*this); | |
30 | } | |
c5058a61 | 31 | |
7e2bf482 | 32 | enum Analysis {kHits, kHitsTrVtx, kMult, kMultTrVtx}; |
c5058a61 | 33 | |
34 | void Init(const Char_t* filename); | |
35 | void GenerateMult(Analysis what); | |
36 | void DrawDndeta(Analysis what, Int_t rebin = 1); | |
37 | void SetNbinsToCut(Int_t nbins) {fNbinsToCut = nbins;} | |
7e2bf482 | 38 | void SetVtxCut(Int_t vtxcut) {fVtxCut = vtxcut;} |
39 | void CreateSharingEfficiency(const Char_t* filename, Bool_t store = kFALSE); | |
c5058a61 | 40 | private: |
41 | void GenerateHits(); | |
42 | void SetNames(Analysis what); | |
43 | const char* GetAnalysisName(Analysis what, UShort_t det, Char_t ring, Int_t vtxbin); | |
44 | const char* GetPrimName(Analysis what, UShort_t det, Char_t ring, Int_t vtxbin); | |
45 | TList* fList; | |
46 | TList fMultList; | |
47 | Int_t fNbinsToCut; | |
48 | Int_t fVtxCut; | |
49 | Bool_t fIsInit; | |
50 | Bool_t fIsGenerated[3]; | |
51 | TString fPrimEvents; | |
52 | TString fEvents; | |
53 | TString fPrimdNdeta; | |
54 | ||
55 | ClassDef(AliFMDDndeta,2); | |
56 | }; | |
57 | ||
58 | ||
59 | #endif | |
60 | // Local Variables: | |
61 | // mode: C++ | |
62 | // End Variables; |