ATLAS Offline Software
|
#include <TrkPriVxPurity.h>
Public Member Functions | |
TrkPriVxPurity (int ntrk, const std::vector< double > &puWeights, const std::vector< double > &noTruth, int brLinks, const std::vector< double > &inWeights, const std::vector< double > &outWeights) | |
Constructor, requiring a number of fitted tracks, wectors of weghts for inlyers, outlyers, pileup tracks and tracks with no truth association. More... | |
~TrkPriVxPurity () | |
Destructor. More... | |
unsigned int | fittedTracks () const |
Number of fitted tracks More... | |
const std::vector< double > & | pileUpWeights () const |
Weights of tracks from pileUp events More... | |
const std::vector< double > & | noTruthFound () const |
Weights of not associated tracks More... | |
unsigned int | brokenLinks () const |
Number of lost pointers: these must software bugs if any. More... | |
const std::vector< double > & | inlierWeights () const |
List of track weights for inliers (only tracks from signal event are listed) More... | |
const std::vector< double > & | outlierWeights () const |
List of track weights for outliers (only tracks from the signal event are listed) More... | |
MsgStream & | dump (MsgStream &sl) const |
Dump info method. More... | |
std::ostream & | dump (std::ostream &sl) const |
Dump info method. More... | |
Private Attributes | |
unsigned int | m_fittedTracks |
std::vector< double > | m_puWeights |
std::vector< double > | m_noTruth |
unsigned int | m_brokenLinks |
std::vector< double > | m_inWeights |
std::vector< double > | m_outWeights |
A prototype data class for primary vertex purity. Provides a truth information summary about the fitted primary vertex:
– Number tracks fitted to the vertex
– Number of tracks w/o original info stored
– Number of tracks w/o truth associated: While the PU navigation is not available, this number includes both fake reconstructed and pileup tracks
– Vector of weights for tracks fitted to the vertex, but originating elswhere: So far these are only signal event outliers, products of decay of long-living particles, conversions and do on... Once the PU truth navigation is available, these will also be tracks coming from PU.
– Vector of weights of tracks w.r.t. fitted vertex
Definition at line 40 of file TrkPriVxPurity.h.
Trk::TrkPriVxPurity::TrkPriVxPurity | ( | int | ntrk, |
const std::vector< double > & | puWeights, | ||
const std::vector< double > & | noTruth, | ||
int | brLinks, | ||
const std::vector< double > & | inWeights, | ||
const std::vector< double > & | outWeights | ||
) |
Constructor, requiring a number of fitted tracks, wectors of weghts for inlyers, outlyers, pileup tracks and tracks with no truth association.
Number of tracks with broken links to the truth (possible software bugs) is also stored.
Definition at line 10 of file TrkPriVxPurity.cxx.
|
inline |
|
inline |
Number of lost pointers: these must software bugs if any.
Definition at line 124 of file TrkPriVxPurity.h.
MsgStream & Trk::TrkPriVxPurity::dump | ( | MsgStream & | sl | ) | const |
std::ostream & Trk::TrkPriVxPurity::dump | ( | std::ostream & | sl | ) | const |
|
inline |
|
inline |
List of track weights for inliers (only tracks from signal event are listed)
Definition at line 121 of file TrkPriVxPurity.h.
|
inline |
|
inline |
List of track weights for outliers (only tracks from the signal event are listed)
Definition at line 118 of file TrkPriVxPurity.h.
|
inline |
|
private |
Definition at line 106 of file TrkPriVxPurity.h.
|
private |
Definition at line 103 of file TrkPriVxPurity.h.
|
private |
Definition at line 108 of file TrkPriVxPurity.h.
|
private |
Definition at line 105 of file TrkPriVxPurity.h.
|
private |
Definition at line 109 of file TrkPriVxPurity.h.
|
private |
Definition at line 104 of file TrkPriVxPurity.h.