1 ////////////////////////////////////////////////////////////////////////////////
3 // AliFemtoBasicEventCut - the basic cut for events. //
4 // Only cuts on event multiplicity and z-vertex position //
6 ////////////////////////////////////////////////////////////////////////////////
8 #ifndef AliFemtoBasicEventCut_hh
9 #define AliFemtoBasicEventCut_hh
11 // do I need these lines ?
13 //#include "StMaker.h"
16 #include "AliFemtoEventCut.h"
18 class AliFemtoBasicEventCut : public AliFemtoEventCut {
22 AliFemtoBasicEventCut();
23 AliFemtoBasicEventCut(AliFemtoBasicEventCut&);
24 //~AliFemtoBasicEventCut();
26 void SetEventMult(const int& lo,const int& hi);
27 void SetVertZPos(const float& lo, const float& hi);
31 virtual AliFemtoString Report();
32 virtual bool Pass(const AliFemtoEvent*);
34 AliFemtoBasicEventCut* Clone();
36 private: // here are the quantities I want to cut on...
38 int fEventMult[2]; // range of multiplicity
39 float fVertZPos[2]; // range of z-position of vertex
45 ClassDef(AliFemtoBasicEventCut, 1)
50 inline void AliFemtoBasicEventCut::SetEventMult(const int& lo, const int& hi){fEventMult[0]=lo; fEventMult[1]=hi;}
51 inline void AliFemtoBasicEventCut::SetVertZPos(const float& lo, const float& hi){fVertZPos[0]=lo; fVertZPos[1]=hi;}
52 inline int AliFemtoBasicEventCut::NEventsPassed() {return fNEventsPassed;}
53 inline int AliFemtoBasicEventCut::NEventsFailed() {return fNEventsFailed;}
54 inline AliFemtoBasicEventCut* AliFemtoBasicEventCut::Clone() { AliFemtoBasicEventCut* c = new AliFemtoBasicEventCut(*this); return c;}
55 inline AliFemtoBasicEventCut::AliFemtoBasicEventCut(AliFemtoBasicEventCut& c) : AliFemtoEventCut(c), fNEventsPassed(0), fNEventsFailed(0) {
56 fEventMult[0] = c.fEventMult[0];
57 fEventMult[1] = c.fEventMult[1];
58 fVertZPos[0] = c.fVertZPos[0];
59 fVertZPos[1] = c.fVertZPos[1];