ATLAS Offline Software
|
Generic accessor to access xAOD object content. More...
#include <GenAccessor.h>
Public Member Functions | |
GenAccessor (const SG::ReadHandleKey< T_Cont > &key, T_HelperKit &&helper_kit, IProxyLoader::VariableType variable_type) | |
virtual int | loadInt (const EventContext &ctx) const override |
virtual double | loadDouble (const EventContext &ctx) const override |
virtual std::vector< int > | loadVecInt (const EventContext &ctx) const override |
virtual std::vector< double > | loadVec (const EventContext &ctx) const override |
virtual IProxyLoader::VariableType | variableType () const override |
Static Public Member Functions | |
static void | throwInvalidHandle (const std::string &key) |
static void | throwVectorContainsNotOneElement (const std::string &key, std::size_t n_elements) |
Protected Member Functions | |
template<class T_Dest > | |
std::vector< T_Dest > | loadVector (const EventContext &ctx) const |
template<class T_Dest > | |
T_Dest | loadScalar (const EventContext &ctx) const |
Protected Attributes | |
const SG::ReadHandleKey< T_Cont > * | m_key |
T_HelperKit | m_helperKit |
Private Attributes | |
IProxyLoader::VariableType | m_variableType |
Generic accessor to access xAOD object content.
It uses several auxiliary classes to provide accessor, decoration handle, or method call based access to content of AuxVectorBase or AuxElement containers.
Definition at line 63 of file GenAccessor.h.
|
inline |
Definition at line 65 of file GenAccessor.h.
|
inlineoverridevirtual |
Implements ExpressionParsing::IAccessor.
Definition at line 74 of file GenAccessor.h.
|
inlineoverridevirtual |
Implements ExpressionParsing::IAccessor.
Definition at line 71 of file GenAccessor.h.
|
inlineprotected |
Definition at line 99 of file GenAccessor.h.
|
inlineoverridevirtual |
Implements ExpressionParsing::IAccessor.
Definition at line 80 of file GenAccessor.h.
|
inlineoverridevirtual |
Implements ExpressionParsing::IAccessor.
Definition at line 77 of file GenAccessor.h.
|
inlineprotected |
Definition at line 85 of file GenAccessor.h.
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlineoverridevirtualinherited |
Implements ExpressionParsing::IAccessor.
Definition at line 30 of file BaseAccessor.h.
|
protected |
Definition at line 110 of file GenAccessor.h.
|
protected |
Definition at line 109 of file GenAccessor.h.
|
privateinherited |
Definition at line 35 of file BaseAccessor.h.