]>
Commit | Line | Data |
---|---|---|
4d1a3169 | 1 | #ifndef ALIEMCALTRIGGEREVENTSELECTION_H |
2 | #define ALIEMCALTRIGGEREVENTSELECTION_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 | namespace EMCalTriggerPtAnalysis { | |
11 | ||
12 | class AliEMCalTriggerEventData; | |
13 | ||
14 | class AliEMCalTriggerEventSelection: public TObject { | |
15 | public: | |
16 | AliEMCalTriggerEventSelection(); | |
17 | AliEMCalTriggerEventSelection(const AliEMCalTriggerEventSelection &ref); | |
18 | AliEMCalTriggerEventSelection &operator=(const AliEMCalTriggerEventSelection &ref); | |
19 | virtual ~AliEMCalTriggerEventSelection() {} | |
20 | ||
21 | void SetVertexCut(double zmin, double zmax) { fVertexCut.SetLimits(zmin, zmax); } | |
22 | ||
23 | virtual bool IsEventSelected(const AliEMCalTriggerEventData * const ev) const; | |
24 | ||
25 | protected: | |
26 | AliCutValueRange<double> fVertexCut; | |
27 | ||
28 | ClassDef(AliEMCalTriggerEventSelection, 1); | |
29 | }; | |
30 | ||
31 | } /* namespace EMCalTriggerPtAnalysis */ | |
32 | ||
33 | #endif /* ALIEMCALTRIGGEREVENTSELECTION_H */ |