00001
00002
00003
00004
00005 #ifndef MPIHiggsAnalysis_VertexH
00006 #define MPIHiggsAnalysis_VertexH
00007
00008
00009
00010
00011
00021
00022
00023
00024
00025
00026
00027 #include "CLHEP/Vector/ThreeVector.h"
00028
00029 namespace MPIHiggsAnalysis {
00030
00031 class Vertex {
00032
00033 public:
00034
00035 Vertex(void);
00037
00038 Vertex(const Hep3Vector & pos, const Hep3Vector & pos_err,
00039 const double & chisqu, const unsigned int & ndof,
00040 const double & E_T, const unsigned int & nb_tracks);
00049
00050
00051 const Hep3Vector & position(void) const;
00053 const Hep3Vector & positionError(void) const;
00056 double chi2(void) const;
00058 unsigned int numberOfDegreesOfFreedom(void) const;
00061 double Et(void) const;
00065 unsigned int numberOfTracks(void) const;
00068 bool operator < (const Vertex & vertex) const;
00071 bool operator > (const Vertex & vertex) const;
00074 bool operator <= (const Vertex & vertex) const;
00077 bool operator >= (const Vertex & vertex) const;
00080
00081 private:
00082 Hep3Vector m_pos;
00083 Hep3Vector m_pos_err;
00084 double m_chi2;
00085 unsigned int m_ndof;
00086 double m_Et;
00087
00088 unsigned int m_nb_tracks;
00089
00090 };
00091
00092 }
00093
00094 #endif