]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG0/dNdEta/AlidNdEtaAnalysisMCSelector.h
Warning removed.
[u/mrichter/AliRoot.git] / PWG0 / dNdEta / AlidNdEtaAnalysisMCSelector.h
1 /* $Id$ */
2
3 #ifndef ALIDNDETAANALYSISSELECTORMC_H
4 #define ALIDNDETAANALYSISSELECTORMC_H
5
6 #include "AliSelectorRL.h"
7
8 class TH3F;
9 class TH1F;
10 class dNdEtaAnalysis;
11 class AliESDtrackCuts;
12
13 class AlidNdEtaAnalysisMCSelector : public AliSelectorRL {
14   public:
15     AlidNdEtaAnalysisMCSelector();
16     virtual ~AlidNdEtaAnalysisMCSelector();
17
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();
24
25   protected:
26     void ReadUserObjects(TTree* tree);
27
28   private:
29     AliESDtrackCuts* fEsdTrackCuts;     // Object containing the parameters of the esd track cuts, needed for fdNdEtaAnalysisTracks
30
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)
35
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
41
42     AlidNdEtaAnalysisMCSelector(const AlidNdEtaAnalysisMCSelector&);
43     AlidNdEtaAnalysisMCSelector& operator=(const AlidNdEtaAnalysisMCSelector&);
44
45     ClassDef(AlidNdEtaAnalysisMCSelector, 0);
46 };
47
48 #endif