ATLAS Offline Software
Loading...
Searching...
No Matches
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
12
14#include "../PlotMgr.h"
15
16
17namespace IDTPM {
18
20
21 public:
22
25 PlotMgr* pParent,
26 const std::string& dirName,
27 const std::string& anaTag,
28 const std::string& trackType,
29 bool plotErrors = false,
30 bool recomputeIP = false );
31
33 virtual ~TrackParametersPlots() = default;
34
36 void initializePlots(); // needed to override PlotBase
37 StatusCode bookPlots();
38
40 template< typename PARTICLE >
41 StatusCode fillPlots( const PARTICLE& particle, float weight );
42
44 void finalizePlots();
45
46 private:
47
48 std::string m_trackType;
51
52 TH1* m_pt{};
53 TH1* m_eta{};
54 TH1* m_phi{};
55 TH1* m_d0{};
56 TH1* m_z0{};
57 TH1* m_z0sin{};
58 TH1* m_theta{};
59 TH1* m_qoverp{};
60 TH1* m_prodR{};
61 TH1* m_prodZ{};
62 TH1* m_nSiHits{};
64 TH1* m_chi2{};
65 TH1* m_ndof{};
67 TH1* m_author{};
68 TH1* m_time{};
72 TH2* m_z0_vs_d0{};
74
76 TH1* m_sigma_pt{};
79 TH1* m_sigma_d0{};
80 TH1* m_sigma_z0{};
83
92
93 }; // class TrackParametersPlots
94
95} // namespace IDTPM
96
97#endif // > ! INDETTRACKPERFMON_PLOTS_TRACKPARAMETERSPLOTS_H
Derived class to give extra capabilities to TrkValHistUtils/PlotBase.h such as ATH_MSG and an easier ...
PlotMgr(const std::string &dirName, const std::string &anaTag, PlotMgr *pParent=nullptr)
Constructor taking parent node and directory name for plots pParent = nullptr by default to book plot...
Definition PlotMgr.cxx:25
TrackParametersPlots(PlotMgr *pParent, const std::string &dirName, const std::string &anaTag, const std::string &trackType, bool plotErrors=false, bool recomputeIP=false)
Constructor.
virtual ~TrackParametersPlots()=default
Destructor.
TH1 * m_significance_pt
significance plots
StatusCode fillPlots(const PARTICLE &particle, float weight)
Dedicated fill method (for tracks and/or truth particles)
void initializePlots()
Book the histograms.
void finalizePlots()
Print out final stats on histograms.
Athena include(s).