ATLAS Offline Software
InDetPerfPlot_TrackParameters.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 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"
21 
24 public:
25  InDetPerfPlot_TrackParameters(InDetPlotBase* pParent, const std::string& dirName);
26  void fill(const xAOD::TrackParticle& particle, float weight);
27  void fill(const xAOD::TruthParticle& particle, float weight);
28 private:
29 
30  TH1* m_reco_d0{};
31  TH1* m_reco_z0{};
32  TH1* m_reco_z0sin{};
33  TH1* m_reco_phi{};
34  TH1* m_reco_theta{};
35  TH1* m_reco_eta{};
36  TH1* m_reco_qoverp{};
37  TH1* m_reco_pt{};
38  TH1* m_reco_lowpt{};
39  TH1* m_reco_chi2{};
40  TH1* m_reco_ndof{};
42  TH1* m_reco_author{};
43  TH1* m_reco_time{};
45 
46  TH1* m_truth_d0{};
47  TH1* m_truth_z0{};
48  TH1* m_truth_z0sin{};
49  TH1* m_truth_phi{};
50  TH1* m_truth_theta{};
51  TH1* m_truth_eta{};
53  TH1* m_truth_pt{};
54  TH1* m_truth_lowpt{};
55  TH1* m_truth_prodR{};
56  TH1* m_truth_prodZ{};
57 
60 
61  TH2* m_reco_d0_z0{};
63 
66 
68  TH1* m_truth_hits{};
69 
70  // plot base has nop default implementation of this; we use it to book the histos
71  void initializePlots();
72  // print out final stats on exact zeroes
73  void finalizePlots();
74 };
75 
76 
77 
78 
79 #endif
InDetPerfPlot_TrackParameters::m_reco_chi2
TH1 * m_reco_chi2
Definition: InDetPerfPlot_TrackParameters.h:39
InDetPerfPlot_TrackParameters::m_reco_d0
TH1 * m_reco_d0
Definition: InDetPerfPlot_TrackParameters.h:30
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:52
InDetPerfPlot_TrackParameters::m_reco_time
TH1 * m_reco_time
Definition: InDetPerfPlot_TrackParameters.h:43
InDetPerfPlot_TrackParameters::m_truth_hits_vs_eta
TH2 * m_truth_hits_vs_eta
Definition: InDetPerfPlot_TrackParameters.h:67
InDetPerfPlot_TrackParameters::m_truth_phi_vs_eta
TH2 * m_truth_phi_vs_eta
Definition: InDetPerfPlot_TrackParameters.h:65
InDetPerfPlot_TrackParameters::m_truth_z0sin
TH1 * m_truth_z0sin
Definition: InDetPerfPlot_TrackParameters.h:48
InDetPerfPlot_TrackParameters::m_reco_hasValidTime_eff_vs_eta
TEfficiency * m_reco_hasValidTime_eff_vs_eta
Definition: InDetPerfPlot_TrackParameters.h:44
InDetPerfPlot_TrackParameters::m_reco_d0_z0
TH2 * m_reco_d0_z0
Definition: InDetPerfPlot_TrackParameters.h:61
InDetPerfPlot_TrackParameters::InDetPerfPlot_TrackParameters
InDetPerfPlot_TrackParameters(InDetPlotBase *pParent, const std::string &dirName)
Definition: InDetPerfPlot_TrackParameters.cxx:18
InDetPerfPlot_TrackParameters::m_truth_eta
TH1 * m_truth_eta
Definition: InDetPerfPlot_TrackParameters.h:51
InDetPerfPlot_TrackParameters::m_truth_theta
TH1 * m_truth_theta
Definition: InDetPerfPlot_TrackParameters.h:50
InDetPerfPlot_TrackParameters::m_reco_phi
TH1 * m_reco_phi
Definition: InDetPerfPlot_TrackParameters.h:33
InDetPerfPlot_TrackParameters::m_reco_d0_z0sin
TH2 * m_reco_d0_z0sin
Definition: InDetPerfPlot_TrackParameters.h:62
InDetPerfPlot_TrackParameters::m_truth_pt
TH1 * m_truth_pt
Definition: InDetPerfPlot_TrackParameters.h:53
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:47
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:32
InDetPerfPlot_TrackParameters::fill
void fill(const xAOD::TrackParticle &particle, float weight)
Definition: InDetPerfPlot_TrackParameters.cxx:116
InDetPerfPlot_TrackParameters::m_reco_theta
TH1 * m_reco_theta
Definition: InDetPerfPlot_TrackParameters.h:34
InDetPerfPlot_TrackParameters::initializePlots
void initializePlots()
Definition: InDetPerfPlot_TrackParameters.cxx:25
InDetPerfPlot_TrackParameters::m_truth_prodR
TH1 * m_truth_prodR
Definition: InDetPerfPlot_TrackParameters.h:55
InDetPerfPlot_TrackParameters::m_reco_eta
TH1 * m_reco_eta
Definition: InDetPerfPlot_TrackParameters.h:35
InDetPerfPlot_TrackParameters::m_truth_d0
TH1 * m_truth_d0
Definition: InDetPerfPlot_TrackParameters.h:46
InDetPerfPlot_TrackParameters::m_reco_chi2Overndof
TH1 * m_reco_chi2Overndof
Definition: InDetPerfPlot_TrackParameters.h:41
InDetPerfPlot_TrackParameters::m_reco_pt_vs_eta
TH2 * m_reco_pt_vs_eta
Definition: InDetPerfPlot_TrackParameters.h:58
InDetPerfPlot_TrackParameters::m_reco_z0
TH1 * m_reco_z0
Definition: InDetPerfPlot_TrackParameters.h:31
InDetPerfPlot_TrackParameters::finalizePlots
void finalizePlots()
Definition: InDetPerfPlot_TrackParameters.cxx:168
InDetPerfPlot_TrackParameters::m_truth_lowpt
TH1 * m_truth_lowpt
Definition: InDetPerfPlot_TrackParameters.h:54
TrackParticle.h
InDetPerfPlot_TrackParameters::m_truth_hits
TH1 * m_truth_hits
Definition: InDetPerfPlot_TrackParameters.h:68
InDetPerfPlot_TrackParameters::m_reco_qoverp
TH1 * m_reco_qoverp
Definition: InDetPerfPlot_TrackParameters.h:36
InDetPerfPlot_TrackParameters::m_reco_author
TH1 * m_reco_author
Definition: InDetPerfPlot_TrackParameters.h:42
InDetPerfPlot_TrackParameters::m_reco_pt
TH1 * m_reco_pt
Definition: InDetPerfPlot_TrackParameters.h:37
InDetPerfPlot_TrackParameters
class holding Pt plots for Inner Detector RTT Validation and implementing fill methods
Definition: InDetPerfPlot_TrackParameters.h:23
InDetPerfPlot_TrackParameters::m_reco_lowpt
TH1 * m_reco_lowpt
Definition: InDetPerfPlot_TrackParameters.h:38
InDetPerfPlot_TrackParameters::m_truth_phi
TH1 * m_truth_phi
Definition: InDetPerfPlot_TrackParameters.h:49
InDetPerfPlot_TrackParameters::m_reco_phi_vs_eta
TH2 * m_reco_phi_vs_eta
Definition: InDetPerfPlot_TrackParameters.h:59
InDetPerfPlot_TrackParameters::m_reco_ndof
TH1 * m_reco_ndof
Definition: InDetPerfPlot_TrackParameters.h:40
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:56
InDetPerfPlot_TrackParameters::m_truth_pt_vs_eta
TH2 * m_truth_pt_vs_eta
Definition: InDetPerfPlot_TrackParameters.h:64
TruthParticle.h