|
ATLAS Offline Software
|
Go to the documentation of this file.
17 (
const std::string&
type,
18 const std::string&
name,
35 return StatusCode::SUCCESS;
48 return StatusCode::SUCCESS;
61 return StatusCode::SUCCESS;
76 if (
m_itrack >= tracks->size())
return 0;
82 REPORT_MESSAGE (MSG::WARNING) <<
"Trying to associate a TrackParticle to a vertex"
83 <<
" while the vertex was not fitted using TrackParticles";
88 if(0 == particle_base){
89 REPORT_MESSAGE (MSG::WARNING) <<
"link from VxCandidate to TrackParticle is broken";
96 REPORT_MESSAGE (MSG::WARNING) <<
"dynamic cast from Trk::TrackParticleBase to Rec::TrackPArticle failed";
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
size_t nTrackParticles() const
Get the number of tracks associated with this vertex.
The VxTrackAtVertex is a common class for all present TrkVertexFitters The VxTrackAtVertex is designe...
virtual StatusCode book() final
Book variables for this block.
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
VertexTrackParticleAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Block filler tool for noisy FEB information.
std::vector< Trk::VxTrackAtVertex * > * vxTrackAtVertex(void)
Unconst pointer to the vector of tracks Required by some of the vertex fitters.
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
virtual StatusCode reset(const Trk::VxCandidate &p) override
Start the iteration for a new association.
const TrackParticle * trackParticle(size_t i) const
Get the pointer to a given track that was used in vertex reco.
const xAOD::Vertex * m_xaod_vx
const Trk::VxCandidate * m_aod_vx
Helpers for checking error return status codes and reporting errors.
float trackWeight(size_t i) const
Get the weight of a given track in the vertex reconstruction.
#define REPORT_MESSAGE(LVL)
Report a message.
Class describing a Vertex.
float * m_weight
Variable: Track weight.
Class describing a TrackParticle.