2 #ifndef IMPL_VERTEXIMPL_H
3 #define IMPL_VERTEXIMPL_H 1
6 #include "EVENT/Vertex.h"
7 #include "AccessChecked.h"
33 virtual int id()
const {
return simpleUID() ; }
73 void setPrimary(
bool primary ) ;
75 void setAlgorithmType( std::string type ) ;
76 void setChi2(
float chi2 ) ;
77 void setProbability(
float probability ) ;
78 void setPosition(
const float vpos[3] ) ;
79 void setPosition(
float px,
float py,
float pz ) ;
80 void setCovMatrix(
const float* cov ) ;
83 void addParameter(
float p );
The Vertex class for LCIO.
Definition: Vertex.h:34
virtual EVENT::ReconstructedParticle * getAssociatedParticle() const
Returns Reconstructed Particle associated to the Vertex.
Definition: VertexImpl.cc:32
virtual int id() const
Returns an object id for internal (debugging) use in LCIO.
Definition: VertexImpl.h:33
std::vector< float > FloatVec
Vector of floats.
Definition: LCIOSTLTypes.h:18
virtual const EVENT::FloatVec & getParameters() const
Additional parameters related to this vertex - check/set the collection parameter "VertexParameterNa...
Definition: VertexImpl.cc:31
virtual const EVENT::FloatVec & getCovMatrix() const
Covariance matrix of the position (stored as lower triangle matrix, i.e.
Definition: VertexImpl.cc:30
virtual bool isPrimary() const
Checks if the Vertex is the primary vertex of the event.
Definition: VertexImpl.cc:24
virtual const std::string & getAlgorithmType() const
Type code for the algorithm that has been used to create the vertex - check/set the collection parame...
Definition: VertexImpl.cc:26
The LCIO reconstructedParticle.
Definition: ReconstructedParticle.h:35
virtual float getProbability() const
Probability of the vertex fit.
Definition: VertexImpl.cc:28
VertexImpl()
Default constructor, initializes values to 0.
Definition: VertexImpl.cc:8
Implementation of Vertex Class.
Definition: VertexImpl.h:21
virtual float getChi2() const
Chi squared of the vertex fit.
Definition: VertexImpl.cc:27
Controls access to objects.
Definition: AccessChecked.h:17
virtual const float * getPosition() const
Position of the vertex.
Definition: VertexImpl.cc:29