62#ifndef XAOD_BPHYSHYPOHELPER_H
63#define XAOD_BPHYSHYPOHELPER_H
115 bool setMass (
const float val);
125 bool setMass(std::span<const double> trkMasses);
167 bool setTau(
const float val,
: B-physics xAOD helpers.
A set of aux data identifiers.
pv_type
: Enum type of the PV
BPhysHelper(const xAOD::Vertex *b)
: Main constructor
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
BPhysHypoHelper(const std::string &hypo, const xAOD::Vertex *b, SG::auxid_set_t *decors=nullptr)
: Main constructor
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Vertex_v1 Vertex
Define the latest version of the vertex class.