3 #ifndef ALIDNDETAANALYSISSELECTORMC_H
4 #define ALIDNDETAANALYSISSELECTORMC_H
6 #include "AliSelectorRL.h"
11 class AliESDtrackCuts;
13 class AlidNdEtaAnalysisMCSelector : public AliSelectorRL {
15 AlidNdEtaAnalysisMCSelector();
16 virtual ~AlidNdEtaAnalysisMCSelector();
18 virtual void Begin(TTree *tree);
19 virtual void SlaveBegin(TTree *tree);
20 virtual void SlaveTerminate();
21 virtual void Init(TTree *tree);
22 virtual Bool_t Process(Long64_t entry);
23 virtual void Terminate();
26 void ReadUserObjects(TTree* tree);
29 AliESDtrackCuts* fEsdTrackCuts; // Object containing the parameters of the esd track cuts, needed for fdNdEtaAnalysisTracks
31 dNdEtaAnalysis* fdNdEtaAnalysis; // contains the dndeta from the full sample
32 dNdEtaAnalysis* fdNdEtaAnalysisTr; // contains the dndeta from the triggered events
33 dNdEtaAnalysis* fdNdEtaAnalysisTrVtx; // contains the dndeta from the triggered events with vertex
34 dNdEtaAnalysis* fdNdEtaAnalysisTracks; // contains the dndeta from the triggered events with vertex counted from the mc particles associated to the tracks (comparing this to the raw values from the esd shows the effect of the detector resolution)
36 // the following are control histograms to check the dNdEtaAnalysis class
37 TH3F* fVertex; // vertex of counted particles
38 TH1F* fPartEta[3]; // counted particles as function of eta (full vertex range, below 0 range, above 0 range)
39 TH1F* fPartPt; // counted particles as function of pt
40 TH1F* fEvents; // events counted as function of vtx
42 AlidNdEtaAnalysisMCSelector(const AlidNdEtaAnalysisMCSelector&);
43 AlidNdEtaAnalysisMCSelector& operator=(const AlidNdEtaAnalysisMCSelector&);
45 ClassDef(AlidNdEtaAnalysisMCSelector, 0);