#include <AlignVertex.h>
Definition at line 39 of file AlignVertex.h.
◆ AlignVertexType
Enumerator |
---|
Unknown | default type
|
Primary | not refitted, just copy constructed from original Track
|
Refitted | normally refitted, without adding any pseudo-measurement
|
Accumulated | accumulated by the GX algorithm.
|
NVertexTypes | total number of track types
|
Definition at line 43 of file AlignVertex.h.
◆ AlignVertex() [1/3]
AlignVertex::AlignVertex |
( |
| ) |
|
default constructor
Definition at line 11 of file AlignVertex.cxx.
17 , m_covariance(
nullptr)
26 m_derivatives=
new std::vector<AlignModuleVertexDerivatives >(0);
◆ AlignVertex() [2/3]
constructor takes the original vertex candidate
Definition at line 73 of file AlignVertex.cxx.
79 , m_covariance(
nullptr)
90 m_derivatives=
new std::vector<AlignModuleVertexDerivatives >(0);
◆ AlignVertex() [3/3]
◆ ~AlignVertex()
AlignVertex::~AlignVertex |
( |
| ) |
|
destructor
Definition at line 98 of file AlignVertex.cxx.
100 if( m_matrix )
delete m_matrix;
106 if( m_covariance )
delete m_covariance;
109 if( m_qMatrix )
delete m_qMatrix;
◆ addDerivatives()
Definition at line 132 of file AlignVertex.cxx.
137 for ( ; derivIt!=derivIt_end ; ++derivIt) {
◆ alignTrackCollection()
returns collection of alignTracks
◆ AmgSymMatrix() [1/5]
const Trk::AlignVertex::AmgSymMatrix |
( |
3 |
| ) |
const |
|
inline |
◆ AmgSymMatrix() [2/5]
Trk::AlignVertex::AmgSymMatrix |
( |
3 |
| ) |
|
|
private |
◆ AmgSymMatrix() [3/5]
Trk::AlignVertex::AmgSymMatrix |
( |
3 |
| ) |
|
|
private |
◆ AmgSymMatrix() [4/5]
Trk::AlignVertex::AmgSymMatrix |
( |
3 |
| ) |
|
|
private |
◆ AmgSymMatrix() [5/5]
const Trk::AlignVertex::AmgSymMatrix |
( |
3 |
| ) |
const |
|
inline |
◆ Constrained()
bool Trk::AlignVertex::Constrained |
( |
| ) |
const |
|
inline |
◆ derivatives()
The Amg::VectorX is a vector of first-derivatives of the alignTSOS on the alignTrack w.r.t.
a particular alignment parameter times W*F. There is one Amg::VectorX in the vector for each alignment parameter of each align module. Set by accumulateVTX.
Definition at line 95 of file AlignVertex.h.
◆ dump()
void AlignVertex::dump |
( |
MsgStream & |
msg | ) |
|
dump align vertex information
Definition at line 218 of file AlignVertex.cxx.
222 msg<<
" vertex Position: "<< (*m_position) <<
endmsg;
223 msg<<
" vertex Covariance: "<< (*m_covariance) <<
endmsg;
◆ firstATrack()
AlignTrackCollection::const_iterator Trk::AlignVertex::firstATrack |
( |
| ) |
const |
retrieve iterator pointer to first element in collection
◆ fitVertex()
void AlignVertex::fitVertex |
( |
| ) |
|
fit the vertex internally
Definition at line 144 of file AlignVertex.cxx.
153 std::cout <<
"NULL pointer to the matrix! Bailing out..."<< std::endl;
165 m_qMatrix->computeInverseWithCheck(Qinv,invertible);
168 std::cout <<
"fitVertex: Q inversion failed. " << std::endl;
179 vec += 2.0*Qinv*vtemp;
186 covcons.computeInverseWithCheck(invcovcons,invertible);
189 std::cout <<
"fitVertex: covcons inversion failed. " << std::endl;
195 cov.computeInverseWithCheck(invcov,invertible);
198 std::cout <<
"fitVertex: cov inversion failed. " << std::endl;
213 (*m_covariance)=invcov;
◆ incrementMatrix()
◆ incrementVector()
increment algebra objects for this verterx:
Definition at line 104 of file AlignVertex.h.
104 { (*m_vVector)+=vtxV; }
◆ lastATrack()
AlignTrackCollection::const_iterator Trk::AlignVertex::lastATrack |
( |
| ) |
const |
returns iterator pointer to last element in collection
◆ Ntracks()
int Trk::AlignVertex::Ntracks |
( |
| ) |
const |
|
inline |
get the number of contributing tracks
Definition at line 112 of file AlignVertex.h.
◆ operator=()
assignment
Definition at line 51 of file AlignVertex.cxx.
54 delete m_matrix; m_matrix =
new AmgSymMatrix(3)(*(rhs.m_matrix));
59 delete m_covariance; m_covariance =
new AmgSymMatrix(3) (*(rhs.m_covariance));
61 delete m_qMatrix; m_qMatrix =
new AmgSymMatrix(3) (*(rhs.m_qMatrix));
◆ originalPosition()
◆ originalVertex()
retrieve pointer to original vertex and its position
Definition at line 78 of file AlignVertex.h.
◆ position()
get the vertex position and covariance
Definition at line 89 of file AlignVertex.h.
◆ setConstraint()
set and get the constraint on VTX position
Definition at line 114 of file AlignVertex.cxx.
116 if( Q->rows()!=3 || V->rows()!=3 ) {
117 std::cout <<
"Unexpected size of the constraint:"<< std::endl;
118 std::cout <<
" Q size = "<< Q->rows() <<
", V size = "<< V->rows() << std::endl;
121 if( Q->determinant() < 1.0e-24 ) {
122 std::cout <<
" Suspicious Q determinant: detQ = "<< Q->determinant() << std::endl;
◆ setDerivatives()
◆ setOriginalVertex()
set pointer to original vertex
Definition at line 82 of file AlignVertex.h.
◆ setType()
◆ setUnconstrained()
void Trk::AlignVertex::setUnconstrained |
( |
| ) |
|
|
inline |
◆ type()
◆ Vvector()
◆ m_alignTracks
◆ m_constrained
bool Trk::AlignVertex::m_constrained |
|
private |
◆ m_derivatives
◆ m_nTracks
int Trk::AlignVertex::m_nTracks |
|
private |
◆ m_original
◆ m_originalPosition
◆ m_position
◆ m_type
◆ m_vector
◆ m_vVector
The documentation for this class was generated from the following files: