00001 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00002 // 27.07.2007, AUTHOR: OLIVER KORTNER 00003 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00004 00005 //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00006 //:: IMPLEMENTATION OF INLINE METHODS DEFINED IN THE CLASS MyVertex :: 00007 //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00008 00009 //***************************************************************************** 00010 00011 //::::::::::::::::: 00012 //:: METHOD init :: 00013 //::::::::::::::::: 00014 00015 inline void MyVertex::init(const TVector3 & position, 00016 const TVector3 & position_error, 00017 const double & chi2, const unsigned int & ndof, 00018 const unsigned int & ind, const double & E_t, 00019 const unsigned int & nb_tracks) { 00020 00021 m_position = position; 00022 m_position_error = position_error; 00023 m_chi2 = chi2; 00024 m_ndof = ndof; 00025 m_index = ind; 00026 m_Et = E_t; 00027 m_nb_tracks = nb_tracks; 00028 00029 return; 00030 00031 } 00032 00033 //***************************************************************************** 00034 00035 //::::::::::::::::::::: 00036 //:: METHOD position :: 00037 //::::::::::::::::::::: 00038 00039 inline TVector3 MyVertex::position(void) const { 00040 00041 return m_position; 00042 00043 } 00044 00045 //***************************************************************************** 00046 00047 //:::::::::::::::::::::::::: 00048 //:: METHOD positionError :: 00049 //:::::::::::::::::::::::::: 00050 00051 inline TVector3 MyVertex::positionError(void) const { 00052 00053 return m_position_error; 00054 00055 } 00056 00057 //***************************************************************************** 00058 00059 //::::::::::::::::: 00060 //:: METHOD chi2 :: 00061 //::::::::::::::::: 00062 00063 inline double MyVertex::chi2(void) const { 00064 00065 return m_chi2; 00066 00067 } 00068 00069 //***************************************************************************** 00070 00071 //::::::::::::::::::::::::::::::::::::: 00072 //:: METHOD numberOfDegressOfFreedom :: 00073 //::::::::::::::::::::::::::::::::::::: 00074 00075 inline unsigned int MyVertex::numberOfDegressOfFreedom(void) const { 00076 00077 return m_ndof; 00078 00079 } 00080 00081 //***************************************************************************** 00082 00083 //:::::::::::::::::: 00084 //:: METHOD index :: 00085 //:::::::::::::::::: 00086 00087 inline int MyVertex::index(void) const { 00088 00089 return m_index; 00090 00091 } 00092 00093 //***************************************************************************** 00094 00095 //::::::::::::::: 00096 //:: METHOD Et :: 00097 //::::::::::::::: 00098 00099 inline double MyVertex::Et(void) const { 00100 00101 return m_Et; 00102 00103 } 00104 00105 //***************************************************************************** 00106 00107 //::::::::::::::::::::::::::: 00108 //:: METHOD numberOfTracks :: 00109 //::::::::::::::::::::::::::: 00110 00111 inline unsigned int MyVertex::numberOfTracks(void) const { 00112 00113 return m_nb_tracks; 00114 00115 }