ATLAS Offline Software
Tracking/TrkValidation/TrkValHistUtils/TrkValHistUtils/ParamPlots.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRKVALHISTUTILS_PARAMPLOTS_H
6 #define TRKVALHISTUTILS_PARAMPLOTS_H
7 
8 #include "PlotBase.h"
9 #include "xAODBase/IParticle.h"
10 
11 namespace Trk{
12 
13 class ParamPlots:public PlotBase {
14  public:
15  ParamPlots(PlotBase *pParent, const std::string& sDir, std::string sParticleType);
16  void fill(const xAOD::IParticle& prt, float weight=1.0);
17 
18  TH1* eta;
19  TH1* phi;
20  TH1* pt;
21 
22  TH2* eta_phi;
23  TH2* eta_pt;
24 
25  private:
26  void initializePlots();
27  std::string m_sParticleType;
28 };
29 
30 }
31 
32 #endif // TRKVALHISTUTILS_PARAMPLOTS_H
33 
Trk::ParamPlots::fill
void fill(const xAOD::IParticle &prt, float weight=1.0)
Definition: Tracking/TrkValidation/TrkValHistUtils/Root/ParamPlots.cxx:40
Trk::ParamPlots
Definition: Tracking/TrkValidation/TrkValHistUtils/TrkValHistUtils/ParamPlots.h:13
IParticle.h
PlotBase
Definition: PlotBase.h:34
Trk::ParamPlots::pt
TH1 * pt
Definition: Tracking/TrkValidation/TrkValHistUtils/TrkValHistUtils/ParamPlots.h:20
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
Trk::ParamPlots::eta
TH1 * eta
Definition: Tracking/TrkValidation/TrkValHistUtils/TrkValHistUtils/ParamPlots.h:18
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
Trk::ParamPlots::eta_pt
TH2 * eta_pt
Definition: Tracking/TrkValidation/TrkValHistUtils/TrkValHistUtils/ParamPlots.h:23
Trk::ParamPlots::initializePlots
void initializePlots()
Definition: Tracking/TrkValidation/TrkValHistUtils/Root/ParamPlots.cxx:23
Trk::ParamPlots::m_sParticleType
std::string m_sParticleType
Definition: Tracking/TrkValidation/TrkValHistUtils/TrkValHistUtils/ParamPlots.h:27
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::ParamPlots::ParamPlots
ParamPlots(PlotBase *pParent, const std::string &sDir, std::string sParticleType)
Definition: Tracking/TrkValidation/TrkValHistUtils/Root/ParamPlots.cxx:12
Trk::ParamPlots::eta_phi
TH2 * eta_phi
Definition: Tracking/TrkValidation/TrkValHistUtils/TrkValHistUtils/ParamPlots.h:22
PlotBase.h
Trk::ParamPlots::phi
TH1 * phi
Definition: Tracking/TrkValidation/TrkValHistUtils/TrkValHistUtils/ParamPlots.h:19