ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
TruthUtils
TruthUtils
MCTruthClassifierGen.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRUTHUTILS_MCTRUTHCLASSIFIERGEN_H
6
#define TRUTHUTILS_MCTRUTHCLASSIFIERGEN_H
7
/*
8
* Declarations of the free functions implementing the classification of
9
* truth particles (see src/MCTruthClassifierGen.cxx).
10
*/
11
12
#include "
TruthUtils/TruthClasses.h
"
13
#include "
xAODTruth/TruthParticle.h
"
14
#include "
xAODTruth/TruthParticleContainer.h
"
15
#include <utility>
16
17
namespace
MCTruthPartClassifier
{
18
21
std::pair<ParticleType, ParticleOrigin>
22
classifyTruthParticle
(
const
xAOD::TruthParticleContainer
& truthParticleContainer,
23
const
xAOD::TruthParticle
*
const
thePart,
24
ParticleOutCome
& outCome);
25
26
}
// namespace MCTruthPartClassifier
27
28
#endif
// TRUTHUTILS_MCTRUTHCLASSIFIERGEN_H
TruthParticleContainer.h
TruthParticle.h
TruthClasses.h
MCTruthPartClassifier
Definition
MCTruthClassifierGen.cxx:19
MCTruthPartClassifier::ParticleOutCome
ParticleOutCome
Outcome of a (simulated) truth particle: what happened to it after being produced,...
Definition
TruthClasses.h:139
MCTruthPartClassifier::classifyTruthParticle
std::pair< ParticleType, ParticleOrigin > classifyTruthParticle(const xAOD::TruthParticleContainer &truthParticleContainer, const xAOD::TruthParticle *const thePart, ParticleOutCome &outCome)
Classify thePart (not nullptr), using truthParticleContainer to look up its ancestors.
Definition
MCTruthClassifierGen.cxx:29
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
xAOD::TruthParticleContainer
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticleContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0