ATLAS Offline Software
DefParamPullPlots.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 TRKVALHISTUTILS_DEFPARAMPULLPLOTS_H
6 #define TRKVALHISTUTILS_DEFPARAMPULLPLOTS_H
7 
8 #include "PlotBase.h"
11 
12 namespace Trk{
13 
14 class DefParamPullPlots: public PlotBase {
15  public:
16  DefParamPullPlots(PlotBase *pParent, const std::string& sDir, const std::string& sType=""):PlotBase(pParent, sDir),m_sType(sType){ init();}
17  void fill(const xAOD::TrackParticle& trkprt, const xAOD::TruthParticle& truthprt, float weight=1.0);
18 
19  TH1* Pull_d0;
20  TH1* Pull_z0;
21  TH1* Pull_theta;
22  TH1* Pull_phi;
24 
30 
31  private:
32  std::string m_sType;
33  void init();
34  void initializePlots();
35 };
36 
37 }
38 #endif
Trk::DefParamPullPlots::Pull_d0
TH1 * Pull_d0
Definition: DefParamPullPlots.h:19
Trk::DefParamPullPlots::Pull_phi
TH1 * Pull_phi
Definition: DefParamPullPlots.h:22
PlotBase
Definition: PlotBase.h:34
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
Trk::DefParamPullPlots::Pull_d0_vs_pt
TH2 * Pull_d0_vs_pt
Definition: DefParamPullPlots.h:25
Trk::DefParamPullPlots::Pull_qOverP_vs_pt
TH2 * Pull_qOverP_vs_pt
Definition: DefParamPullPlots.h:29
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
Trk::DefParamPullPlots::Pull_theta_vs_pt
TH2 * Pull_theta_vs_pt
Definition: DefParamPullPlots.h:27
Trk::DefParamPullPlots::fill
void fill(const xAOD::TrackParticle &trkprt, const xAOD::TruthParticle &truthprt, float weight=1.0)
Definition: DefParamPullPlots.cxx:56
Trk::DefParamPullPlots::init
void init()
Definition: DefParamPullPlots.cxx:12
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:37
Trk::DefParamPullPlots::initializePlots
void initializePlots()
Definition: DefParamPullPlots.cxx:27
Trk::DefParamPullPlots::DefParamPullPlots
DefParamPullPlots(PlotBase *pParent, const std::string &sDir, const std::string &sType="")
Definition: DefParamPullPlots.h:16
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
TrackParticle.h
Trk::DefParamPullPlots::Pull_z0
TH1 * Pull_z0
Definition: DefParamPullPlots.h:20
Trk::DefParamPullPlots::m_sType
std::string m_sType
Definition: DefParamPullPlots.h:32
Trk::DefParamPullPlots::Pull_theta
TH1 * Pull_theta
Definition: DefParamPullPlots.h:21
Trk::DefParamPullPlots::Pull_z0_vs_pt
TH2 * Pull_z0_vs_pt
Definition: DefParamPullPlots.h:26
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
Trk::DefParamPullPlots::Pull_qOverP
TH1 * Pull_qOverP
Definition: DefParamPullPlots.h:23
TruthParticle.h
PlotBase.h
Trk::DefParamPullPlots
Definition: DefParamPullPlots.h:14
Trk::DefParamPullPlots::Pull_phi_vs_pt
TH2 * Pull_phi_vs_pt
Definition: DefParamPullPlots.h:28