]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG0/dNdEta/AlidNdEtaAnalysisMCSelector.h
Christmas cleanup :)
[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;
9e952c39 11class AliESDtrackCuts;
dc740de4 12
16e24ca3 13class AlidNdEtaAnalysisMCSelector : public AliSelectorRL {
4dd2ad81 14 public:
dc740de4 15 AlidNdEtaAnalysisMCSelector();
4dd2ad81 16 virtual ~AlidNdEtaAnalysisMCSelector();
17
9e952c39 18 virtual void Begin(TTree *tree);
16e24ca3 19 virtual void SlaveBegin(TTree *tree);
20 virtual void SlaveTerminate();
944f0536 21 virtual void Init(TTree *tree);
4dd2ad81 22 virtual Bool_t Process(Long64_t entry);
dc740de4 23 virtual void Terminate();
4dd2ad81 24
9e952c39 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
74fd10b3 31 dNdEtaAnalysis* fdNdEtaAnalysis; // contains the dndeta from the full sample
c69449cc 32 dNdEtaAnalysis* fdNdEtaAnalysisTr; // contains the dndeta from the triggered events
74fd10b3 33 dNdEtaAnalysis* fdNdEtaAnalysisTrVtx; // contains the dndeta from the triggered events with vertex
9e952c39 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)
16e24ca3 35
74fd10b3 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
4dd2ad81 41
61385583 42 AlidNdEtaAnalysisMCSelector(const AlidNdEtaAnalysisMCSelector&);
43 AlidNdEtaAnalysisMCSelector& operator=(const AlidNdEtaAnalysisMCSelector&);
44
5af55649 45 ClassDef(AlidNdEtaAnalysisMCSelector, 0);
4dd2ad81 46};
47
48#endif