LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Protected Attributes | List of all members
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

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::FloatVecgetCovMatrix () const
 Covariance matrix of the position (stored as lower triangle matrix, i.e. More...
 
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)
 
- Public Member Functions inherited from EVENT::Vertex
virtual ~Vertex ()
 Destructor.
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor.
 
virtual LCObjectclone () const
 Returns an object id for internal (debugging) use in LCIO. More...
 
- Public Member Functions inherited from lcrtrel::LCRTRelations
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.
 
- Public Member Functions inherited from IMPL::AccessChecked
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
 
- Protected Attributes inherited from IMPL::AccessChecked
bool _readOnly
 
int _id
 

Additional Inherited Members

- Public Types inherited from EVENT::Vertex
typedef Vertex lcobject_type
 Useful typedef for template programming with LCIO.
 
- Protected Member Functions inherited from lcrtrel::LCRTRelations
template<class V >
V::ptr & ptr () const
 Returns the reference to the pointer to the extension/relation object.
 
- Protected Member Functions inherited from IMPL::AccessChecked
virtual void setReadOnly (bool readOnly)
 
void checkAccess () throw ( EVENT::ReadOnlyException )
 
void checkAccess (const char *what) throw ( EVENT::ReadOnlyException )
 

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: