]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG0/dNdEta/AliVertexSelector.h
AliPWG0depHelper: function to find mother among the primaries
[u/mrichter/AliRoot.git] / PWG0 / dNdEta / AliVertexSelector.h
1 /* $Id$ */
2
3 #ifndef AliVertexSelector_H
4 #define AliVertexSelector_H
5
6 #include "AliSelectorRL.h"
7
8 class TH1F;
9 class TH2F;
10 class AliESDtrackCuts;
11
12 class AliVertexSelector : public AliSelectorRL {
13   public:
14     AliVertexSelector();
15     virtual ~AliVertexSelector();
16
17     virtual void    SlaveBegin(TTree *tree);
18     virtual void    Init(TTree *tree);
19     virtual Bool_t  Process(Long64_t entry);
20     virtual void    SlaveTerminate();
21     virtual void    Terminate();
22
23  private:
24     AliVertexSelector(const AliVertexSelector&);
25     AliVertexSelector& operator=(const AliVertexSelector&);
26
27     AliESDtrackCuts*  fEsdTrackCuts;     // Object containing the parameters of the esd track cuts
28
29     TH1F* fVertexMC;   // MC vertex distribution
30     TH1F* fVertexESD;  // ESD vertex distribution
31     TH2F* fVertexCorr; // vertex correlation (esd vtx - mc vtx vs. mc vtx)
32     TH2F* fVertexCorr2; // vertex correlation (esd vtx - mc vtx vs. mc vtx)
33
34     TH2F* fFakes; // counts the fakes
35
36   ClassDef(AliVertexSelector, 0);
37 };
38
39 #endif