IMPL::VertexImpl Class Reference

Implementation of Vertex Class. More...

#include <IMPL/VertexImpl.h>

Inheritance diagram for IMPL::VertexImpl:
EVENT::Vertex IMPL::AccessChecked EVENT::LCObject lcrtrel::LCRTRelations IOIMPL::VertexIOImpl

List of all members.

Public Member Functions

 VertexImpl ()
 Default constructor, initializes values to 0.
 VertexImpl (const VertexImpl &)
 default copy constructor - use with care
VertexImploperator= (const VertexImpl &)
 default assignment operator - use with care
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.
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::FloatVecgetCovMatrix () const
 Covariance matrix of the position (stored as lower triangle matrix, i.e.
virtual const EVENT::FloatVecgetParameters () 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)

Protected Attributes

int _primary
std::string _type
float _chi2
float _probability
float _vpos [3] = {0,0,0}
EVENT::FloatVec _cov
EVENT::FloatVec _par
EVENT::ReconstructedParticle_aParticle

Detailed Description

Implementation of Vertex Class.

See also:
Vertex
Author:
gaede, engels
Version:
Aug 09, 2006

Member Function Documentation

const EVENT::FloatVec & IMPL::VertexImpl::getCovMatrix (  )  const [virtual]

Covariance matrix of the position (stored as lower triangle matrix, i.e.

cov(xx),cov(y,x),cov(y,y) ).

Implements EVENT::Vertex.

bool IMPL::VertexImpl::isPrimary (  )  const [virtual]

Checks if the Vertex is the primary vertex of the event.

Only one primary vertex per event is allowed

Implements EVENT::Vertex.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Friends

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1