30 #ifndef rotationEventCut_hh
31 #define rotationEventCut_hh
34 #include "StHbtMaker/Base/StHbtEventCut.h"
46 void SetEventRefMult(
const int& lo,
const int& hi);
47 void SetEventMult(
const int& lo,
const int& hi);
48 void SetEventMultGood(
const int& lo,
const int& hi);
49 void SetNumberOfTracks(
const int& lo,
const int& hi);
50 void SetNumberOfV0s(
const int& lo,
const int& hi);
51 void SetVertZPos(
const float& lo,
const float& hi);
52 void SetReactionPlaneError(
const float& lo,
const float& hi);
53 void SetL3TriggerAlgorithm(
const unsigned int&);
54 void SetSmear(
const float& s=0);
63 virtual StHbtString Report();
69 StHbtTrackCollection* ChargeList(StHbtTrackCollection*,
const unsigned short);
70 StHbtTrackCollection* RemoveList(StHbtTrackCollection*,
const float,
const float);
77 int mEventMultGood[2];
79 int mNumberOfTracks[2];
81 float mReactionPlaneError[2];
82 unsigned int mL3TriggerAlgorithm;
95 inline void rotationEventCut::SetEventRefMult(
const int& lo,
const int& hi){mEventRefMult[0]=lo; mEventRefMult[1]=hi;}
96 inline void rotationEventCut::SetEventMult(
const int& lo,
const int& hi){mEventMult[0]=lo; mEventMult[1]=hi;}
97 inline void rotationEventCut::SetEventMultGood(
const int& lo,
const int& hi){mEventMultGood[0]=lo; mEventMultGood[1]=hi;}
98 inline void rotationEventCut::SetNumberOfTracks(
const int& lo,
const int& hi){mNumberOfTracks[0]=lo; mNumberOfTracks[1]=hi;}
99 inline void rotationEventCut::SetNumberOfV0s(
const int& lo,
const int& hi){mNumberOfV0s[0]=lo; mNumberOfV0s[1]=hi;}
100 inline void rotationEventCut::SetVertZPos(
const float& lo,
const float& hi){mVertZPos[0]=lo; mVertZPos[1]=hi;}
101 inline void rotationEventCut::SetReactionPlaneError(
const float& lo,
const float& hi){mReactionPlaneError[0]=lo; mReactionPlaneError[1]=hi;}
102 inline void rotationEventCut::SetL3TriggerAlgorithm(
const unsigned int& l3) {mL3TriggerAlgorithm=l3;}
103 inline void rotationEventCut::SetSmear(
const float& s){ mSmear = s;}
104 inline void rotationEventCut::RotationOn() { mRotation =
true; }
105 inline void rotationEventCut::RotationOff() { mRotation =
false; }
106 inline void rotationEventCut::RandomOn() { mRandom =
true; }
107 inline void rotationEventCut::RandomOff() { mRandom =
false; }
108 inline long rotationEventCut::NEventsPassed() {
return mNEventsPassed;}
109 inline long rotationEventCut::NEventsFailed() {
return mNEventsFailed;}
112 mRotation = c.mRotation;
115 mEventMult[0] = c.mEventMult[0];
116 mEventMult[1] = c.mEventMult[1];
117 mEventRefMult[0] = c.mEventRefMult[0];
118 mEventRefMult[1] = c.mEventRefMult[1];
119 mEventMultGood[0] = c.mEventMultGood[0];
120 mEventMultGood[1] = c.mEventMultGood[1];
121 mVertZPos[0] = c.mVertZPos[0];
122 mVertZPos[1] = c.mVertZPos[1];
123 mNumberOfTracks[0] = c.mNumberOfTracks[0];
124 mNumberOfTracks[1] = c.mNumberOfTracks[1];
125 mNumberOfV0s[0] = c.mNumberOfV0s[0];
126 mNumberOfV0s[1] = c.mNumberOfV0s[1];
127 mReactionPlaneError[0] = c.mReactionPlaneError[0];
128 mReactionPlaneError[1] = c.mReactionPlaneError[1];
129 mL3TriggerAlgorithm = c.mL3TriggerAlgorithm;