ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkValidation
TrkVertexFitterValidationUtils
TrkVertexFitterValidationUtils
TrkPriVxPurity.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRKVERTEXFITTERVALIDATIONUTILS_TRKPRIVXPURITY_H
6
#define TRKVERTEXFITTERVALIDATIONUTILS_TRKPRIVXPURITY_H
7
8
#include <vector>
9
#include "GaudiKernel/MsgStream.h"
10
36
37
namespace
Trk
38
{
39
40
class
TrkPriVxPurity
41
{
42
43
public
:
44
51
TrkPriVxPurity
(
int
ntrk,
const
std::vector<double>& puWeights,
52
const
std::vector<double>& noTruth,
53
int
brLinks,
const
std::vector<double>& inWeights,
54
const
std::vector<double>& outWeights);
55
59
~TrkPriVxPurity
(){}
60
64
unsigned
int
fittedTracks
()
const
;
65
69
const
std::vector<double>&
pileUpWeights
()
const
;
70
74
const
std::vector<double>&
noTruthFound
()
const
;
75
79
unsigned
int
brokenLinks
()
const
;
80
84
const
std::vector<double>&
inlierWeights
()
const
;
85
89
const
std::vector<double>&
outlierWeights
()
const
;
90
94
MsgStream&
dump
(MsgStream& sl)
const
;
95
99
std::ostream&
dump
(std::ostream& sl)
const
;
100
101
private
:
102
103
unsigned
int
m_fittedTracks
;
104
std::vector<double>
m_puWeights
;
105
std::vector<double>
m_noTruth
;
106
unsigned
int
m_brokenLinks
;
107
108
std::vector<double>
m_inWeights
;
109
std::vector<double>
m_outWeights
;
110
};
111
112
inline
unsigned
int
TrkPriVxPurity::fittedTracks
()
const
113
{
return
m_fittedTracks
; }
114
115
inline
const
std::vector<double>&
TrkPriVxPurity::noTruthFound
()
const
116
{
return
m_noTruth
; }
117
118
inline
const
std::vector<double>&
TrkPriVxPurity::outlierWeights
()
const
119
{
return
m_outWeights
; }
120
121
inline
const
std::vector<double>&
TrkPriVxPurity::inlierWeights
()
const
122
{
return
m_inWeights
; }
123
124
inline
unsigned
int
TrkPriVxPurity::brokenLinks
()
const
125
{
return
m_brokenLinks
; }
126
127
inline
const
std::vector<double>&
TrkPriVxPurity::pileUpWeights
()
const
128
{
return
m_puWeights
; }
129
130
}
// end of namespace definitions
131
132
#endif
Trk::TrkPriVxPurity::brokenLinks
unsigned int brokenLinks() const
Number of lost pointers: these must software bugs if any.
Definition
TrkPriVxPurity.h:124
Trk::TrkPriVxPurity::fittedTracks
unsigned int fittedTracks() const
Number of fitted tracks.
Definition
TrkPriVxPurity.h:112
Trk::TrkPriVxPurity::m_outWeights
std::vector< double > m_outWeights
Definition
TrkPriVxPurity.h:109
Trk::TrkPriVxPurity::m_puWeights
std::vector< double > m_puWeights
Definition
TrkPriVxPurity.h:104
Trk::TrkPriVxPurity::~TrkPriVxPurity
~TrkPriVxPurity()
Destructor.
Definition
TrkPriVxPurity.h:59
Trk::TrkPriVxPurity::inlierWeights
const std::vector< double > & inlierWeights() const
List of track weights for inliers (only tracks from signal event are listed).
Definition
TrkPriVxPurity.h:121
Trk::TrkPriVxPurity::pileUpWeights
const std::vector< double > & pileUpWeights() const
Weights of tracks from pileUp events.
Definition
TrkPriVxPurity.h:127
Trk::TrkPriVxPurity::m_inWeights
std::vector< double > m_inWeights
Definition
TrkPriVxPurity.h:108
Trk::TrkPriVxPurity::outlierWeights
const std::vector< double > & outlierWeights() const
List of track weights for outliers (only tracks from the signal event are listed).
Definition
TrkPriVxPurity.h:118
Trk::TrkPriVxPurity::m_noTruth
std::vector< double > m_noTruth
Definition
TrkPriVxPurity.h:105
Trk::TrkPriVxPurity::noTruthFound
const std::vector< double > & noTruthFound() const
Weights of not associated tracks.
Definition
TrkPriVxPurity.h:115
Trk::TrkPriVxPurity::m_fittedTracks
unsigned int m_fittedTracks
Definition
TrkPriVxPurity.h:103
Trk::TrkPriVxPurity::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,...
Definition
TrkPriVxPurity.cxx:10
Trk::TrkPriVxPurity::m_brokenLinks
unsigned int m_brokenLinks
Definition
TrkPriVxPurity.h:106
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
dump
-event-from-file
Generated on
for ATLAS Offline Software by
1.17.0