ATLAS Offline Software
Loading...
Searching...
No Matches
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
TruthParticleFwd.h
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::TruthHelpers
Dedicated namespace for the helper functions.
Definition
xAODTruthHelpers.cxx:19
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::getParticleTruthType
int getParticleTruthType(const xAOD::IParticle &p)
Return the particle's truth type (as defined by the MC Truth Classifier)
Definition
xAODTruthHelpers.cxx:91
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
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
Generated on
for ATLAS Offline Software by
1.14.0