LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Vertex.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef EVENT_VERTEX_H
8 #define EVENT_VERTEX_H 1
9 
10 #include <string>
11 
12 #include "EVENT/LCObject.h"
13 #include "LCIOSTLTypes.h"
14 #include "empty_ignore.h"
15 
16 namespace EVENT {
17 
18 class ReconstructedParticle;
19 
20 
21 class Vertex ;
23 typedef std::vector<Vertex*> VertexVec ;
34 class Vertex : public LCObject {
35 
36 public:
38  virtual ~Vertex() { /* nop */; }
39 
40 
46  virtual bool isPrimary() const = 0;
47 
51  //public int getAlgorithmType() const ;
52  virtual const std::string & getAlgorithmType() const = 0;
53 
56  virtual float getChi2() const = 0;
57 
60  virtual float getProbability() const = 0;
61 
64  virtual const float* getPosition() const = 0;
65 
69  virtual const FloatVec & getCovMatrix() const = 0;
70 
74  virtual const FloatVec & getParameters() const = 0;
75 
78  virtual ReconstructedParticle * getAssociatedParticle() const = 0;
79 }; // class
80 } // namespace EVENT
81 #endif /* ifndef EVENT_VERTEX_H */
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
virtual float getChi2() const =0
Chi squared of the vertex fit.
virtual const FloatVec & getParameters() const =0
Additional parameters related to this vertex - check/set the collection parameter "VertexParameterNa...
The Vertex class for LCIO.
Definition: Vertex.h:34
std::vector< Vertex * > VertexVec
Vector of (pointers to) Vertices.
Definition: Vertex.h:21
virtual bool isPrimary() const =0
Checks if the Vertex is the primary vertex of the event.
std::vector< float > FloatVec
Vector of floats.
Definition: LCIOSTLTypes.h:18
virtual ~Vertex()
Destructor.
Definition: Vertex.h:38
virtual const FloatVec & getCovMatrix() const =0
Covariance matrix of the position (stored as lower triangle matrix, i.e.
virtual const std::string & getAlgorithmType() const =0
Type code for the algorithm that has been used to create the vertex - check/set the collection parame...
The LCIO reconstructedParticle.
Definition: ReconstructedParticle.h:35
virtual const float * getPosition() const =0
Position of the vertex.
virtual ReconstructedParticle * getAssociatedParticle() const =0
Returns Reconstructed Particle associated to the Vertex.
virtual float getProbability() const =0
Probability of the vertex fit.
Vertex lcobject_type
Useful typedef for template programming with LCIO.
Definition: Vertex.h:42