 |
ATLAS Offline Software
|
Go to the documentation of this file.
27 const IInterface*
p) :
29 m_v0Tools(
"Trk::V0Tools")
37 declareProperty(
"HypothesisName" ,
m_hypoName =
"A");
41 declareProperty(
"MassMax" ,
m_massMax = 6000);
42 declareProperty(
"MassMin" ,
m_massMin = 2000);
43 declareProperty(
"Chi2Max" ,
m_chi2Max = 200);
45 declareProperty(
"LxyMin" ,
m_lxyMin = std::numeric_limits<double>::lowest());
46 declareProperty(
"Do3d" ,
m_do3d =
false);
61 return StatusCode::SUCCESS;
68 constexpr
float errConst = -9999999;
143 for(; oniaItr!=oniaContainer->
end(); ++oniaItr) {
146 if((*oniaItr)->nTrackParticles() !=
m_trkMasses.size())
196 onia_nc->lockDecoration (auxid);
200 return StatusCode::SUCCESS;
StatusCode initialize() override
inirialization and finalization
bool setMass(const float val)
Set given invariant mass and its error.
virtual StatusCode addBranches() const override
: augmentation and selection Retrieved vertices are augmented with usual information.
Const iterator class for DataVector/DataList.
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
const_pointer_type cptr()
Dereference the pointer.
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
void ProcessVertex(xAOD::BPhysHypoHelper &, xAOD::BPhysHelper::pv_type) const
double m_chi2Max
max chi2 cut
std::vector< double > m_trkMasses
track mass hypotheses
constexpr double muonMassInMeV
the mass of the muon (in MeV)
ToolHandle< Trk::V0Tools > m_v0Tools
tools
double m_massMax
invariant mass range
double m_massHypo
vertex mass hypothesis
size_t auxid_t
Identifier for a particular aux data item.
#define BPHYS_CHECK(EXP)
Useful CHECK macro.
float mass() const
Get invariant mass and its error.
pv_type
: Enum type of the PV
bool setPass(bool passVal)
get the pass flag for this hypothesis
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string m_hypoName
job options
: B-physics xAOD helpers.
#define CHECK(...)
Evaluate an expression and check for errors.
SG::ReadHandleKey< xAOD::VertexContainer > m_inputVtxContainerName
name of the input container name
constexpr double JpsiMassInMeV
double m_massMin
invariant mass range
bool setTau3d(const float val, const pv_type vertexType=BPhysHelper::PV_MIN_A0, const tau_type tauType=BPhysHypoHelper::TAU_CONST_MASS)
proper decay time
const xAOD::Vertex * vtx() const
Getter method for the cached xAOD::Vertex.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
float lxy(const pv_type vertexType=BPhysHelper::PV_MIN_A0)
Get the transverse decay distance and its error measured between the refitted primary vertex of type ...
float chiSquared() const
Returns the of the vertex fit as float.
Class describing a Vertex.
#define ATH_MSG_WARNING(x)
const xAOD::Vertex * pv(const pv_type vertexType=BPhysHelper::PV_MIN_A0)
Get the refitted collision vertex of type pv_type.
int m_DoVertexType
Allows user to skip certain vertexes - bitwise test 7==all(111)
double m_lxyMin
min lxy cut
A set of aux data identifiers.
#define ATLAS_THREAD_SAFE
Select_onia2mumu(const std::string &t, const std::string &n, const IInterface *p)
Define macros for attributes used to control the static checker.
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
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.