#include <MultipleProxyLoader.h>
Definition at line 24 of file MultipleProxyLoader.h.
◆ proxyCache_t
◆ VariableType
Enumerator |
---|
VT_UNK | |
VT_INT | |
VT_DOUBLE | |
VT_VECINT | |
VT_VECDOUBLE | |
VT_VECEMPTY | |
Definition at line 21 of file IProxyLoader.h.
◆ MultipleProxyLoader()
ExpressionParsing::MultipleProxyLoader::MultipleProxyLoader |
( |
| ) |
|
◆ ~MultipleProxyLoader()
ExpressionParsing::MultipleProxyLoader::~MultipleProxyLoader |
( |
| ) |
|
|
virtual |
◆ loadDoubleVariableFromString()
double ExpressionParsing::MultipleProxyLoader::loadDoubleVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
virtual |
◆ loadIntVariableFromString()
int ExpressionParsing::MultipleProxyLoader::loadIntVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
virtual |
◆ loadVecDoubleVariableFromString()
std::vector< double > ExpressionParsing::MultipleProxyLoader::loadVecDoubleVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
virtual |
◆ loadVecIntVariableFromString()
std::vector< int > ExpressionParsing::MultipleProxyLoader::loadVecIntVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
virtual |
◆ push_back()
void ExpressionParsing::MultipleProxyLoader::push_back |
( |
IProxyLoader * |
proxyLoader | ) |
|
◆ reset()
void ExpressionParsing::MultipleProxyLoader::reset |
( |
| ) |
|
|
virtual |
◆ variableTypeFromString()
Implements ExpressionParsing::IProxyLoader.
Definition at line 42 of file MultipleProxyLoader.cxx.
44 auto itr = m_varnameToProxyLoader.find(
varname);
45 if (itr != m_varnameToProxyLoader.end()) {
46 return itr->second->variableTypeFromString(
varname);
54 }
catch (
const std::runtime_error &) {
57 m_varnameToProxyLoader.emplace(
varname, proxyLoader);
60 std::stringstream
msg;
61 msg <<
"MultipleProxyLoader: unable to find valid proxy loader for " <<
varname <<
"."
62 <<
" If it is an xAOD element or container which is read from the input file"
63 <<
" this problem may occur if it is not accessed anywhere in the job via read handles."
64 <<
" The problem can be mitigated by providing the missing information in the property "
65 <<
" ExtraDataForDynamicConsumers of the sequence which has the property "
66 <<
" ProcessDynamicDataDependencies set to True."
67 <<
" The property takes a list of strings of the form \'type/container-name\' e.g."
68 <<
" \'xAOD::TrackParticleContainer/InDetTrackParticles\'.";
69 throw std::runtime_error(
msg.str());
◆ ATLAS_THREAD_SAFE
proxyCache_t m_varnameToProxyLoader ExpressionParsing::MultipleProxyLoader::ATLAS_THREAD_SAFE |
|
mutableprivate |
◆ m_proxyLoaders
std::vector<IProxyLoader *> ExpressionParsing::MultipleProxyLoader::m_proxyLoaders |
|
private |
The documentation for this class was generated from the following files: