55 #ifndef helensV0Cut_hh
56 #define helensV0Cut_hh
62 #include "StHbtMaker/Base/StHbtV0Cut.h"
63 #include "StHbtMaker/Infrastructure/StHbtV0.hh"
72 virtual bool Pass(
const StHbtV0*);
74 virtual StHbtString Report();
76 void SetV0Type(
const char* type);
77 void SetV0MassRange(
const float& lo,
const float& hi);
78 void SetdcaV0daughters(
const float& lo,
const float& hi);
79 void SetdcaV0ToPrimVertex(
const float& lo,
const float& hi);
80 void SetdecayLengthV0(
const float& lo,
const float& hi);
81 void SettpcHitsPos(
const int& lo,
const int& hi);
82 void SettpcHitsNeg(
const int& lo,
const int& hi);
83 void SetdcaPosToPrimVertex(
const float& lo,
const float& hi);
84 void SetdcaNegToPrimVertex(
const float& lo,
const float& hi);
85 void SetptArmV0(
const float& lo,
const float& hi);
86 void SetalphaV0(
const float& lo,
const float& hi);
87 void SetPt(
const float& lo,
const float& hi);
88 void SetRapidity(
const float& lo,
const float& hi);
89 void SetdEdx(
const float& charge,
const float& m1,
const float& c1,
const float& m2,
const float& c2);
94 float mV0MassRange[2];
95 float mdcaV0daughters[2];
96 float mdcaV0ToPrimVertex[2];
97 float mdecayLengthV0[2];
100 float mdcaPosToPrimVertex[2];
101 float mdcaNegToPrimVertex[2];
120 inline void helensV0Cut::SetV0MassRange(
const float& lo,
const float& hi) {
121 mV0MassRange[0] =lo; mV0MassRange[1]=hi;}
122 inline void helensV0Cut::SetdcaV0daughters(
const float& lo,
const float& hi)
123 {mdcaV0daughters[0]=lo; mdcaV0daughters[1]=hi;}
124 inline void helensV0Cut::SetdcaV0ToPrimVertex(
const float& lo,
const float& hi)
125 {mdcaV0ToPrimVertex[0]=lo; mdcaV0ToPrimVertex[1]=hi;}
126 inline void helensV0Cut::SetdecayLengthV0(
const float& lo,
const float& hi)
127 {mdecayLengthV0[0]=lo; mdecayLengthV0[1]=hi;}
129 inline void helensV0Cut::SettpcHitsPos(
const int& lo,
const int& hi)
130 {mtpcHitsPos[0]=lo;mtpcHitsPos[1]=hi;}
131 inline void helensV0Cut::SettpcHitsNeg(
const int& lo,
const int& hi)
132 {mtpcHitsNeg[0]=lo;mtpcHitsNeg[1]=hi;}
134 inline void helensV0Cut::SetdcaPosToPrimVertex(
const float& lo,
const float& hi)
135 {mdcaPosToPrimVertex[0]=lo; mdcaPosToPrimVertex[1]=hi;}
136 inline void helensV0Cut::SetdcaNegToPrimVertex(
const float& lo,
const float& hi)
137 {mdcaNegToPrimVertex[0]=lo; mdcaNegToPrimVertex[1]=hi;}
138 inline void helensV0Cut::SetptArmV0(
const float& lo,
const float& hi)
139 {mptArmV0[0]=lo; mptArmV0[1]=hi;}
140 inline void helensV0Cut::SetalphaV0(
const float& lo,
const float& hi)
141 {malphaV0[0]=lo; malphaV0[1]=hi;}
143 inline void helensV0Cut::SetdEdx(
const float& charge,
144 const float& m1,
const float& c1,
145 const float& m2,
const float& c2)
146 {mChargedEdx=charge;mdEdx[0]=m1; mdEdx[1]=c1; mdEdx[2]=m2; mdEdx[3]=c2;}
148 inline void helensV0Cut::SetPt(
const float& lo,
const float& hi)
149 {mPt[0]=lo; mPt[1]=hi;}
150 inline void helensV0Cut::SetRapidity(
const float& lo,
const float& hi)
151 {mRapidity[0]=lo; mRapidity[1]=hi;}
153 inline void helensV0Cut::SetV0Type(
const char* type)
154 {V0Type = (
char*)type;}