ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
egammaTruthAssociationAlg::writeDecorHandles< T > Struct Template Reference

helper class to contain write decoration handles More...

Collaboration diagram for egammaTruthAssociationAlg::writeDecorHandles< T >:

Public Member Functions

 writeDecorHandles (const SG::WriteDecorHandleKeyArray< T > &keys, const EventContext &ctx)
 
SG::ReadHandle< T > & readHandle ()
 

Public Attributes

SG::WriteDecorHandle< T, ElementLink< xAOD::TruthParticleContainer > > el
 
SG::WriteDecorHandle< T, int > type
 
SG::WriteDecorHandle< T, int > origin
 

Detailed Description

template<class T>
struct egammaTruthAssociationAlg::writeDecorHandles< T >

helper class to contain write decoration handles

Definition at line 75 of file egammaTruthAssociationAlg.h.

Constructor & Destructor Documentation

◆ writeDecorHandles()

template<class T >
egammaTruthAssociationAlg::writeDecorHandles< T >::writeDecorHandles ( const SG::WriteDecorHandleKeyArray< T > &  keys,
const EventContext &  ctx 
)

Definition at line 300 of file egammaTruthAssociationAlg.cxx.

303  : el(hkeys.at(0), ctx)
304  , type(hkeys.at(1), ctx)
305  , origin(hkeys.at(2), ctx)
306 {}

Member Function Documentation

◆ readHandle()

template<class T >
SG::ReadHandle<T>& egammaTruthAssociationAlg::writeDecorHandles< T >::readHandle ( )
inline

Definition at line 85 of file egammaTruthAssociationAlg.h.

85 { return type; };

Member Data Documentation

◆ el

Definition at line 80 of file egammaTruthAssociationAlg.h.

◆ origin

template<class T >
SG::WriteDecorHandle<T, int> egammaTruthAssociationAlg::writeDecorHandles< T >::origin

Definition at line 82 of file egammaTruthAssociationAlg.h.

◆ type

Definition at line 81 of file egammaTruthAssociationAlg.h.


The documentation for this struct was generated from the following files:
egammaTruthAssociationAlg::writeDecorHandles::type
SG::WriteDecorHandle< T, int > type
Definition: egammaTruthAssociationAlg.h:81
egammaTruthAssociationAlg::writeDecorHandles::origin
SG::WriteDecorHandle< T, int > origin
Definition: egammaTruthAssociationAlg.h:82
egammaTruthAssociationAlg::writeDecorHandles::el
SG::WriteDecorHandle< T, ElementLink< xAOD::TruthParticleContainer > > el
Definition: egammaTruthAssociationAlg.h:80