ATLAS Offline Software
Loading...
Searching...
No Matches
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
SG::WriteDecorHandle< T, unsigned int > classification

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 310 of file egammaTruthAssociationAlg.cxx.

313 : el(hkeys.at(0), ctx)
314 , type(hkeys.at(1), ctx)
315 , origin(hkeys.at(2), ctx)
316 , classification(hkeys.at(3), ctx)
317{}
helper class to contain write decoration handles
SG::WriteDecorHandle< T, unsigned int > classification
SG::WriteDecorHandle< T, ElementLink< xAOD::TruthParticleContainer > > el

Member Function Documentation

◆ readHandle()

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

Definition at line 86 of file egammaTruthAssociationAlg.h.

86{ return type; };

Member Data Documentation

◆ classification

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

Definition at line 83 of file egammaTruthAssociationAlg.h.

◆ el

◆ origin

Definition at line 82 of file egammaTruthAssociationAlg.h.

◆ type


The documentation for this struct was generated from the following files: