20 #ifndef franksV0Cut_hh
21 #define franksV0Cut_hh
27 #include "StHbtMaker/Base/StHbtV0Cut.h"
28 #include "StHbtMaker/Infrastructure/StHbtV0.hh"
37 virtual bool Pass(
const StHbtV0*);
39 virtual StHbtString Report();
41 void SetV0Type(
const char* type);
42 void SetV0MassRange(
const float& lo,
const float& hi);
43 void SetdcaV0daughters(
const float& lo,
const float& hi);
44 void SetdcaV0ToPrimVertex(
const float& lo,
const float& hi);
45 void SetpV0ToPrimVertexAngle(
const float& lo,
const float& hi);
46 void SetdecayLengthV0(
const float& lo,
const float& hi);
47 void SettpcHitsPos(
const int& lo,
const int& hi);
48 void SettpcHitsNeg(
const int& lo,
const int& hi);
49 void SetdcaPosToPrimVertex(
const float& lo,
const float& hi);
50 void SetdcaNegToPrimVertex(
const float& lo,
const float& hi);
51 void SetptArmV0(
const float& lo,
const float& hi);
52 void SetalphaV0(
const float& lo,
const float& hi);
53 void SetPt(
const float& lo,
const float& hi);
54 void SetRapidity(
const float& lo,
const float& hi);
63 float mV0MassRange[2];
64 float mdcaV0daughters[2];
65 float mdcaV0ToPrimVertex[2];
66 float mpV0ToPrimVertexAngle[2];
67 float mdecayLengthV0[2];
70 float mdcaPosToPrimVertex[2];
71 float mdcaNegToPrimVertex[2];
89 inline void franksV0Cut::SetV0MassRange(
const float& lo,
const float& hi) {
90 mV0MassRange[0] =lo; mV0MassRange[1]=hi;}
91 inline void franksV0Cut::SetdcaV0daughters(
const float& lo,
const float& hi)
92 {mdcaV0daughters[0]=lo; mdcaV0daughters[1]=hi;}
93 inline void franksV0Cut::SetpV0ToPrimVertexAngle(
const float& lo,
const float& hi)
94 {mpV0ToPrimVertexAngle[0]=lo; mpV0ToPrimVertexAngle[1]=hi;}
95 inline void franksV0Cut::SetdcaV0ToPrimVertex(
const float& lo,
const float& hi)
96 {mdcaV0ToPrimVertex[0]=lo; mdcaV0ToPrimVertex[1]=hi;}
97 inline void franksV0Cut::SetdecayLengthV0(
const float& lo,
const float& hi)
98 {mdecayLengthV0[0]=lo; mdecayLengthV0[1]=hi;}
100 inline void franksV0Cut::SettpcHitsPos(
const int& lo,
const int& hi)
101 {mtpcHitsPos[0]=lo;mtpcHitsPos[1]=hi;}
102 inline void franksV0Cut::SettpcHitsNeg(
const int& lo,
const int& hi)
103 {mtpcHitsNeg[0]=lo;mtpcHitsNeg[1]=hi;}
105 inline void franksV0Cut::SetdcaPosToPrimVertex(
const float& lo,
const float& hi)
106 {mdcaPosToPrimVertex[0]=lo; mdcaPosToPrimVertex[1]=hi;}
107 inline void franksV0Cut::SetdcaNegToPrimVertex(
const float& lo,
const float& hi)
108 {mdcaNegToPrimVertex[0]=lo; mdcaNegToPrimVertex[1]=hi;}
109 inline void franksV0Cut::SetptArmV0(
const float& lo,
const float& hi)
110 {mptArmV0[0]=lo; mptArmV0[1]=hi;}
111 inline void franksV0Cut::SetalphaV0(
const float& lo,
const float& hi)
112 {malphaV0[0]=lo; malphaV0[1]=hi;}
114 inline void franksV0Cut::SetPt(
const float& lo,
const float& hi)
115 {mPt[0]=lo; mPt[1]=hi;}
116 inline void franksV0Cut::SetRapidity(
const float& lo,
const float& hi)
117 {mRapidity[0]=lo; mRapidity[1]=hi;}
119 inline void franksV0Cut::SetV0Type(
const char* type)
120 {V0Type = (
char*)type;}