ATLAS Offline Software
Loading...
Searching...
No Matches
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
IParticle.h
PlotBase.h
PlotBase::PlotBase
PlotBase(PlotBase *parent, const std::string &sDir)
Definition
PlotBase.cxx:29
Trk::ParamPlots::eta_pt
TH2 * eta_pt
Definition
ParamPlots.h:23
Trk::ParamPlots::m_sParticleType
std::string m_sParticleType
Definition
ParamPlots.h:27
Trk::ParamPlots::phi
TH1 * phi
Definition
ParamPlots.h:19
Trk::ParamPlots::ParamPlots
ParamPlots(PlotBase *pParent, const std::string &sDir, std::string sParticleType)
Definition
ParamPlots.cxx:12
Trk::ParamPlots::fill
void fill(const xAOD::IParticle &prt, float weight=1.0)
Definition
ParamPlots.cxx:40
Trk::ParamPlots::initializePlots
void initializePlots()
Definition
ParamPlots.cxx:23
Trk::ParamPlots::eta_phi
TH2 * eta_phi
Definition
ParamPlots.h:22
Trk::ParamPlots::pt
TH1 * pt
Definition
ParamPlots.h:20
Trk::ParamPlots::eta
TH1 * eta
Definition
ParamPlots.h:18
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.14.0