#include <RecVertexPositions.h>
|
| | RecVertexPositions () |
| | default constructor, if called initializes a RecVertexPositions with all data members set to 0.
|
| | RecVertexPositions (const VertexPositions &pos) |
| | construct a RecVertexPositions from a Vertex.
|
| | RecVertexPositions (const Amg::VectorX &pos, const Amg::MatrixX &cov, const double ndf=0., const double chi2=0., bool isWeightTimesPosition=false) |
| | constructs a RecVertexPositions with position, error, ndf, dhi2 and ntrk
|
| | RecVertexPositions (const Amg::VectorX &pos, const double ndf=0., const double chi2=0.) |
| | RecVertexPositions (const RecVertexPositions &) |
| | copy constructor
|
| RecVertexPositions & | operator= (const RecVertexPositions &) |
| | Assignement operator.
|
| 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 | ~RecVertexPositions () |
| | default destructor
|
| Amg::MatrixX const & | covariancePosition () const |
| | return the covDeltaV matrix of the vertex fit
|
| void | setCovariancePosition (const Amg::MatrixX &) |
| void | setFitQuality (const Trk::FitQuality &) |
| const Trk::FitQuality & | fitQuality () const |
| | Fit quality access method.
|
| const Amg::VectorX & | weightTimesPosition () |
| void | setWeightTimesPosition (const Amg::VectorX &) |
| void | finalizePosition () |
| const Amg::VectorX & | position () const |
| | return position of vertex
|
| void | setPosition (const Amg::VectorX &) |
Definition at line 25 of file RecVertexPositions.h.
◆ RecVertexPositions() [1/5]
| Trk::RecVertexPositions::RecVertexPositions |
( |
| ) |
|
default constructor, if called initializes a RecVertexPositions with all data members set to 0.
Definition at line 24 of file RecVertexPositions.cxx.
24 :
Amg::MatrixX m_positionError
cov matrix on vertex position (primary vtx+jet dir+distance)
VertexPositions()
default constructor
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
◆ RecVertexPositions() [2/5]
◆ RecVertexPositions() [3/5]
| Trk::RecVertexPositions::RecVertexPositions |
( |
const Amg::VectorX & | pos, |
|
|
const Amg::MatrixX & | cov, |
|
|
const double | ndf = 0., |
|
|
const double | chi2 = 0., |
|
|
bool | isWeightTimesPosition = false ) |
constructs a RecVertexPositions with position, error, ndf, dhi2 and ntrk
Definition at line 36 of file RecVertexPositions.cxx.
38 :
41 }
Trk::FitQuality m_fitQuality
bool m_useWeightTimesPosition
double chi2(TH1 *h0, TH1 *h1)
◆ RecVertexPositions() [4/5]
| Trk::RecVertexPositions::RecVertexPositions |
( |
const Amg::VectorX & | pos, |
|
|
const double | ndf = 0., |
|
|
const double | chi2 = 0. ) |
◆ RecVertexPositions() [5/5]
◆ ~RecVertexPositions()
| Trk::RecVertexPositions::~RecVertexPositions |
( |
| ) |
|
|
virtualdefault |
◆ covariancePosition()
| const Amg::MatrixX & Trk::RecVertexPositions::covariancePosition |
( |
| ) |
const |
◆ dump() [1/2]
| MsgStream & Trk::RecVertexPositions::dump |
( |
MsgStream & | sl | ) |
const |
|
virtual |
Output Method for MsgStream, to be overloaded by child classes.
Reimplemented from Trk::VertexPositions.
Definition at line 96 of file RecVertexPositions.cxx.
96 {
97 sl << "Trk::RecVertexPositions: " << std::endl;
98
99
101 sl << "Trk::VertexPositions weight times position: (" ;
102 } else {
103 sl << "Trk::VertexPositions position: (" ;
104 }
113 }
114 } else {
117 }
118 }
120
123 return sl;
124 }
Amg::VectorX m_position
vertex position
@ jet_zv
position x,y,z of primary vertex
◆ dump() [2/2]
| std::ostream & Trk::RecVertexPositions::dump |
( |
std::ostream & | sl | ) |
const |
|
virtual |
Output Method for std::ostream, to be overloaded by child classes.
Reimplemented from Trk::VertexPositions.
Definition at line 126 of file RecVertexPositions.cxx.
126 {
127
129 sl << "Trk::VertexPositions weight times position: (" ;
130 } else {
131 sl << "Trk::VertexPositions position: (" ;
132 }
138 << std::endl;
142 }
143 } else {
146 }
147 }
148 sl << std::endl;
149
153 return sl;
154 }
Amg::MatrixX const & covariancePosition() const
return the covDeltaV matrix of the vertex fit
virtual MsgStream & dump(MsgStream &sl) const
Output Method for MsgStream, to be overloaded by child classes.
◆ finalizePosition()
| void Trk::RecVertexPositions::finalizePosition |
( |
| ) |
|
◆ 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=()
Assignement operator.
Definition at line 84 of file RecVertexPositions.cxx.
85 {
86 if (this!=&rhs)
87 {
88
92 }
93 return *this;
94 }
VertexPositions & operator=(const VertexPositions &)=default
Assignment operator.
◆ position()
| const Amg::VectorX & Trk::VertexPositions::position |
( |
| ) |
const |
|
inherited |
return position of vertex
Definition at line 86 of file VertexPositions.cxx.
87{
90 }
91 std::cout << "FATAL: VertexPositions is not able to return a valid position "
92 << " as a const object: need to go from Update to Use mode. "
93 "Unrecovered Bug!"
94 << std::endl;
95 std::abort();
96
97}
◆ setCovariancePosition()
| void Trk::RecVertexPositions::setCovariancePosition |
( |
const Amg::MatrixX & | newerror | ) |
|
◆ setFitQuality()
| void Trk::RecVertexPositions::setFitQuality |
( |
const Trk::FitQuality & | newFitQuality | ) |
|
◆ setPosition()
| void Trk::VertexPositions::setPosition |
( |
const Amg::VectorX & | newposition | ) |
|
|
inherited |
◆ setWeightTimesPosition()
| void Trk::RecVertexPositions::setWeightTimesPosition |
( |
const Amg::VectorX & | weightTimesPosition | ) |
|
◆ weightTimesPosition()
| const Amg::VectorX & Trk::RecVertexPositions::weightTimesPosition |
( |
| ) |
|
Definition at line 52 of file RecVertexPositions.cxx.
52 {
56 } else {
57 std::cout << "Warning in RecVertexPositions: requested finalization but was already finalized..." << std::endl;
58 }
60 }
◆ m_fitQuality
◆ m_position
◆ m_positionError
cov matrix on vertex position (primary vtx+jet dir+distance)
Definition at line 71 of file RecVertexPositions.h.
◆ m_useWeightTimesPosition
| bool Trk::VertexPositions::m_useWeightTimesPosition |
|
protectedinherited |
◆ s_numberOfInstantiations
The documentation for this class was generated from the following files: