55 #ifndef helensLaPV0Cut_hh
56 #define helensLaPV0Cut_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 helensLaPV0Cut::SetV0MassRange(
const float& lo,
const float& hi) {
121 mV0MassRange[0] =lo; mV0MassRange[1]=hi;}
122 inline void helensLaPV0Cut::SetdcaV0daughters(
const float& lo,
const float& hi)
123 {mdcaV0daughters[0]=lo; mdcaV0daughters[1]=hi;}
124 inline void helensLaPV0Cut::SetdcaV0ToPrimVertex(
const float& lo,
const float& hi)
125 {mdcaV0ToPrimVertex[0]=lo; mdcaV0ToPrimVertex[1]=hi;}
126 inline void helensLaPV0Cut::SetdecayLengthV0(
const float& lo,
const float& hi)
127 {mdecayLengthV0[0]=lo; mdecayLengthV0[1]=hi;}
129 inline void helensLaPV0Cut::SettpcHitsPos(
const int& lo,
const int& hi)
130 {mtpcHitsPos[0]=lo;mtpcHitsPos[1]=hi;}
131 inline void helensLaPV0Cut::SettpcHitsNeg(
const int& lo,
const int& hi)
132 {mtpcHitsNeg[0]=lo;mtpcHitsNeg[1]=hi;}
134 inline void helensLaPV0Cut::SetdcaPosToPrimVertex(
const float& lo,
const float& hi)
135 {mdcaPosToPrimVertex[0]=lo; mdcaPosToPrimVertex[1]=hi;}
136 inline void helensLaPV0Cut::SetdcaNegToPrimVertex(
const float& lo,
const float& hi)
137 {mdcaNegToPrimVertex[0]=lo; mdcaNegToPrimVertex[1]=hi;}
138 inline void helensLaPV0Cut::SetptArmV0(
const float& lo,
const float& hi)
139 {mptArmV0[0]=lo; mptArmV0[1]=hi;}
140 inline void helensLaPV0Cut::SetalphaV0(
const float& lo,
const float& hi)
141 {malphaV0[0]=lo; malphaV0[1]=hi;}
143 inline void helensLaPV0Cut::SetdEdx(
const float& charge,
const float& m1,
const float& c1,
144 const float& m2,
const float& c2)
145 {mChargedEdx=charge;mdEdx[0]=m1; mdEdx[1]=c1; mdEdx[2]=m2; mdEdx[3]=c2;}
147 inline void helensLaPV0Cut::SetPt(
const float& lo,
const float& hi)
148 {mPt[0]=lo; mPt[1]=hi;}
149 inline void helensLaPV0Cut::SetRapidity(
const float& lo,
const float& hi)
150 {mRapidity[0]=lo; mRapidity[1]=hi;}
152 inline void helensLaPV0Cut::SetV0Type(
const char* type)
153 {V0Type = (
char*)type;}