ATLAS Offline Software
Public Member Functions | List of all members
ExpressionParsing::PlainAccessorFactory::StdVectorKit< T, T_variable_type > Class Template Reference

#include <PlainAccessor.h>

Inheritance diagram for ExpressionParsing::PlainAccessorFactory::StdVectorKit< T, T_variable_type >:
Collaboration diagram for ExpressionParsing::PlainAccessorFactory::StdVectorKit< T, T_variable_type >:

Public Member Functions

virtual std::unique_ptr< IAccessorcreateAccessor (const std::any &handle_key) const override
 
virtual bool registerReadKey (std::unordered_map< std::string, std::any > &read_keys, SGxAODProxyLoader::IParentHelper &parent, const std::string &var_name, std::vector< Gaudi::DataHandle * > &new_input_handles, bool verbose) const override
 

Detailed Description

template<typename T, IProxyLoader::VariableType T_variable_type>
class ExpressionParsing::PlainAccessorFactory::StdVectorKit< T, T_variable_type >

Definition at line 143 of file PlainAccessor.h.

Member Function Documentation

◆ createAccessor()

template<typename T , IProxyLoader::VariableType T_variable_type>
virtual std::unique_ptr<IAccessor> ExpressionParsing::PlainAccessorFactory::StdVectorKit< T, T_variable_type >::createAccessor ( const std::any &  handle_key) const
inlineoverridevirtual

Implements ExpressionParsing::PlainAccessorFactory::IKit.

Definition at line 145 of file PlainAccessor.h.

145  {
146  const SG::ReadHandleKey<std::vector<T> > *key = std::any_cast<SG::ReadHandleKey<std::vector<T> > >(&handle_key);
147  assert( key );
148  return std::make_unique<GenAccessor<std::vector<T>,
149  typename StdVectorHelper<T>::Kit,
150  VectorHelper> >(*key,
151  typename StdVectorHelper<T>::Kit(),
152  T_variable_type);
153  }

◆ registerReadKey()

template<typename T , IProxyLoader::VariableType T_variable_type>
virtual bool ExpressionParsing::PlainAccessorFactory::StdVectorKit< T, T_variable_type >::registerReadKey ( std::unordered_map< std::string, std::any > &  read_keys,
SGxAODProxyLoader::IParentHelper parent,
const std::string &  var_name,
std::vector< Gaudi::DataHandle * > &  new_input_handles,
bool  verbose 
) const
inlineoverridevirtual

Implements ExpressionParsing::PlainAccessorFactory::IKit.

Definition at line 154 of file PlainAccessor.h.

158  {
159  return PlainAccessorFactory::registerReadKey<std::vector<T> >(read_keys, parent, var_name, new_input_handles, verbose);
160  }

The documentation for this class was generated from the following file:
CheckAppliedSFs.var_name
var_name
Definition: CheckAppliedSFs.py:241
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
test_pyathena.parent
parent
Definition: test_pyathena.py:15
python.TriggerHandler.verbose
verbose
Definition: TriggerHandler.py:297
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37