]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FORWARD/analysis/AliFMDDndeta.h
Moving the FMD analysis to PWG2
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis / AliFMDDndeta.h
CommitLineData
c5058a61 1#ifndef ALIFMDDNDETA_H
2#define ALIFMDDNDETA_H
3
4#include "TObject.h"
5#include "TList.h"
6#include "TString.h"
7
8class AliFMDDndeta : public TObject
9{
10
11 public:
12 AliFMDDndeta();
13
7e2bf482 14 enum Analysis {kHits, kHitsTrVtx, kMult, kMultTrVtx};
c5058a61 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;}
7e2bf482 20 void SetVtxCut(Int_t vtxcut) {fVtxCut = vtxcut;}
21 void CreateSharingEfficiency(const Char_t* filename, Bool_t store = kFALSE);
c5058a61 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;