ATLAS Offline Software
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
Trk::TruthInfoPlots::origin
TH1 * origin
Definition:
TruthInfoPlots.h:19
PlotBase
Definition:
PlotBase.h:34
python.copyTCTOutput.sDir
sDir
Definition:
copyTCTOutput.py:60
dqt_zlumi_pandas.weight
int weight
Definition:
dqt_zlumi_pandas.py:189
Trk::TruthInfoPlots::init
void init()
Definition:
TruthInfoPlots.cxx:10
Trk::TruthInfoPlots::initializePlots
void initializePlots()
Definition:
TruthInfoPlots.cxx:16
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:37
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::TruthInfoPlots
Definition:
TruthInfoPlots.h:13
Trk::TruthInfoPlots::TruthInfoPlots
TruthInfoPlots(PlotBase *pParent, const std::string &sDir)
Definition:
TruthInfoPlots.h:15
TruthParticle.h
PlotBase.h
Trk::TruthInfoPlots::fill
void fill(const xAOD::TruthParticle &truthprt, float weight=1.0)
Definition:
TruthInfoPlots.cxx:22
Trk::TruthInfoPlots::truthType
TH1 * truthType
Definition:
TruthInfoPlots.h:18
Generated on Thu Nov 7 2024 21:31:06 for ATLAS Offline Software by
1.8.18