ATLAS Offline Software
Event
xAOD
xAODBase
xAODBase
IParticleHelpers.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
/*
3
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4
*/
5
#ifndef XAODBASE_IPARTICLEHELPERS_H
6
#define XAODBASE_IPARTICLEHELPERS_H
7
8
// Local include(s):
9
#include "
xAODBase/IParticle.h
"
10
#include "
xAODBase/IParticleContainer.h
"
11
12
// EDM include(s).
13
#include "AthLinks/ElementLink.h"
14
15
namespace
xAOD
{
16
18
bool
setOriginalObjectLink
(
const
IParticle
& original,
19
IParticle
&
copy
);
20
22
bool
setOriginalObjectLink
(
const
IParticleContainer
& original,
23
IParticleContainer
&
copy
);
24
26
const
IParticle
*
getOriginalObject
(
const
IParticle
&
copy
);
27
29
const
ElementLink< IParticleContainer >
&
30
getOriginalObjectLink
(
const
IParticle
&
copy
);
31
32
}
// namespace xAOD
33
34
#endif // XAODBASE_IPARTICLEHELPERS_H
IParticle.h
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
IParticleContainer.h
xAOD::getOriginalObjectLink
const ElementLink< IParticleContainer > & getOriginalObjectLink(const IParticle ©)
This function should be used instead of xAOD::getOriginalObject when we want to use the "original obj...
Definition:
IParticleHelpers.cxx:168
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
ElementLink< IParticleContainer >
xAOD::setOriginalObjectLink
bool setOriginalObjectLink(const IParticle &original, IParticle ©)
This function should be used by CP tools when they make a deep copy of an object in their correctedCo...
Definition:
IParticleHelpers.cxx:30
calibdata.copy
bool copy
Definition:
calibdata.py:27
xAOD::getOriginalObject
const IParticle * getOriginalObject(const IParticle ©)
This function can be used to conveniently get a pointer back to the original object from which a copy...
Definition:
IParticleHelpers.cxx:140
IParticle
Definition:
Event/EventKernel/EventKernel/IParticle.h:43
Generated on Thu Nov 7 2024 21:17:24 for ATLAS Offline Software by
1.8.18