Update
[u/mrichter/AliRoot.git] / PWG0 / dNdEta / AlidNdEtaSystematicsSelector.h
CommitLineData
10ebe68d 1/* $Id$ */
2
3#ifndef ALIDNDETASYSTEMATICSSELECTOR_H
4#define ALIDNDETASYSTEMATICSSELECTOR_H
5
6#include "AliSelectorRL.h"
7
8class AliESDtrackCuts;
9class AlidNdEtaCorrection;
38faa1b9 10class TParticlePDG;
7af955da 11
12class TH2F;
9f469bf5 13class TH1F;
10ebe68d 14
15class AlidNdEtaSystematicsSelector : public AliSelectorRL {
16 public:
17 AlidNdEtaSystematicsSelector();
18 virtual ~AlidNdEtaSystematicsSelector();
19
20 virtual void Begin(TTree* tree);
21 virtual void SlaveBegin(TTree *tree);
22 virtual Bool_t Process(Long64_t entry);
23 virtual void SlaveTerminate();
24 virtual void Terminate();
25
26 protected:
38faa1b9 27 Bool_t SignOK(TParticlePDG* particle);
28
10ebe68d 29 void ReadUserObjects(TTree* tree);
30
7af955da 31 void FillSecondaries();
9f469bf5 32 void FillSigmaVertex();
10ebe68d 33
7af955da 34 TH2F* fSecondaries; // (Nprim/Nsec for the cases: all/above3GeV/reconstructed tracks/accepted tracks) vs (particle count)
35
6de7db91 36 AlidNdEtaCorrection* fdNdEtaCorrectionSpecies[4]; // correction for different particle species: here pi, K, p, others
7af955da 37
9f469bf5 38 TH1F* fSigmaVertex; // (accepted tracks) vs (n of sigma to vertex cut)
10ebe68d 39
40 AliESDtrackCuts* fEsdTrackCuts; // Object containing the parameters of the esd track cuts
41
61385583 42 TH1F* fPIDParticles; // pid of primary particles
43 TH1F* fPIDTracks; // pid of reconstructed tracks
44
6de7db91 45 AlidNdEtaCorrection* fdNdEtaCorrectionVertexReco[3]; // correction for vertex reco eff
46
7b0956f3 47 AlidNdEtaCorrection* fdNdEtaCorrectionTriggerBias[3]; // correction for trigger bias
48
38faa1b9 49 Int_t fSignMode; // 1 = only positive particles are counted, -1 = only negative, 0 = both (default)
50 Int_t fMultiplicityMode; // 1 = only events with low multiplicity, 2 = high multiplicity, 0 = all (default)
7b0956f3 51
10ebe68d 52 private:
61385583 53 AlidNdEtaSystematicsSelector(const AlidNdEtaSystematicsSelector&);
54 AlidNdEtaSystematicsSelector& operator=(const AlidNdEtaSystematicsSelector&);
10ebe68d 55
56 ClassDef(AlidNdEtaSystematicsSelector, 0);
57};
58
59#endif