ATLAS Offline Software
Event
xAOD
xAODTruth
xAODTruth
xAODTruthHelpers.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef XAODTRUTH_XAODTRUTHHELPERS_H
8
#define XAODTRUTH_XAODTRUTHHELPERS_H
9
10
// Local include(s):
11
#include "
xAODTruth/TruthParticleFwd.h
"
12
13
namespace
xAOD
{
14
15
// Forward declaration(s):
16
class
IParticle
;
17
19
namespace
TruthHelpers {
20
22
const
TruthParticle
*
getTruthParticle
(
const
xAOD::IParticle
&
p
);
23
25
const
TruthParticle
*
getFinalCopy
(
const
xAOD::TruthParticle
&
particle
);
26
29
int
getParticleTruthType
(
const
xAOD::IParticle
&
p
);
30
33
int
getParticleTruthOrigin
(
const
xAOD::IParticle
&
p
);
34
35
}
// namespace TruthHelpers
36
37
}
// namespace xAOD
38
39
#endif // XAODTRUTH_XAODTRUTHHELPERS_H
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition:
ParticleHypothesis.h:76
TruthParticleFwd.h
TruthParticle
Definition:
PhysicsAnalysis/TruthParticleID/McParticleEvent/McParticleEvent/TruthParticle.h:58
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:37
xAOD::TruthHelpers::getFinalCopy
const xAOD::TruthParticle * getFinalCopy(const xAOD::TruthParticle &particle)
Return the final copy of the truth particle (or same particle if no copies done)
Definition:
xAODTruthHelpers.cxx:69
xAOD::TruthHelpers::getTruthParticle
const xAOD::TruthParticle * getTruthParticle(const xAOD::IParticle &p)
Return the truthParticle associated to the given IParticle (if any)
Definition:
xAODTruthHelpers.cxx:25
xAOD::TruthHelpers::getParticleTruthOrigin
int getParticleTruthOrigin(const xAOD::IParticle &p)
Return the particle's truth origin (as defined by the MC Truth Classifier)
Definition:
xAODTruthHelpers.cxx:109
xAOD::TruthHelpers::getParticleTruthType
int getParticleTruthType(const xAOD::IParticle &p)
Return the particle's truth type (as defined by the MC Truth Classifier)
Definition:
xAODTruthHelpers.cxx:91
IParticle
Definition:
Event/EventKernel/EventKernel/IParticle.h:43
Generated on Sun Dec 22 2024 21:22:59 for ATLAS Offline Software by
1.8.18