]>
Commit | Line | Data |
---|---|---|
5b1df951 | 1 | #ifndef ALIEMCALTRIGGERKINECUTS_H |
2 | #define ALIEMCALTRIGGERKINECUTS_H | |
3 | /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | // Author: Markus Fasel | |
7 | #include <TObject.h> | |
8 | #include "AliCutValueRange.h" | |
9 | ||
10 | class AliVParticle; | |
11 | ||
12 | namespace EMCalTriggerPtAnalysis { | |
13 | ||
14 | class AliEMCalTriggerKineCuts: public TObject { | |
15 | public: | |
16 | AliEMCalTriggerKineCuts(); | |
17 | virtual ~AliEMCalTriggerKineCuts() {} | |
18 | ||
19 | void SetPtRange(double ptmin, double ptmax) { fPtCut.SetLimits(ptmin, ptmax); } | |
20 | void SetEtaRange(double etamin, double etamax) { fEtaCut.SetLimits(etamin, etamax); } | |
21 | void SetPhiRange(double phimin, double phimax) { fPhiCut.SetLimits(phimin, phimax); } | |
22 | ||
23 | bool IsSelected(const AliVParticle *const track) const; | |
24 | ||
25 | protected: | |
26 | AliCutValueRange<double> fPtCut; | |
27 | AliCutValueRange<double> fEtaCut; | |
28 | AliCutValueRange<double> fPhiCut; | |
29 | ||
30 | ClassDef(AliEMCalTriggerKineCuts, 1); | |
31 | }; | |
32 | ||
33 | } /* namespace EMCalTriggerPtAnalysis */ | |
34 | ||
35 | #endif /* ALIEMCALTRIGGERKINECUTS_H */ |