ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ExpressionParserUser< T_Base, NUM_PARSER > Class Template Reference

#include <ExpressionParserUser.h>

Inheritance diagram for ExpressionParserUser< T_Base, NUM_PARSER >:
Collaboration diagram for ExpressionParserUser< T_Base, NUM_PARSER >:

Public Member Functions

template<typename... Args>
 ExpressionParserUser (Args...args)
 
StatusCode initializeParser (const ExpressionParsing::SelectionArg< NUM_PARSER > &selection_string)
 
StatusCode finalizeParser ()
 
virtual bool updateDataNeeds (const std::vector< const DataObjID * > &input_data_in, const std::vector< const DataObjID * > &output_data_in, std::vector< Gaudi::DataHandle * > &new_input_handles, std::vector< Gaudi::DataHandle * > &new_output_handles) override
 Inform a dynamic data consumer about all consumed or produced data. More...
 
virtual bool renounceInput (const DataObjID &output_data_id) override
 

Protected Member Functions

StatusCode _initializeParser (const ExpressionParsing::SelectionArg< NUM_PARSER > &selection_string, ExpressionParsing::AppendLoaderFunc pre_xaod_loader=ExpressionParsing::NoLoaderFunc, ExpressionParsing::AppendLoaderFunc post_xaod_loader=ExpressionParsing::NoLoaderFunc)
 

Protected Attributes

ExpressionParsing::SGxAODProxyLoaderm_xAODProxyLoader
 The expression parser. More...
 
std::unique_ptr< ExpressionParsing::IProxyLoaderm_proxyLoaders
 
std::conditional< NUM_PARSER==1, std::unique_ptr< ExpressionParsing::ExpressionParser >, std::array< std::unique_ptr< ExpressionParsing::ExpressionParser >, NUM_PARSER > >::type m_parser
 
std::vector< std::string > m_renounce
 

Detailed Description

template<class T_Base, unsigned short const NUM_PARSER = 1>
class ExpressionParserUser< T_Base, NUM_PARSER >

Definition at line 106 of file ExpressionParserUser.h.

Constructor & Destructor Documentation

◆ ExpressionParserUser()

template<class T_Base , unsigned short const NUM_PARSER = 1>
template<typename... Args>
ExpressionParserUser< T_Base, NUM_PARSER >::ExpressionParserUser ( Args...  args)
inline

Member Function Documentation

◆ _initializeParser()

StatusCode ExpressionParserUserBase< T_Base, NUM_PARSER >::_initializeParser ( const ExpressionParsing::SelectionArg< NUM_PARSER > &  selection_string,
ExpressionParsing::AppendLoaderFunc  pre_xaod_loader = ExpressionParsing::NoLoaderFunc,
ExpressionParsing::AppendLoaderFunc  post_xaod_loader = ExpressionParsing::NoLoaderFunc 
)
protectedinherited

◆ finalizeParser()

StatusCode ExpressionParserUserBase< T_Base, NUM_PARSER >::finalizeParser
inherited

◆ initializeParser()

template<class T_Base , unsigned short const NUM_PARSER = 1>
StatusCode ExpressionParserUser< T_Base, NUM_PARSER >::initializeParser ( const ExpressionParsing::SelectionArg< NUM_PARSER > &  selection_string)

◆ renounceInput()

virtual bool ExpressionParserUserBase< T_Base, NUM_PARSER >::renounceInput ( const DataObjID &  output_data_id)
overridevirtualinherited

◆ updateDataNeeds()

virtual bool ExpressionParserUserBase< T_Base, NUM_PARSER >::updateDataNeeds ( const std::vector< const DataObjID * > &  input_data_in,
const std::vector< const DataObjID * > &  output_data_in,
std::vector< Gaudi::DataHandle * > &  new_input_handles,
std::vector< Gaudi::DataHandle * > &  new_output_handles 
)
overridevirtualinherited

Inform a dynamic data consumer about all consumed or produced data.

Parameters
input_data_inthe input data object IDs of all algorithms and tools
output_data_inthe output data object IDs of all algorithms and tools
new_input_handlesthe new input data handles added by this call
new_output_handlesthe new output data handles added by this call
Returns
true if the consumer did update its handles, false otherwise

Implements IDynamicDataConsumer.

Member Data Documentation

◆ m_parser

std::conditional< NUM_PARSER == 1, std::unique_ptr<ExpressionParsing::ExpressionParser>, std::array< std::unique_ptr<ExpressionParsing::ExpressionParser>, NUM_PARSER> >::type ExpressionParserUserBase< T_Base, NUM_PARSER >::m_parser
protectedinherited

Definition at line 100 of file ExpressionParserUser.h.

◆ m_proxyLoaders

std::unique_ptr<ExpressionParsing::IProxyLoader> ExpressionParserUserBase< T_Base, NUM_PARSER >::m_proxyLoaders
protectedinherited

Definition at line 97 of file ExpressionParserUser.h.

◆ m_renounce

std::vector<std::string> ExpressionParserUserBase< T_Base, NUM_PARSER >::m_renounce
protectedinherited

Definition at line 102 of file ExpressionParserUser.h.

◆ m_xAODProxyLoader

ExpressionParsing::SGxAODProxyLoader* ExpressionParserUserBase< T_Base, NUM_PARSER >::m_xAODProxyLoader
protectedinherited

The expression parser.

Definition at line 96 of file ExpressionParserUser.h.


The documentation for this class was generated from the following file:
ExpressionParserUserBase
Definition: ExpressionParserUser.h:74
python.CaloScaleNoiseConfig.args
args
Definition: CaloScaleNoiseConfig.py:80