]>
Commit | Line | Data |
---|---|---|
10ebe68d | 1 | /* $Id$ */ |
2 | ||
3 | #ifndef ALIDNDETASYSTEMATICSSELECTOR_H | |
4 | #define ALIDNDETASYSTEMATICSSELECTOR_H | |
5 | ||
6 | #include "AliSelectorRL.h" | |
7 | ||
8 | class AliESDtrackCuts; | |
9 | class AlidNdEtaCorrection; | |
7af955da | 10 | |
11 | class TH2F; | |
9f469bf5 | 12 | class TH1F; |
10ebe68d | 13 | |
14 | class AlidNdEtaSystematicsSelector : public AliSelectorRL { | |
15 | public: | |
16 | AlidNdEtaSystematicsSelector(); | |
17 | virtual ~AlidNdEtaSystematicsSelector(); | |
18 | ||
19 | virtual void Begin(TTree* tree); | |
20 | virtual void SlaveBegin(TTree *tree); | |
21 | virtual Bool_t Process(Long64_t entry); | |
22 | virtual void SlaveTerminate(); | |
23 | virtual void Terminate(); | |
24 | ||
25 | protected: | |
26 | void ReadUserObjects(TTree* tree); | |
27 | ||
28 | void FillCorrectionMaps(TObjArray* listOfTracks); | |
7af955da | 29 | void FillSecondaries(); |
9f469bf5 | 30 | void FillSigmaVertex(); |
10ebe68d | 31 | |
7af955da | 32 | TH2F* fSecondaries; // (Nprim/Nsec for the cases: all/above3GeV/reconstructed tracks/accepted tracks) vs (particle count) |
33 | ||
6de7db91 | 34 | AlidNdEtaCorrection* fdNdEtaCorrectionSpecies[4]; // correction for different particle species: here pi, K, p, others |
7af955da | 35 | |
9f469bf5 | 36 | TH1F* fSigmaVertex; // (accepted tracks) vs (n of sigma to vertex cut) |
10ebe68d | 37 | |
38 | AliESDtrackCuts* fEsdTrackCuts; // Object containing the parameters of the esd track cuts | |
39 | ||
61385583 | 40 | TH1F* fPIDParticles; // pid of primary particles |
41 | TH1F* fPIDTracks; // pid of reconstructed tracks | |
42 | ||
6de7db91 | 43 | AlidNdEtaCorrection* fdNdEtaCorrectionVertexReco[3]; // correction for vertex reco eff |
44 | ||
10ebe68d | 45 | private: |
61385583 | 46 | AlidNdEtaSystematicsSelector(const AlidNdEtaSystematicsSelector&); |
47 | AlidNdEtaSystematicsSelector& operator=(const AlidNdEtaSystematicsSelector&); | |
10ebe68d | 48 | |
49 | ClassDef(AlidNdEtaSystematicsSelector, 0); | |
50 | }; | |
51 | ||
52 | #endif |