ATLAS Offline Software
Loading...
Searching...
No Matches
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
15#include <utility>
16
17namespace MCTruthPartClassifier {
18
21std::pair<ParticleType, ParticleOrigin>
22classifyTruthParticle(const xAOD::TruthParticleContainer& truthParticleContainer,
23 const xAOD::TruthParticle* const thePart,
24 ParticleOutCome& outCome);
25
26} // namespace MCTruthPartClassifier
27
28#endif // TRUTHUTILS_MCTRUTHCLASSIFIERGEN_H
ParticleOutCome
Outcome of a (simulated) truth particle: what happened to it after being produced,...
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.
TruthParticle_v1 TruthParticle
Typedef to implementation.
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.