Trk::RecVertex inherits from Trk::Vertex.
More...
#include <RecVertex.h>
|
| | RecVertex () |
| | Default constructor, if called initializes a RecVertex with all data members set to 0.
|
| | RecVertex (const Vertex &pos) |
| | Constructor from a Vertex class.
|
| | RecVertex (const Amg::Vector3D &pos, const AmgSymMatrix(3) &cov, const double ndf=0., const double chi2=0.) |
| | Constructs a RecVertex with position, covariance, ndf, dhi2 and ntrk.
|
| | RecVertex (const Amg::Vector3D &pos, const double ndf=0., const double chi2=0.) |
| | Constructs a RecVertex with position, default covariance, ndf, dhi2 and ntrk.
|
| | RecVertex (const RecVertex &)=default |
| | Copy constructor and assignement operator.
|
| RecVertex & | operator= (const RecVertex &)=default |
| | RecVertex (RecVertex &&)=default |
| | Move constructor and assignment operator.
|
| RecVertex & | operator= (RecVertex &&)=default |
| virtual MsgStream & | dump (MsgStream &sl) const |
| | Output Method for MsgStream, to be overloaded by child classes.
|
| virtual std::ostream & | dump (std::ostream &sl) const |
| | Output Method for std::ostream, to be overloaded by child classes.
|
| virtual | ~RecVertex () |
| | Destructor.
|
| const | AmgSymMatrix (3) &covariancePosition() const |
| | Weight and covariance matrix access method.
|
| const Trk::FitQuality & | fitQuality () const |
| | Fit quality access method.
|
| void | scaleError (float factor) |
| | Error scaling method.
|
| const Amg::Vector3D & | position () const |
| | return position of vertex
|
|
| | AmgSymMatrix (3) m_positionCovariance |
| | covariance matrix on vertex position
|
Trk::RecVertex inherits from Trk::Vertex.
begin : Autumn 2003
changes : 11.02.04 added docu
changes : 9/2/06 Giacinto Piacquadio - added support for non integer ndf < #Tracks * 5 - 3
changes : 05/12/06 Kiril.nosp@m.l.Pr.nosp@m.okofi.nosp@m.ev@c.nosp@m.ern.c.nosp@m.h - EDN cleanup and change to the FitQuality
In addition to the vertex position, defined in Vertex class, it contains its error matrix, which can be retrieved as covariance or weight matrix, and well as fit quality (in for of chi2 and ndf).
- Authors
- Andreas Wildauer (CERN PH-ATC) andre.nosp@m.as.w.nosp@m.ildau.nosp@m.er@c.nosp@m.ern.c.nosp@m.h, Kiril.nosp@m.l.Pr.nosp@m.okofi.nosp@m.ev@c.nosp@m.ern.c.nosp@m.h, Giacinto Piacquadio
Definition at line 43 of file RecVertex.h.
◆ RecVertex() [1/6]
| Trk::RecVertex::RecVertex |
( |
| ) |
|
Default constructor, if called initializes a RecVertex with all data members set to 0.
Definition at line 23 of file RecVertex.cxx.
23 :
Trk::FitQuality m_fitQuality
Vertex()
Contructors: default, copy and a constructor taking a vertex position (Amg::Vector3D) as argument.
◆ RecVertex() [2/6]
| Trk::RecVertex::RecVertex |
( |
const Vertex & | pos | ) |
|
Constructor from a Vertex class.
ErrorMatrix will be 0,0,0.
Definition at line 26 of file RecVertex.cxx.
26 :
28 m_positionCovariance(3,3),
30 {
31 m_positionCovariance.setZero();
32 }
◆ RecVertex() [3/6]
| Trk::RecVertex::RecVertex |
( |
const Amg::Vector3D & | pos, |
|
|
const AmgSymMatrix(3) & | cov, |
|
|
const double | ndf = 0., |
|
|
const double | chi2 = 0. ) |
Constructs a RecVertex with position, covariance, ndf, dhi2 and ntrk.
Definition at line 34 of file RecVertex.cxx.
35 :
37 {}
double chi2(TH1 *h0, TH1 *h1)
◆ RecVertex() [4/6]
| Trk::RecVertex::RecVertex |
( |
const Amg::Vector3D & | pos, |
|
|
const double | ndf = 0., |
|
|
const double | chi2 = 0. ) |
Constructs a RecVertex with position, default covariance, ndf, dhi2 and ntrk.
Definition at line 39 of file RecVertex.cxx.
39 :
40 Vertex(pos), m_positionCovariance(3,3),
42 {
43 m_positionCovariance.setZero();
44 }
◆ RecVertex() [5/6]
| Trk::RecVertex::RecVertex |
( |
const RecVertex & | | ) |
|
|
default |
Copy constructor and assignement operator.
◆ RecVertex() [6/6]
Move constructor and assignment operator.
◆ ~RecVertex()
| Trk::RecVertex::~RecVertex |
( |
| ) |
|
|
virtualdefault |
◆ AmgSymMatrix() [1/2]
| const Trk::RecVertex::AmgSymMatrix |
( |
3 | | ) |
const & |
Weight and covariance matrix access method.
return the covDeltaV matrix of the vertex fit
◆ AmgSymMatrix() [2/2]
| Trk::RecVertex::AmgSymMatrix |
( |
3 | | ) |
|
|
private |
covariance matrix on vertex position
◆ dump() [1/2]
| MsgStream & Trk::RecVertex::dump |
( |
MsgStream & | sl | ) |
const |
|
virtual |
Output Method for MsgStream, to be overloaded by child classes.
Reimplemented from Trk::Vertex.
Definition at line 46 of file RecVertex.cxx.
46 {
47 sl << "Trk::RecVertex: " << std::endl;
48 Vertex::dump(sl);
51 return sl;
52 }
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
◆ dump() [2/2]
| std::ostream & Trk::RecVertex::dump |
( |
std::ostream & | sl | ) |
const |
|
virtual |
Output Method for std::ostream, to be overloaded by child classes.
Reimplemented from Trk::Vertex.
Definition at line 54 of file RecVertex.cxx.
54 {
55 sl << "Trk::RecVertex: " << std::endl;
56 Vertex::dump(sl);
59 return sl;
60 }
◆ fitQuality()
◆ numberOfInstantiations()
Definition at line 25 of file TrkObjectCounter.h.
26 {
27#ifndef NDEBUG
29#endif
30 return 0;
31 }
Helper to enable counting number of instantiations in debug builds.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ position()
return position of vertex
Definition at line 63 of file Vertex.cxx.
64{
66}
Amg::Vector3D m_position
vertex position
◆ scaleError()
| void Trk::RecVertex::scaleError |
( |
float | factor | ) |
|
◆ ::RecVertexCnv_p1
◆ m_fitQuality
◆ m_position
◆ s_numberOfInstantiations
The documentation for this class was generated from the following files: