ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
ExpressionParsing::DecorHelper< T_Cont, T_src >::Kit Class Reference

Auxiliary class to create the corresponding auxiliary helper object. More...

#include <xAODAccessor.h>

Collaboration diagram for ExpressionParsing::DecorHelper< T_Cont, T_src >::Kit:

Public Member Functions

 Kit (Kit &&)=default
 
 Kit (const SG::ReadDecorHandleKey< T_Cont > &key)
 
DecorHelper< T_Cont, T_src > create (const EventContext &ctx, SG::ReadHandle< T_Cont > &handle) const
 

Private Attributes

const SG::ReadDecorHandleKey< T_Cont > * m_decorKey
 

Detailed Description

template<class T_Cont, typename T_src>
class ExpressionParsing::DecorHelper< T_Cont, T_src >::Kit

Auxiliary class to create the corresponding auxiliary helper object.

Definition at line 98 of file xAODAccessor.h.

Constructor & Destructor Documentation

◆ Kit() [1/2]

template<class T_Cont , typename T_src >
ExpressionParsing::DecorHelper< T_Cont, T_src >::Kit::Kit ( Kit &&  )
default

◆ Kit() [2/2]

template<class T_Cont , typename T_src >
ExpressionParsing::DecorHelper< T_Cont, T_src >::Kit::Kit ( const SG::ReadDecorHandleKey< T_Cont > &  key)
inline

Definition at line 101 of file xAODAccessor.h.

101 : m_decorKey(&key) {}

Member Function Documentation

◆ create()

template<class T_Cont , typename T_src >
DecorHelper<T_Cont,T_src> ExpressionParsing::DecorHelper< T_Cont, T_src >::Kit::create ( const EventContext &  ctx,
SG::ReadHandle< T_Cont > &  handle 
) const
inline

Definition at line 103 of file xAODAccessor.h.

103  {
104  (void) handle;
105  try {
106  return DecorHelper<T_Cont,T_src>(ctx, *m_decorKey, handle);
107  }
108  catch (std::exception &err) {
109  dumpAux(*handle, 357);
110  throw err;
111  }
112  return DecorHelper<T_Cont,T_src>(ctx, *m_decorKey, handle);
113  }

Member Data Documentation

◆ m_decorKey

template<class T_Cont , typename T_src >
const SG::ReadDecorHandleKey<T_Cont>* ExpressionParsing::DecorHelper< T_Cont, T_src >::Kit::m_decorKey
private

Definition at line 115 of file xAODAccessor.h.


The documentation for this class was generated from the following file:
dqt_zlumi_pandas.err
err
Definition: dqt_zlumi_pandas.py:193
calibdata.exception
exception
Definition: calibdata.py:496
ExpressionParsing::dumpAux
void dumpAux(const T &cont, SG::auxid_t method_id)
Method for debugging to dump information of all aux member of the given container and the specific au...
Definition: DebugUtils.h:55
ExpressionParsing::DecorHelper::Kit::m_decorKey
const SG::ReadDecorHandleKey< T_Cont > * m_decorKey
Definition: xAODAccessor.h:115
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37