ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkValidation
TrkValHistUtils
TrkValHistUtils
TruthInfoPlots.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_TRUTHINFOPLOTS_H
6
#define TRKVALHISTUTILS_TRUTHINFOPLOTS_H
7
8
#include "
PlotBase.h
"
9
#include "
xAODTruth/TruthParticle.h
"
10
11
namespace
Trk
{
12
13
class
TruthInfoPlots
:
public
PlotBase
{
14
public
:
15
TruthInfoPlots
(
PlotBase
*pParent,
const
std::string& sDir):
PlotBase
(pParent, sDir){
init
();}
16
void
fill
(
const
xAOD::TruthParticle
& truthprt,
float
weight=1.0);
17
18
TH1*
truthType
;
19
TH1*
origin
;
20
21
private
:
22
void
init
();
23
void
initializePlots
();
24
25
};
26
27
}
28
29
#endif
30
TruthParticle.h
PlotBase.h
PlotBase::PlotBase
PlotBase(PlotBase *parent, std::string_view sDir)
Definition
PlotBase.cxx:29
Trk::TruthInfoPlots::init
void init()
Definition
TruthInfoPlots.cxx:10
Trk::TruthInfoPlots::initializePlots
void initializePlots()
Definition
TruthInfoPlots.cxx:16
Trk::TruthInfoPlots::TruthInfoPlots
TruthInfoPlots(PlotBase *pParent, const std::string &sDir)
Definition
TruthInfoPlots.h:15
Trk::TruthInfoPlots::fill
void fill(const xAOD::TruthParticle &truthprt, float weight=1.0)
Definition
TruthInfoPlots.cxx:22
Trk::TruthInfoPlots::origin
TH1 * origin
Definition
TruthInfoPlots.h:19
Trk::TruthInfoPlots::truthType
TH1 * truthType
Definition
TruthInfoPlots.h:18
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
Generated on
for ATLAS Offline Software by
1.17.0