25 return floatAcc(*
m_b);
65 TLorentzVector
P =
totalP(trkMasses);
66 if(
P == TLorentzVector(0,0,0,0) )
80 default:
return -9999999.;
87 default:
return -9999999.;
94 default:
return -9999999.;
101 default:
return -9999999.;
104 default:
return -9999999.;
115 default:
return -9999999.;
122 default:
return -9999999.;
129 default:
return -9999999.;
136 default:
return -9999999.;
139 default:
return -9999999.;
150 default:
return false;
157 default:
return false;
164 default:
return false;
171 default:
return false;
174 default:
return false;
186 default:
return false;
193 default:
return false;
200 default:
return false;
207 default:
return false;
210 default:
return false;
223 default:
return -9999999.;
230 default:
return -9999999.;
237 default:
return -9999999.;
244 default:
return -9999999.;
247 default:
return -9999999.;
258 default:
return -9999999.;
265 default:
return -9999999.;
272 default:
return -9999999.;
279 default:
return -9999999.;
282 default:
return -9999999.;
293 default:
return false;
300 default:
return false;
307 default:
return false;
314 default:
return false;
317 default:
return false;
329 default:
return false;
336 default:
return false;
343 default:
return false;
350 default:
return false;
353 default:
return false;
370 flagDec(*
m_b) = passVal;
: B-physics xAOD helpers.
Helper class to provide constant type-safe access to aux data.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
Helper class to provide type-safe access to aux data.
SG::auxid_t auxid() const
Return the aux id for this variable.
const xAOD::Vertex * m_b
Cached B decay xAOD vertex.
pv_type
: Enum type of the PV
TVector3 totalP()
: Returns total 3-momentum calculated from the refitted tracks
bool setTau3d(const float val, const pv_type vertexType=BPhysHelper::PV_MIN_A0, const tau_type tauType=BPhysHypoHelper::TAU_CONST_MASS)
proper decay time
SG::auxid_set_t * m_decors
set of decorations that we're written
bool set_float(const std::string &name, float val)
float tauErr(const pv_type vertexType=BPhysHelper::PV_MIN_A0, const tau_type tauType=BPhysHypoHelper::TAU_CONST_MASS)
proper decay time error
bool setTau3dErr(const float val, const pv_type vertexType=BPhysHelper::PV_MIN_A0, const tau_type tauType=BPhysHypoHelper::TAU_CONST_MASS)
proper decay time error
float mass() const
Get invariant mass and its error.
std::string m_hypo
name of the mass hypothesis
bool setMass(const float val)
Set given invariant mass and its error.
float get_float(const std::string &name) const
float tau3dErr(const pv_type vertexType=BPhysHelper::PV_MIN_A0, const tau_type tauType=BPhysHypoHelper::TAU_CONST_MASS)
proper decay time error
float massErr() const
invariant mass error
bool setPass(bool passVal)
get the pass flag for this hypothesis
tau_type
: Enum type the proper decay time calculationTAU_CONST_MASS the proper decay time calculated with the...
float tau(const pv_type vertexType=BPhysHelper::PV_MIN_A0, const tau_type tauType=BPhysHypoHelper::TAU_CONST_MASS)
: Get the proper decay time and error.
bool setTau(const float val, const pv_type vertexType=BPhysHelper::PV_MIN_A0, const tau_type tauType=BPhysHypoHelper::TAU_CONST_MASS)
: Set the proper decay time and error.
bool setMassErr(const float val)
invariant mass error
bool pass() const
get the pass flag for this hypothesis
bool setTauErr(const float val, const pv_type vertexType=BPhysHelper::PV_MIN_A0, const tau_type tauType=BPhysHypoHelper::TAU_CONST_MASS)
proper decay time error
float tau3d(const pv_type vertexType=BPhysHelper::PV_MIN_A0, const tau_type tauType=BPhysHypoHelper::TAU_CONST_MASS)
proper decay time