o) new way of calculating the final dndeta
[u/mrichter/AliRoot.git] / PWG0 / dNdEta / AlidNdEtaAnalysisMCSelector.h
1 /* $Id$ */
2
3 #ifndef ALIDNDETAANALYSISSELECTORMC_H
4 #define ALIDNDETAANALYSISSELECTORMC_H
5
6 #include "AlidNdEtaAnalysisSelector.h"
7
8 class TH3F;
9 class TH1F;
10
11 class AlidNdEtaAnalysisMCSelector : public AlidNdEtaAnalysisSelector {
12   public:
13     AlidNdEtaAnalysisMCSelector();
14     virtual ~AlidNdEtaAnalysisMCSelector();
15
16     virtual void    Init(TTree *tree);
17     virtual Bool_t  Process(Long64_t entry);
18     virtual void    Terminate();
19
20  protected:
21
22  private:
23     TH3F* fVertex;  //! vertex of counted particles
24     TH1F* fPartEta; //! counted particles as function of eta
25     Int_t fEvents;  //! number of processed events
26
27     ClassDef(AlidNdEtaAnalysisMCSelector, 0);
28 };
29
30 #endif