AliPhysics  vAN-20150924 (e816f45)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
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 
25 namespace EMCalTriggerPtAnalysis {
26 
38 class AliEMCalTriggerKineCuts: public TObject {
39 public:
40  AliEMCalTriggerKineCuts();
44  virtual ~AliEMCalTriggerKineCuts() {}
45 
51  void SetPtRange(double ptmin, double ptmax) { fPtCut.SetLimits(ptmin, ptmax); }
57  void SetEtaRange(double etamin, double etamax) { fEtaCut.SetLimits(etamin, etamax); }
63  void SetPhiRange(double phimin, double phimax) { fPhiCut.SetLimits(phimin, phimax); }
64 
65  bool IsSelected(const AliVParticle *const track) const;
66 
67 protected:
68  AliCutValueRange<double> fPtCut;
69  AliCutValueRange<double> fEtaCut;
70  AliCutValueRange<double> fPhiCut;
71 
73  ClassDef(AliEMCalTriggerKineCuts, 1);
75 };
76 
77 } /* namespace EMCalTriggerPtAnalysis */
78 
79 #endif /* ALIEMCALTRIGGERKINECUTS_H */
const Double_t etamin
const Double_t ptmax
const Double_t ptmin
const Double_t etamax
Class containing a range for a value to cut on.
const Double_t phimin