ATLAS Offline Software
InnerDetector
InDetValidation
InDetPhysValMonitoring
src
InDetPerfPlot_TrackParameters.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INDETPHYSVALMONITORING_INDETPERFPLOT_TRACKPARAMETERS
6
#define INDETPHYSVALMONITORING_INDETPERFPLOT_TRACKPARAMETERS
7
13
// std includes
14
#include <string>
15
#include <array>
16
17
// local includes
18
#include "
InDetPlotBase.h
"
19
#include "
xAODTracking/TrackParticle.h
"
20
#include "
xAODTruth/TruthParticle.h
"
21
23
class
InDetPerfPlot_TrackParameters
:
public
InDetPlotBase
{
24
public
:
25
InDetPerfPlot_TrackParameters
(
InDetPlotBase
* pParent,
const
std::string& dirName,
bool
isITk);
26
void
fill
(
const
xAOD::TrackParticle
&
particle
,
float
weight
);
27
void
fill
(
const
xAOD::TruthParticle
&
particle
,
float
weight
);
28
private
:
29
bool
m_isITk
{
false
};
30
31
TH1*
m_reco_d0
{};
32
TH1*
m_reco_z0
{};
33
TH1*
m_reco_z0sin
{};
34
TH1*
m_reco_phi
{};
35
TH1*
m_reco_theta
{};
36
TH1*
m_reco_eta
{};
37
TH1*
m_reco_qoverp
{};
38
TH1*
m_reco_pt
{};
39
TH1*
m_reco_lowpt
{};
40
TH1*
m_reco_chi2
{};
41
TH1*
m_reco_ndof
{};
42
TH1*
m_reco_chi2Overndof
{};
43
TH1*
m_reco_author
{};
44
TH1*
m_reco_time
{};
45
TEfficiency*
m_reco_hasValidTime_eff_vs_eta
{};
46
47
TH1*
m_truth_d0
{};
48
TH1*
m_truth_z0
{};
49
TH1*
m_truth_z0sin
{};
50
TH1*
m_truth_phi
{};
51
TH1*
m_truth_theta
{};
52
TH1*
m_truth_eta
{};
53
TH1*
m_truth_qoverp
{};
54
TH1*
m_truth_pt
{};
55
TH1*
m_truth_lowpt
{};
56
TH1*
m_truth_prodR
{};
57
TH1*
m_truth_prodZ
{};
58
59
TH2*
m_reco_pt_vs_eta
{};
60
TH2*
m_reco_phi_vs_eta
{};
61
62
TH2*
m_reco_d0_z0
{};
63
TH2*
m_reco_d0_z0sin
{};
64
65
TH2*
m_truth_pt_vs_eta
{};
66
TH2*
m_truth_phi_vs_eta
{};
67
68
TH2*
m_truth_hits_vs_eta
{};
69
TH1*
m_truth_hits
{};
70
71
// plot base has nop default implementation of this; we use it to book the histos
72
void
initializePlots
();
73
// print out final stats on exact zeroes
74
void
finalizePlots
();
75
};
76
77
78
79
80
#endif
InDetPerfPlot_TrackParameters::m_reco_chi2
TH1 * m_reco_chi2
Definition:
InDetPerfPlot_TrackParameters.h:40
InDetPerfPlot_TrackParameters::m_reco_d0
TH1 * m_reco_d0
Definition:
InDetPerfPlot_TrackParameters.h:31
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition:
ParticleHypothesis.h:76
InDetPerfPlot_TrackParameters::m_truth_qoverp
TH1 * m_truth_qoverp
Definition:
InDetPerfPlot_TrackParameters.h:53
InDetPerfPlot_TrackParameters::m_reco_time
TH1 * m_reco_time
Definition:
InDetPerfPlot_TrackParameters.h:44
InDetPerfPlot_TrackParameters::m_truth_hits_vs_eta
TH2 * m_truth_hits_vs_eta
Definition:
InDetPerfPlot_TrackParameters.h:68
InDetPerfPlot_TrackParameters::m_truth_phi_vs_eta
TH2 * m_truth_phi_vs_eta
Definition:
InDetPerfPlot_TrackParameters.h:66
InDetPerfPlot_TrackParameters::m_truth_z0sin
TH1 * m_truth_z0sin
Definition:
InDetPerfPlot_TrackParameters.h:49
InDetPerfPlot_TrackParameters::m_reco_hasValidTime_eff_vs_eta
TEfficiency * m_reco_hasValidTime_eff_vs_eta
Definition:
InDetPerfPlot_TrackParameters.h:45
InDetPerfPlot_TrackParameters::m_reco_d0_z0
TH2 * m_reco_d0_z0
Definition:
InDetPerfPlot_TrackParameters.h:62
InDetPerfPlot_TrackParameters::m_isITk
bool m_isITk
Definition:
InDetPerfPlot_TrackParameters.h:29
InDetPerfPlot_TrackParameters::m_truth_eta
TH1 * m_truth_eta
Definition:
InDetPerfPlot_TrackParameters.h:52
InDetPerfPlot_TrackParameters::m_truth_theta
TH1 * m_truth_theta
Definition:
InDetPerfPlot_TrackParameters.h:51
InDetPerfPlot_TrackParameters::m_reco_phi
TH1 * m_reco_phi
Definition:
InDetPerfPlot_TrackParameters.h:34
InDetPerfPlot_TrackParameters::m_reco_d0_z0sin
TH2 * m_reco_d0_z0sin
Definition:
InDetPerfPlot_TrackParameters.h:63
InDetPerfPlot_TrackParameters::m_truth_pt
TH1 * m_truth_pt
Definition:
InDetPerfPlot_TrackParameters.h:54
dqt_zlumi_pandas.weight
int weight
Definition:
dqt_zlumi_pandas.py:189
InDetPerfPlot_TrackParameters::m_truth_z0
TH1 * m_truth_z0
Definition:
InDetPerfPlot_TrackParameters.h:48
InDetPlotBase
Mixin class to give extra capabilities to plots such as ATH_MSG and an easier booking interface,...
Definition:
InDetPlotBase.h:33
InDetPlotBase.h
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:37
InDetPerfPlot_TrackParameters::m_reco_z0sin
TH1 * m_reco_z0sin
Definition:
InDetPerfPlot_TrackParameters.h:33
InDetPerfPlot_TrackParameters::fill
void fill(const xAOD::TrackParticle &particle, float weight)
Definition:
InDetPerfPlot_TrackParameters.cxx:118
InDetPerfPlot_TrackParameters::m_reco_theta
TH1 * m_reco_theta
Definition:
InDetPerfPlot_TrackParameters.h:35
InDetPerfPlot_TrackParameters::initializePlots
void initializePlots()
Definition:
InDetPerfPlot_TrackParameters.cxx:25
InDetPerfPlot_TrackParameters::m_truth_prodR
TH1 * m_truth_prodR
Definition:
InDetPerfPlot_TrackParameters.h:56
InDetPerfPlot_TrackParameters::m_reco_eta
TH1 * m_reco_eta
Definition:
InDetPerfPlot_TrackParameters.h:36
InDetPerfPlot_TrackParameters::m_truth_d0
TH1 * m_truth_d0
Definition:
InDetPerfPlot_TrackParameters.h:47
InDetPerfPlot_TrackParameters::m_reco_chi2Overndof
TH1 * m_reco_chi2Overndof
Definition:
InDetPerfPlot_TrackParameters.h:42
InDetPerfPlot_TrackParameters::m_reco_pt_vs_eta
TH2 * m_reco_pt_vs_eta
Definition:
InDetPerfPlot_TrackParameters.h:59
InDetPerfPlot_TrackParameters::m_reco_z0
TH1 * m_reco_z0
Definition:
InDetPerfPlot_TrackParameters.h:32
InDetPerfPlot_TrackParameters::finalizePlots
void finalizePlots()
Definition:
InDetPerfPlot_TrackParameters.cxx:172
InDetPerfPlot_TrackParameters::m_truth_lowpt
TH1 * m_truth_lowpt
Definition:
InDetPerfPlot_TrackParameters.h:55
TrackParticle.h
InDetPerfPlot_TrackParameters::m_truth_hits
TH1 * m_truth_hits
Definition:
InDetPerfPlot_TrackParameters.h:69
InDetPerfPlot_TrackParameters::m_reco_qoverp
TH1 * m_reco_qoverp
Definition:
InDetPerfPlot_TrackParameters.h:37
InDetPerfPlot_TrackParameters::m_reco_author
TH1 * m_reco_author
Definition:
InDetPerfPlot_TrackParameters.h:43
InDetPerfPlot_TrackParameters::m_reco_pt
TH1 * m_reco_pt
Definition:
InDetPerfPlot_TrackParameters.h:38
InDetPerfPlot_TrackParameters
class holding Pt plots for Inner Detector RTT Validation and implementing fill methods
Definition:
InDetPerfPlot_TrackParameters.h:23
InDetPerfPlot_TrackParameters::InDetPerfPlot_TrackParameters
InDetPerfPlot_TrackParameters(InDetPlotBase *pParent, const std::string &dirName, bool isITk)
Definition:
InDetPerfPlot_TrackParameters.cxx:18
InDetPerfPlot_TrackParameters::m_reco_lowpt
TH1 * m_reco_lowpt
Definition:
InDetPerfPlot_TrackParameters.h:39
InDetPerfPlot_TrackParameters::m_truth_phi
TH1 * m_truth_phi
Definition:
InDetPerfPlot_TrackParameters.h:50
InDetPerfPlot_TrackParameters::m_reco_phi_vs_eta
TH2 * m_reco_phi_vs_eta
Definition:
InDetPerfPlot_TrackParameters.h:60
InDetPerfPlot_TrackParameters::m_reco_ndof
TH1 * m_reco_ndof
Definition:
InDetPerfPlot_TrackParameters.h:41
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
InDetPerfPlot_TrackParameters::m_truth_prodZ
TH1 * m_truth_prodZ
Definition:
InDetPerfPlot_TrackParameters.h:57
InDetPerfPlot_TrackParameters::m_truth_pt_vs_eta
TH2 * m_truth_pt_vs_eta
Definition:
InDetPerfPlot_TrackParameters.h:65
TruthParticle.h
Generated on Fri Jan 10 2025 21:11:29 for ATLAS Offline Software by
1.8.18