00001 // -*- C++ -*- 00002 // AID-GENERATED 00003 // ========================================================================= 00004 // This class was generated by AID - Abstract Interface Definition 00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 00006 // ========================================================================= 00007 #ifndef EVENT_VERTEX_H 00008 #define EVENT_VERTEX_H 1 00009 00010 #include <string> 00011 00012 #include "EVENT/LCObject.h" 00013 #include "LCIOSTLTypes.h" 00014 #include "empty_ignore.h" 00015 00016 namespace EVENT { 00017 00018 class ReconstructedParticle; 00019 00020 00021 class Vertex ; 00022 /**Vector of (pointers to) Vertices.*/ 00023 typedef std::vector<Vertex*> VertexVec ; 00024 /** The Vertex class for LCIO. 00025 * <p>UNDER DEVELOPMENT!</p> 00026 * see: <a href="http://forum.linearcollider.org/index.php?t=tree&goto=473">here</a><br> 00027 * 00028 * <p>UNDER DEVELOPMENT!</p> 00029 * 00030 * @author gaede, engels 00031 * @version $Id: Vertex.aid,v 1.3 2006/09/21 06:10:36 gaede Exp $ 00032 */ 00033 00034 class Vertex : public LCObject { 00035 00036 public: 00037 /// Destructor. 00038 virtual ~Vertex() { /* nop */; } 00039 00040 00041 /** Useful typedef for template programming with LCIO */ 00042 typedef Vertex lcobject_type ; 00043 /** Checks if the Vertex is the primary vertex of the event. 00044 * Only one primary vertex per event is allowed 00045 */ 00046 virtual bool isPrimary() const = 0; 00047 00048 /** Type code for the algorithm that has been used to create the vertex - check/set the 00049 * collection parameters AlgorithmName and AlgorithmType. 00050 */ 00051 //public int getAlgorithmType() const ; 00052 virtual const std::string & getAlgorithmType() const = 0; 00053 00054 /** Chi squared of the vertex fit. 00055 */ 00056 virtual float getChi2() const = 0; 00057 00058 /** Probability of the vertex fit. 00059 */ 00060 virtual float getProbability() const = 0; 00061 00062 /** Position of the vertex 00063 */ 00064 virtual const float* getPosition() const = 0; 00065 00066 /** Covariance matrix of the position (stored as lower triangle matrix, i.e. 00067 * cov(xx),cov(y,x),cov(y,y) ). 00068 */ 00069 virtual const FloatVec & getCovMatrix() const = 0; 00070 00071 /** Additional parameters related to this vertex - check/set the collection 00072 * parameter "VertexParameterNames" for the parameters' meaning. 00073 */ 00074 virtual const FloatVec & getParameters() const = 0; 00075 00076 /** Returns Reconstructed Particle associated to the Vertex 00077 */ 00078 virtual ReconstructedParticle * getAssociatedParticle() const = 0; 00079 }; // class 00080 } // namespace EVENT 00081 #endif /* ifndef EVENT_VERTEX_H */
1.3.9.1