#include <TrackVertex.h>
Public Member Functions | |
TrackVertex (int key) | |
create a vertex with a selected key | |
TrackVertex () | |
Default Constructor. | |
virtual | ~TrackVertex () |
Default Destructor. | |
virtual const CLID & | clID () const |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the ASCII output stream. | |
const HepPoint3D & | position () const |
Retrieve const Position in LHCb reference system. | |
HepPoint3D & | position () |
Retrieve Position in LHCb reference system. | |
void | setPosition (const HepPoint3D &value) |
Update Position in LHCb reference system. | |
const HepSymMatrix & | positionErr () const |
Retrieve const Covariance matrix containing errors on vertex position. | |
HepSymMatrix & | positionErr () |
Retrieve Covariance matrix containing errors on vertex position. | |
void | setPositionErr (const HepSymMatrix &value) |
Update Covariance matrix containing errors on vertex position. | |
double | chi2 () const |
Retrieve const chi2 of the vertex fit. | |
void | setChi2 (double value) |
Update chi2 of the vertex fit. | |
int | nDoF () const |
Retrieve const Degree of freedom of the vertex fit. | |
void | setNDoF (int value) |
Update Degree of freedom of the vertex fit. | |
const SmartRefVector< Track > & | tracks () const |
Retrieve (const) Tracks this vertex was made from. | |
SmartRefVector< Track > & | tracks () |
Retrieve Tracks this vertex was made from. | |
void | setTracks (const SmartRefVector< Track > &value) |
Update Tracks this vertex was made from. | |
void | addToTracks (const SmartRef< Track > &value) |
Add to Tracks this vertex was made from. | |
void | addToTracks (const Track *value) |
Att to (pointer) Tracks this vertex was made from. | |
void | removeFromTracks (const SmartRef< Track > &value) |
Remove from Tracks this vertex was made from. | |
void | clearTracks () |
Clear Tracks this vertex was made from. | |
Static Public Member Functions | |
static const CLID & | classID () |
Private Attributes | |
HepPoint3D | m_position |
Position in LHCb reference system. | |
HepSymMatrix | m_positionErr |
Covariance matrix containing errors on vertex position. | |
double | m_chi2 |
chi2 of the vertex fit | |
int | m_nDoF |
Degree of freedom of the vertex fit. | |
SmartRefVector< Track > | m_tracks |
Tracks this vertex was made from. | |
Friends | |
std::ostream & | operator<< (std::ostream &str, const TrackVertex &obj) |
Operator overloading for stringoutput. |
Definition at line 50 of file TrackVertex.h.
|
create a vertex with a selected key
Definition at line 55 of file TrackVertex.h. References m_position, and m_positionErr. 00055 : KeyedObject<int>( key ), 00056 m_position(0.0, 00057 0.0, 00058 -1*km), 00059 m_positionErr(3, 00060 0) {}
|
|
Default Constructor.
Definition at line 63 of file TrackVertex.h. References m_chi2, m_nDoF, m_position, and m_positionErr. 00063 : m_position(0.0, 0.0, -1*km), 00064 m_positionErr(3, 0), 00065 m_chi2(0.0), 00066 m_nDoF(0) {}
|
|
Default Destructor.
Definition at line 69 of file TrackVertex.h. 00069 {}
|
|
Att to (pointer) Tracks this vertex was made from.
Definition at line 247 of file TrackVertex.h. References m_tracks. 00248 { 00249 m_tracks.push_back(value); 00250 }
|
|
Add to Tracks this vertex was made from.
Definition at line 242 of file TrackVertex.h. References m_tracks. 00243 { 00244 m_tracks.push_back(value); 00245 }
|
|
Retrieve const chi2 of the vertex fit.
Definition at line 207 of file TrackVertex.h. References m_chi2. 00208 { 00209 return m_chi2; 00210 }
|
|
Definition at line 156 of file TrackVertex.h. References CLID_TrackVertex. Referenced by clID(). 00157 { 00158 return CLID_TrackVertex; 00159 }
|
|
Clear Tracks this vertex was made from.
Definition at line 259 of file TrackVertex.h. References m_tracks. 00260 { 00261 m_tracks.clear(); 00262 }
|
|
Definition at line 151 of file TrackVertex.h. References classID(). 00152 { 00153 return TrackVertex::classID(); 00154 }
|
|
Fill the ASCII output stream.
Definition at line 167 of file TrackVertex.h. References m_chi2, m_nDoF, m_position, and m_positionErr. 00168 { 00169 s << "{ " << "position : " << m_position << std::endl 00170 << "positionErr : " << m_positionErr << std::endl 00171 << "chi2 : " << (float)m_chi2 << std::endl 00172 << "nDoF : " << m_nDoF << std::endl << " }"; 00173 return s; 00174 }
|
|
Retrieve const Degree of freedom of the vertex fit.
Definition at line 217 of file TrackVertex.h. References m_nDoF. 00218 { 00219 return m_nDoF; 00220 }
|
|
Retrieve Position in LHCb reference system.
Definition at line 182 of file TrackVertex.h. References m_position. 00183 { 00184 return m_position; 00185 }
|
|
Retrieve const Position in LHCb reference system.
Definition at line 177 of file TrackVertex.h. References m_position. 00178 { 00179 return m_position; 00180 }
|
|
Retrieve Covariance matrix containing errors on vertex position.
Definition at line 197 of file TrackVertex.h. References m_positionErr. 00198 { 00199 return m_positionErr; 00200 }
|
|
Retrieve const Covariance matrix containing errors on vertex position.
Definition at line 192 of file TrackVertex.h. References m_positionErr. 00193 { 00194 return m_positionErr; 00195 }
|
|
Remove from Tracks this vertex was made from.
Definition at line 252 of file TrackVertex.h. References m_tracks. 00253 { 00254 SmartRefVector<Track>::iterator iter = 00255 std::remove(m_tracks.begin(), m_tracks.end(), value); 00256 m_tracks.erase(iter, m_tracks.end()); 00257 }
|
|
Update chi2 of the vertex fit.
Definition at line 212 of file TrackVertex.h. References m_chi2. 00213 { 00214 m_chi2 = value; 00215 }
|
|
Update Degree of freedom of the vertex fit.
Definition at line 222 of file TrackVertex.h. References m_nDoF. 00223 { 00224 m_nDoF = value; 00225 }
|
|
Update Position in LHCb reference system.
Definition at line 187 of file TrackVertex.h. References m_position. 00188 { 00189 m_position = value; 00190 }
|
|
Update Covariance matrix containing errors on vertex position.
Definition at line 202 of file TrackVertex.h. References m_positionErr. 00203 { 00204 m_positionErr = value; 00205 }
|
|
Update Tracks this vertex was made from.
Definition at line 237 of file TrackVertex.h. References m_tracks. 00238 { 00239 m_tracks = value; 00240 }
|
|
Retrieve Tracks this vertex was made from.
Definition at line 232 of file TrackVertex.h. References m_tracks. 00233 { 00234 return m_tracks; 00235 }
|
|
Retrieve (const) Tracks this vertex was made from.
Definition at line 227 of file TrackVertex.h. References m_tracks. 00228 { 00229 return m_tracks; 00230 }
|
|
Operator overloading for stringoutput.
Definition at line 161 of file TrackVertex.h. 00163 { 00164 return obj.fillStream(str); 00165 }
|
|
chi2 of the vertex fit
Definition at line 139 of file TrackVertex.h. Referenced by chi2(), fillStream(), setChi2(), and TrackVertex(). |
|
Degree of freedom of the vertex fit.
Definition at line 140 of file TrackVertex.h. Referenced by fillStream(), nDoF(), setNDoF(), and TrackVertex(). |
|
Position in LHCb reference system.
Definition at line 137 of file TrackVertex.h. Referenced by fillStream(), position(), setPosition(), and TrackVertex(). |
|
Covariance matrix containing errors on vertex position.
Definition at line 138 of file TrackVertex.h. Referenced by fillStream(), positionErr(), setPositionErr(), and TrackVertex(). |
|
Tracks this vertex was made from.
Definition at line 141 of file TrackVertex.h. Referenced by addToTracks(), clearTracks(), removeFromTracks(), setTracks(), and tracks(). |