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

#include <PlainAccessor.h>

Inheritance diagram for ExpressionParsing::PlainAccessorFactory::PlainValueKit< T, T_variable_type >:
Collaboration diagram for ExpressionParsing::PlainAccessorFactory::PlainValueKit< 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::PlainValueKit< T, T_variable_type >

Definition at line 163 of file PlainAccessor.h.

Member Function Documentation

◆ createAccessor()

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

Implements ExpressionParsing::PlainAccessorFactory::IKit.

Definition at line 165 of file PlainAccessor.h.

165  {
166  const SG::ReadHandleKey<T > *key = std::any_cast<SG::ReadHandleKey<T > >(&handle_key);
167  assert( key );
168  return std::make_unique<GenAccessor<T,
169  typename PlainValueHelper<T>::Kit,
170  ScalarHelper> >(*key,
171  typename PlainValueHelper<T>::Kit(),
172  T_variable_type);
173  }

◆ registerReadKey()

template<typename T , IProxyLoader::VariableType T_variable_type>
virtual bool ExpressionParsing::PlainAccessorFactory::PlainValueKit< 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 174 of file PlainAccessor.h.

178  {
179  return PlainAccessorFactory::registerReadKey<T >(read_keys, parent, var_name, new_input_handles, verbose);
180  }

The documentation for this class was generated from the following file:
make_unique
std::unique_ptr< T > make_unique(Args &&... args)
Definition: SkimmingToolEXOT5.cxx:23
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
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37