Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
InnerDetector
InDetValidation
InDetTrackPerfMon
src
plots
NtracksPlots.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 INDETTRACKPERFMON_PLOTS_NTRACKSPLOTS_H
6
#define INDETTRACKPERFMON_PLOTS_NTRACKSPLOTS_H
7
13
#include "../PlotMgr.h"
15
#include "../TrackAnalysisCollections.h"
16
17
18
namespace
IDTPM
{
19
20
class
NtracksPlots
:
public
PlotMgr
{
21
22
public
:
23
25
NtracksPlots
(
26
PlotMgr
* pParent,
27
const
std::string&
dirName
,
28
const
std::string& anaTag,
29
const
std::string& trackType,
30
bool
doTrigger
=
false
,
31
bool
doGlobalPlots =
false
,
32
bool
doTruthMuPlots =
false
);
33
35
virtual
~NtracksPlots
() =
default
;
36
38
StatusCode
fillPlots
(
39
const
std::vector< size_t >& trackCounts,
40
const
std::vector< size_t >& vertexCounts,
41
float
truthMu,
42
float
actualMu,
43
float
weight
);
44
46
void
initializePlots
();
// needed to override PlotBase
47
StatusCode
bookPlots
();
48
50
void
finalizePlots
();
51
52
private
:
53
54
std::string
m_trackType
;
55
bool
m_doTrigger
{};
56
bool
m_doGlobalPlots
{};
57
bool
m_doTruthMuPlots
{};
58
60
enum
Counter
:
size_t
{
61
ALL
=
TrackAnalysisCollections::ALL
,
62
SELECTED
=
TrackAnalysisCollections::SELECTED
,
63
INROI
=
TrackAnalysisCollections::INROI
,
64
MATCHED
=
TrackAnalysisCollections::MATCHED
,
65
NCOUNTERS
=
TrackAnalysisCollections::NCOUNTERS
66
};
67
68
std::string
m_counterName
[
NCOUNTERS
] = {
69
"all"
,
"selected"
,
"selectedInRoI"
,
"matched"
70
};
71
72
TH1*
m_nTracks
[
NCOUNTERS
]{};
73
TH2*
m_nTracks_vs_nVertices
[
NCOUNTERS
]{};
74
TH2*
m_nTracks_vs_truthMu
{};
75
TH2*
m_nTracks_vs_actualMu
{};
76
77
};
// class NtracksPlots
78
79
}
// namespace IDTPM
80
81
#endif // > ! INDETTRACKPERFMON_PLOTS_NTRACKSPLOTS_H
DoubleEventSelectorOverlayTest.doTrigger
doTrigger
Definition:
DoubleEventSelectorOverlayTest.py:46
IDTPM::TrackAnalysisCollections::ALL
@ ALL
Definition:
TrackAnalysisCollections.h:57
IDTPM::NtracksPlots::m_doTrigger
bool m_doTrigger
Definition:
NtracksPlots.h:55
IDTPM::NtracksPlots::~NtracksPlots
virtual ~NtracksPlots()=default
Destructor.
IDTPM::NtracksPlots::m_nTracks
TH1 * m_nTracks[NCOUNTERS]
Definition:
NtracksPlots.h:72
IDTPM::NtracksPlots::ALL
@ ALL
Definition:
NtracksPlots.h:61
PrintTrkAnaSummary.dirName
dirName
Definition:
PrintTrkAnaSummary.py:137
IDTPM::TrackAnalysisCollections::SELECTED
@ SELECTED
Definition:
TrackAnalysisCollections.h:57
IDTPM::NtracksPlots::m_trackType
std::string m_trackType
Definition:
NtracksPlots.h:54
IDTPM::TrackAnalysisCollections::MATCHED
@ MATCHED
Definition:
TrackAnalysisCollections.h:57
IDTPM::NtracksPlots::m_counterName
std::string m_counterName[NCOUNTERS]
Definition:
NtracksPlots.h:68
dqt_zlumi_pandas.weight
int weight
Definition:
dqt_zlumi_pandas.py:189
IDTPM::NtracksPlots::SELECTED
@ SELECTED
Definition:
NtracksPlots.h:62
IDTPM::NtracksPlots::Counter
Counter
Importing Counter enum.
Definition:
NtracksPlots.h:60
IDTPM::NtracksPlots::m_doTruthMuPlots
bool m_doTruthMuPlots
Definition:
NtracksPlots.h:57
IDTPM::PlotMgr
Definition:
PlotMgr.h:33
IDTPM::NtracksPlots::NCOUNTERS
@ NCOUNTERS
Definition:
NtracksPlots.h:65
IDTPM::NtracksPlots::m_nTracks_vs_nVertices
TH2 * m_nTracks_vs_nVertices[NCOUNTERS]
Definition:
NtracksPlots.h:73
IDTPM::NtracksPlots::bookPlots
StatusCode bookPlots()
Definition:
NtracksPlots.cxx:41
IDTPM::NtracksPlots::m_nTracks_vs_actualMu
TH2 * m_nTracks_vs_actualMu
Definition:
NtracksPlots.h:75
IDTPM::NtracksPlots::INROI
@ INROI
Definition:
NtracksPlots.h:63
IDTPM::TrackAnalysisCollections::INROI
@ INROI
Definition:
TrackAnalysisCollections.h:57
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IDTPM::NtracksPlots::initializePlots
void initializePlots()
Book the histograms.
Definition:
NtracksPlots.cxx:32
IDTPM::TrackAnalysisCollections::NCOUNTERS
@ NCOUNTERS
Definition:
TrackAnalysisCollections.h:57
IDTPM::NtracksPlots
Definition:
NtracksPlots.h:20
IDTPM::NtracksPlots::NtracksPlots
NtracksPlots(PlotMgr *pParent, const std::string &dirName, const std::string &anaTag, const std::string &trackType, bool doTrigger=false, bool doGlobalPlots=false, bool doTruthMuPlots=false)
Constructor.
Definition:
NtracksPlots.cxx:18
IDTPM::NtracksPlots::MATCHED
@ MATCHED
Definition:
NtracksPlots.h:64
IDTPM::NtracksPlots::m_doGlobalPlots
bool m_doGlobalPlots
Definition:
NtracksPlots.h:56
IDTPM::NtracksPlots::fillPlots
StatusCode fillPlots(const std::vector< size_t > &trackCounts, const std::vector< size_t > &vertexCounts, float truthMu, float actualMu, float weight)
Dedicated fill method.
Definition:
NtracksPlots.cxx:76
IDTPM::NtracksPlots::finalizePlots
void finalizePlots()
Print out final stats on histograms.
Definition:
NtracksPlots.cxx:109
IDTPM
Athena include(s).
Definition:
IPlotsDefinitionSvc.h:25
IDTPM::NtracksPlots::m_nTracks_vs_truthMu
TH2 * m_nTracks_vs_truthMu
Definition:
NtracksPlots.h:74
Generated on Wed May 7 2025 21:15:17 for ATLAS Offline Software by
1.8.18