Implementation of Vertex Class. More...
#include <IMPL/VertexImpl.h>
Public Member Functions | |
VertexImpl () | |
Default constructor, initializes values to 0. | |
virtual int | id () const |
Returns an object id for internal (debugging) use in LCIO. | |
virtual bool | isPrimary () const |
Checks if the Vertex is the primary vertex of the event. More... | |
virtual const std::string & | getAlgorithmType () const |
Type code for the algorithm that has been used to create the vertex - check/set the collection parameters AlgorithmName and AlgorithmType. | |
virtual float | getChi2 () const |
Chi squared of the vertex fit. | |
virtual float | getProbability () const |
Probability of the vertex fit. | |
virtual const float * | getPosition () const |
Position of the vertex. | |
virtual const EVENT::FloatVec & | getCovMatrix () const |
Covariance matrix of the position (stored as lower triangle matrix, i.e. More... | |
virtual const EVENT::FloatVec & | getParameters () const |
Additional parameters related to this vertex - check/set the collection parameter "VertexParameterNames" for the parameters' meaning. | |
virtual EVENT::ReconstructedParticle * | getAssociatedParticle () const |
Returns Reconstructed Particle associated to the Vertex. | |
void | setPrimary (bool primary) |
void | setAlgorithmType (std::string type) |
void | setChi2 (float chi2) |
void | setProbability (float probability) |
void | setPosition (const float vpos[3]) |
void | setPosition (float px, float py, float pz) |
void | setCovMatrix (const float *cov) |
void | setCovMatrix (const EVENT::FloatVec &) |
void | setAssociatedParticle (EVENT::ReconstructedParticle *aP) |
void | addParameter (float p) |
![]() | |
virtual | ~Vertex () |
Destructor. | |
![]() | |
virtual | ~LCObject () |
Destructor. | |
virtual LCObject * | clone () const |
Returns an object id for internal (debugging) use in LCIO. More... | |
![]() | |
template<class V > | |
V::ext_type | ext () |
Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,... | |
template<class V > | |
const V::ext_type | ext () const |
template<class V > | |
V::rel_type | rel () |
Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation. | |
![]() | |
virtual int | simpleUID () const |
Protected Attributes | |
int | _primary |
std::string | _type |
float | _chi2 |
float | _probability |
float | _vpos [3] |
EVENT::FloatVec | _cov |
EVENT::FloatVec | _par |
EVENT::ReconstructedParticle * | _aParticle |
![]() | |
bool | _readOnly |
int | _id |
Additional Inherited Members | |
![]() | |
typedef Vertex | lcobject_type |
Useful typedef for template programming with LCIO. | |
![]() | |
template<class V > | |
V::ptr & | ptr () const |
Returns the reference to the pointer to the extension/relation object. | |
![]() | |
virtual void | setReadOnly (bool readOnly) |
void | checkAccess () throw ( EVENT::ReadOnlyException ) |
void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
Implementation of Vertex Class.
|
virtual |
Covariance matrix of the position (stored as lower triangle matrix, i.e.
cov(xx),cov(y,x),cov(y,y) ).
Implements EVENT::Vertex.
|
virtual |
Checks if the Vertex is the primary vertex of the event.
Only one primary vertex per event is allowed
Implements EVENT::Vertex.