ATLAS Offline Software
Loading...
Searching...
No Matches
IParticleHelpers.h File Reference
#include "xAODBase/IParticle.h"
#include "xAODBase/IParticleContainer.h"
#include "AthLinks/ElementLink.h"
Include dependency graph for IParticleHelpers.h:

Go to the source code of this file.

Namespaces

namespace  xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.

Functions

bool xAOD::setOriginalObjectLink (const IParticle &original, IParticle &copy)
 This function should be used by CP tools when they make a deep copy of an object in their correctedCopy(...) function.
bool xAOD::setOriginalObjectLink (const IParticleContainer &original, IParticleContainer &copy)
 This function should be used by the users when they make deep/shallow copies of an entire container.
const IParticlexAOD::getOriginalObject (const IParticle &copy)
 This function can be used to conveniently get a pointer back to the original object from which a copy was created.
const ElementLink< IParticleContainer > & xAOD::getOriginalObjectLink (const IParticle &copy)
 This function should be used instead of xAOD::getOriginalObject when we want to use the "original object" as a link, and not primarily as an object itself.