]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGJE/EMCALJetTasks/Tracks/AliEMCalTriggerEventSelection.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGJE / EMCALJetTasks / Tracks / AliEMCalTriggerEventSelection.h
CommitLineData
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
10namespace EMCalTriggerPtAnalysis {
11
12class AliEMCalTriggerEventData;
13
14class AliEMCalTriggerEventSelection: public TObject {
15public:
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
25protected:
26 AliCutValueRange<double> fVertexCut;
27
28 ClassDef(AliEMCalTriggerEventSelection, 1);
29};
30
31} /* namespace EMCalTriggerPtAnalysis */
32
33#endif /* ALIEMCALTRIGGEREVENTSELECTION_H */