AliPhysics  fde8a9f (fde8a9f)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEMCalTriggerKineCuts.h
Go to the documentation of this file.
1 
8 #ifndef ALIEMCALTRIGGERKINECUTS_H
9 #define ALIEMCALTRIGGERKINECUTS_H
10 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
11  * See cxx source for full Copyright notice */
12 
13 #include <TObject.h>
14 #include "AliCutValueRange.h"
15 
16 class AliVParticle;
17 
18 namespace EMCalTriggerPtAnalysis {
19 
31 class AliEMCalTriggerKineCuts: public TObject {
32 public:
33  AliEMCalTriggerKineCuts();
37  virtual ~AliEMCalTriggerKineCuts() {}
38 
44  void SetPtRange(double ptmin, double ptmax) { fPtCut.SetLimits(ptmin, ptmax); }
50  void SetEtaRange(double etamin, double etamax) { fEtaCut.SetLimits(etamin, etamax); }
56  void SetPhiRange(double phimin, double phimax) { fPhiCut.SetLimits(phimin, phimax); }
57 
58  bool IsSelected(const AliVParticle *const track) const;
59 
60 protected:
61  AliCutValueRange<double> fPtCut;
62  AliCutValueRange<double> fEtaCut;
63  AliCutValueRange<double> fPhiCut;
64 
66  ClassDef(AliEMCalTriggerKineCuts, 1);
68 };
69 
70 } /* namespace EMCalTriggerPtAnalysis */
71 
72 #endif /* ALIEMCALTRIGGERKINECUTS_H */
const Double_t etamin
const Double_t ptmax
const Double_t ptmin
const Double_t etamax
const Double_t phimin