]>
Commit | Line | Data |
---|---|---|
43a9a462 | 1 | /* $Id$ */ |
2 | ||
3 | #ifndef ALIMULTIPLICITYMCSELECTOR_H | |
4 | #define ALIMULTIPLICITYMCSELECTOR_H | |
5 | ||
6 | #include "AliSelectorRL.h" | |
7 | ||
8 | class AliESDtrackCuts; | |
0a173978 | 9 | class AliMultiplicityCorrection; |
447c325d | 10 | class AliCorrection; |
11 | class TNtuple; | |
a7904bb7 | 12 | class TH1; |
43a9a462 | 13 | |
14 | class AliMultiplicityMCSelector : public AliSelectorRL { | |
15 | public: | |
16 | AliMultiplicityMCSelector(); | |
17 | virtual ~AliMultiplicityMCSelector(); | |
18 | ||
19 | virtual void Begin(TTree* tree); | |
20 | virtual void SlaveBegin(TTree *tree); | |
0a173978 | 21 | virtual void Init(TTree *tree); |
43a9a462 | 22 | virtual Bool_t Process(Long64_t entry); |
23 | virtual void SlaveTerminate(); | |
24 | virtual void Terminate(); | |
25 | ||
26 | protected: | |
27 | void ReadUserObjects(TTree* tree); | |
28 | ||
0a173978 | 29 | AliMultiplicityCorrection* fMultiplicity; // object containing the extracted data |
447c325d | 30 | AliESDtrackCuts* fEsdTrackCuts; // Object containing the parameters of the esd track cuts |
31 | ||
32 | Bool_t fSystSkipParticles; // if true skips particles (systematic study) | |
33 | AliCorrection* fParticleCorrection[4]; // correction from measured to generated particles for trigger, vertex sample in |eta| < 2; | |
34 | // for each of the species: pi, k, p, other; for systematic study of pt cut off | |
35 | Int_t fSelectProcessType; // 0 = all (default), 1 = ND, 2 = SD, 3 = DD (for systematic study) | |
6d81c2de | 36 | TNtuple *fParticleSpecies; // per event: vtx_mc, (pi, k, p, rest (in |eta| < 2)) X (true, recon) + (nolabel, |
37 | // doubleTracks, doublePrimaries) [doubleTracks + doublePrimaries are already part of | |
38 | // rec. particles!) | |
43a9a462 | 39 | |
a7904bb7 | 40 | TH1* fPtSpectrum; // function that modifies the pt spectrum (syst. study) |
41 | ||
43a9a462 | 42 | private: |
61385583 | 43 | AliMultiplicityMCSelector(const AliMultiplicityMCSelector&); |
44 | AliMultiplicityMCSelector& operator=(const AliMultiplicityMCSelector&); | |
43a9a462 | 45 | |
46 | ClassDef(AliMultiplicityMCSelector, 0); | |
47 | }; | |
48 | ||
49 | #endif |