ATLAS Offline Software
TrackParametersPlots.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_TRACKPARAMETERSPLOTS_H
6 #define INDETTRACKPERFMON_PLOTS_TRACKPARAMETERSPLOTS_H
7 
13 #include "../PlotMgr.h"
15 
16 
17 namespace IDTPM {
18 
19  class TrackParametersPlots : public PlotMgr {
20 
21  public:
22 
25  PlotMgr* pParent,
26  const std::string& dirName,
27  const std::string& anaTag,
28  const std::string& trackType );
29 
31  virtual ~TrackParametersPlots() = default;
32 
34  void initializePlots(); // needed to override PlotBase
36 
38  template< typename PARTICLE >
39  StatusCode fillPlots( const PARTICLE& particle, float weight );
40 
42  void finalizePlots();
43 
44  private:
45 
46  std::string m_trackType;
47 
48  TH1* m_pt;
49  TH1* m_eta;
50  TH1* m_phi;
51  TH1* m_d0;
52  TH1* m_z0;
53  TH1* m_z0sin;
54  TH1* m_theta;
55  TH1* m_qoverp;
56  TH1* m_prodR;
57  TH1* m_prodZ;
58  TH1* m_nSiHits;
60  TH1* m_chi2;
61  TH1* m_ndof;
63  TH1* m_author;
64  TH1* m_time;
68  TH2* m_z0_vs_d0;
70 
71  }; // class TrackParametersPlots
72 
73 } // namespace IDTPM
74 
75 #endif // > ! INDETTRACKPERFMON_PLOTS_TRACKPARAMETERSPLOTS_H
IDTPM::TrackParametersPlots::m_time
TH1 * m_time
Definition: TrackParametersPlots.h:64
IDTPM::TrackParametersPlots::TrackParametersPlots
TrackParametersPlots(PlotMgr *pParent, const std::string &dirName, const std::string &anaTag, const std::string &trackType)
Constructor.
Definition: TrackParametersPlots.cxx:18
IDTPM::TrackParametersPlots::m_hasValidTime_eff_vs_eta
TEfficiency * m_hasValidTime_eff_vs_eta
Definition: TrackParametersPlots.h:65
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
IDTPM::TrackParametersPlots::m_z0sin_vs_d0
TH2 * m_z0sin_vs_d0
Definition: TrackParametersPlots.h:69
IDTPM::TrackParametersPlots::m_nSiHits_vs_eta
TH2 * m_nSiHits_vs_eta
Definition: TrackParametersPlots.h:59
IDTPM::TrackParametersPlots::m_chi2
TH1 * m_chi2
Definition: TrackParametersPlots.h:60
IDTPM::TrackParametersPlots::m_ndof
TH1 * m_ndof
Definition: TrackParametersPlots.h:61
IDTPM::TrackParametersPlots::m_eta
TH1 * m_eta
Definition: TrackParametersPlots.h:49
IDTPM::TrackParametersPlots::m_phi
TH1 * m_phi
Definition: TrackParametersPlots.h:50
IDTPM::TrackParametersPlots::m_z0
TH1 * m_z0
Definition: TrackParametersPlots.h:52
IDTPM::TrackParametersPlots::fillPlots
StatusCode fillPlots(const PARTICLE &particle, float weight)
Dedicated fill method (for tracks and/or truth particles)
Definition: TrackParametersPlots.cxx:75
IDTPM::TrackParametersPlots::initializePlots
void initializePlots()
Book the histograms.
Definition: TrackParametersPlots.cxx:28
IDTPM::TrackParametersPlots::m_z0_vs_d0
TH2 * m_z0_vs_d0
Definition: TrackParametersPlots.h:68
IDTPM::TrackParametersPlots::m_d0
TH1 * m_d0
Definition: TrackParametersPlots.h:51
IDTPM::TrackParametersPlots::m_eta_vs_phi
TH2 * m_eta_vs_phi
Definition: TrackParametersPlots.h:67
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
IDTPM::TrackParametersPlots::~TrackParametersPlots
virtual ~TrackParametersPlots()=default
Destructor.
IDTPM::TrackParametersPlots::m_author
TH1 * m_author
Definition: TrackParametersPlots.h:63
IDTPM::TrackParametersPlots::m_trackType
std::string m_trackType
Definition: TrackParametersPlots.h:46
IDTPM::PlotMgr
Definition: PlotMgr.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IDTPM::TrackParametersPlots::finalizePlots
void finalizePlots()
Print out final stats on histograms.
Definition: TrackParametersPlots.cxx:144
IDTPM::TrackParametersPlots
Definition: TrackParametersPlots.h:19
IDTPM::TrackParametersPlots::m_theta
TH1 * m_theta
Definition: TrackParametersPlots.h:54
IDTPM::TrackParametersPlots::bookPlots
StatusCode bookPlots()
Definition: TrackParametersPlots.cxx:37
IDTPM::TrackParametersPlots::m_chi2OverNdof
TH1 * m_chi2OverNdof
Definition: TrackParametersPlots.h:62
IDTPM::TrackParametersPlots::m_prodZ
TH1 * m_prodZ
Definition: TrackParametersPlots.h:57
IDTPM::TrackParametersPlots::m_prodR
TH1 * m_prodR
Definition: TrackParametersPlots.h:56
IDTPM::TrackParametersPlots::m_z0sin
TH1 * m_z0sin
Definition: TrackParametersPlots.h:53
IDTPM::TrackParametersPlots::m_pt
TH1 * m_pt
Definition: TrackParametersPlots.h:48
IDTPM::TrackParametersPlots::m_qoverp
TH1 * m_qoverp
Definition: TrackParametersPlots.h:55
IDTPM::TrackParametersPlots::m_eta_vs_pt
TH2 * m_eta_vs_pt
Definition: TrackParametersPlots.h:66
IDTPM::TrackParametersPlots::m_nSiHits
TH1 * m_nSiHits
Definition: TrackParametersPlots.h:58
IDTPM
Athena include(s).
Definition: IPlotsDefinitionSvc.h:25