9#ifndef EGAMMA_ANALYSIS_ALGORITHMS__COPY_HELPERS_H
10#define EGAMMA_ANALYSIS_ALGORITHMS__COPY_HELPERS_H
26 typedef std::decay<
decltype(
33 const std::string& outputName,
const std::string& auxName)
44 return StatusCode::FAILURE;
47 ANA_MSG_ERROR (
"copy of EgammaContainer is not an EgammaContainer");
49 return StatusCode::FAILURE;
51 return StatusCode::SUCCESS;
Define macros for attributes used to control the static checker.
Select isolated Photons, Electrons and Muons.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void ClearTransientTrees ATLAS_NOT_THREAD_SAFE()
Function cleaning up the managed memory.
EgammaContainer_v1 EgammaContainer
Definition of the current "egamma container version".
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.
std::decay< decltype(*(std::declval< EL::AnaAlgorithm >().evtStore()))>::type StoreType
the type of the event store we use
static StatusCode getCopy(MsgStream &msgStream, StoreType &store, xAOD::EgammaContainer *&object, const xAOD::EgammaContainer *inputObject, const std::string &outputName, const std::string &auxName)
a helper class to create shallow copies and register them in the event store