cassert included
[u/mrichter/AliRoot.git] / PWG0 / dNdEta / AlidNdEtaAnalysisMCSelector.h
CommitLineData
dc740de4 1/* $Id$ */
2
4dd2ad81 3#ifndef ALIDNDETAANALYSISSELECTORMC_H
4#define ALIDNDETAANALYSISSELECTORMC_H
5
16e24ca3 6#include "AliSelectorRL.h"
4dd2ad81 7
dc740de4 8class TH3F;
5af55649 9class TH1F;
16e24ca3 10class dNdEtaAnalysis;
dc740de4 11
16e24ca3 12class AlidNdEtaAnalysisMCSelector : public AliSelectorRL {
4dd2ad81 13 public:
dc740de4 14 AlidNdEtaAnalysisMCSelector();
4dd2ad81 15 virtual ~AlidNdEtaAnalysisMCSelector();
16
16e24ca3 17 virtual void SlaveBegin(TTree *tree);
18 virtual void SlaveTerminate();
944f0536 19 virtual void Init(TTree *tree);
4dd2ad81 20 virtual Bool_t Process(Long64_t entry);
dc740de4 21 virtual void Terminate();
4dd2ad81 22
4dd2ad81 23 private:
74fd10b3 24 dNdEtaAnalysis* fdNdEtaAnalysis; // contains the dndeta from the full sample
c69449cc 25 dNdEtaAnalysis* fdNdEtaAnalysisTr; // contains the dndeta from the triggered events
74fd10b3 26 dNdEtaAnalysis* fdNdEtaAnalysisTrVtx; // contains the dndeta from the triggered events with vertex
16e24ca3 27
74fd10b3 28 // the following are control histograms to check the dNdEtaAnalysis class
29 TH3F* fVertex; // vertex of counted particles
30 TH1F* fPartEta[3]; // counted particles as function of eta (full vertex range, below 0 range, above 0 range)
31 TH1F* fPartPt; // counted particles as function of pt
32 TH1F* fEvents; // events counted as function of vtx
4dd2ad81 33
61385583 34 AlidNdEtaAnalysisMCSelector(const AlidNdEtaAnalysisMCSelector&);
35 AlidNdEtaAnalysisMCSelector& operator=(const AlidNdEtaAnalysisMCSelector&);
36
5af55649 37 ClassDef(AlidNdEtaAnalysisMCSelector, 0);
4dd2ad81 38};
39
40#endif