TOF added to the list of trigger detectors
[u/mrichter/AliRoot.git] / PWG0 / dNdEta / AlidNdEtaEffSelector.h
CommitLineData
539b6cb4 1#ifndef ALIDNDETAEFFSELECTOR_H
2#define ALIDNDETAEFFSELECTOR_H
3
4#include <TH2F.h>
5
6#include "../AliSelector.h"
49dc84d9 7#include "../esdTrackCuts/AliESDtrackCuts.h"
539b6cb4 8#include "dNdEtaCorrection.h"
9
10class TParticle;
11
12class AlidNdEtaEffSelector : public AliSelector {
13 public:
14 AlidNdEtaEffSelector(TTree *tree=0);
15 virtual ~AlidNdEtaEffSelector();
16
17 virtual void Begin(TTree *tree);
18 virtual void SlaveBegin(TTree *tree);
19 virtual Bool_t Notify();
20 virtual Bool_t Process(Long64_t entry);
21 virtual void SlaveTerminate();
22 virtual void Terminate();
23
24 protected:
25 Bool_t IsPrimary(const TParticle* aParticle, Int_t aTotalPrimaries);
26
49dc84d9 27 AliESDtrackCuts* fEsdTrackCuts;
539b6cb4 28 dNdEtaCorrection* fdNdEtaCorrection;
29
30 private:
31
32 ClassDef(AlidNdEtaEffSelector,0);
33};
34
35#endif