1e139150041957884af8b0f81133a7710dfdc904
[u/mrichter/AliRoot.git] / PWG0 / dNdEta / AliMultiplicityMCSelector.h
1 /* $Id$ */
2
3 #ifndef ALIMULTIPLICITYMCSELECTOR_H
4 #define ALIMULTIPLICITYMCSELECTOR_H
5
6 #include "AliSelectorRL.h"
7
8 class AliESDtrackCuts;
9 class TH1F;
10 class TH2F;
11
12 class AliMultiplicityMCSelector : public AliSelectorRL {
13   public:
14     AliMultiplicityMCSelector();
15     virtual ~AliMultiplicityMCSelector();
16
17     virtual void    Begin(TTree* tree);
18     virtual void    SlaveBegin(TTree *tree);
19     virtual Bool_t  Process(Long64_t entry);
20     virtual void    SlaveTerminate();
21     virtual void    Terminate();
22
23  protected:
24     void ReadUserObjects(TTree* tree);
25
26     TH1F* fMultiplicityESD; // multiplicity histogram
27     TH1F* fMultiplicityMC; // multiplicity histogram
28
29     TH2F* fCorrelation; // (gene multiplicity) vs (meas multiplicity)
30
31     AliESDtrackCuts*  fEsdTrackCuts;     // Object containing the parameters of the esd track cuts
32
33  private:
34     AliMultiplicityMCSelector(const AliMultiplicityMCSelector&);
35     AliMultiplicityMCSelector& operator=(const AliMultiplicityMCSelector&);
36
37   ClassDef(AliMultiplicityMCSelector, 0);
38 };
39
40 #endif