1 #ifndef GAUDISVC_DATAONDEMANDSVC_H 2 #define GAUDISVC_DATAONDEMANDSVC_H 154 using extends::extends;
253 "dump configuration and stastics, if set to True after initialize it triggers a dump immediately"};
256 this,
"AllowPreInitializeFailure",
false,
257 "allow (pre)initialization of algorithms to fail without stopping the application"};
271 this,
"NodeMappingTools", {},
"list of tools of type IDODNodeMapper"};
273 this,
"AlgMappingTools", {},
"list of tools of type IDODAlgMapper"};
280 #endif // GAUDISVC_DATAONDEMANDSVC_H void i_setNodeHandler(const std::string &name, const std::string &type)
Internal method to initialize a node handler.
The DataOnDemandSvc listens to incidents typically triggered by the data service of the configurable ...
Implementation of property with value of concrete type.
ChronoEntity m_timer_algs
Gaudi::StateMachine::State FSMState() const override
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
a small helper class for implementation of ChronoStatSvc service, It also could be used as some local...
SmartIF< IIncidentSvc > m_incSvc
Incident service.
void handle(const Incident &incident) override
IIncidentListener interfaces overrides: incident handling.
std::vector< std::string > Setup
The IAlgManager is the interface implemented by the Algorithm Factory in the Application Manager to s...
Gaudi::Property< std::string > m_trapType
Gaudi::Property< Map > m_nodeMap
Gaudi::Property< bool > m_init
const std::string name() const
property name
Data provider interface definition.
StatusCode initialize() override
Inherited Service overrides: Service initialization.
void dump(const MSG::Level level, const bool mode=true) const
dump the content of DataOnDemand service
void force_update(Gaudi::Details::PropertyBase &p)
void deprecated_property(Gaudi::Details::PropertyBase &p)
SmartIF< IDataProviderSvc > m_dataSvc
Data provider reference.
Gaudi::Property< Setup > m_algMapping
Gaudi::Property< std::vector< std::string > > m_algMapTools
const std::string & name() const override
Retrieve name of the service.
ClassH clazz
the actual class
Gaudi::Property< std::string > m_prefix
unsigned long long m_stat
Gaudi::Property< std::vector< std::string > > m_nodeMapTools
Helper class to parse a string of format "type/name".
Gaudi::Property< Map > m_algMap
StatusCode setup()
Setup routine (called by (re-) initialize.
StatusCode execHandler(const std::string &tag, Leaf &leaf)
Execute leaf handler (algorithm)
This class is used for returning status codes from appropriate routines.
StatusCode setupNodeHandlers()
Initialize node handlers.
Helper class of the DataOnDemandSvc.
MsgStream & verbose() const
shortcut for the method msgStream(MSG::VERBOSE)
NodeMap m_nodes
Map of "empty" objects to be placed as intermediate nodes.
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
The IAlgorithm is the interface implemented by the Algorithm base class.
Gaudi::Property< bool > m_partialPath
std::vector< IDODNodeMapper * > m_nodeMappers
SmartIF< IAlgManager > m_algMgr
Algorithm manager.
Node(ClassH c, bool e, std::string n)
SmartIF< IToolSvc > m_toolSvc
Data provider reference.
AlgMap m_algs
Map of algorithms to handle incidents.
Base class used to extend a class implementing other interfaces.
Gaudi::Property< Setup > m_nodeMapping
Leaf(std::string t, std::string n)
ChronoEntity m_timer_nodes
Gaudi::Property< std::string > m_dataSvcName
Base class for all Incidents (computing events).
bool dataObject
trivial object? DataObject?
StatusCode finalize() override
Inherited Service overrides: Service finalization.
GaudiUtils::HashMap< Gaudi::StringKey, Node > NodeMap
StatusCode setupAlgHandlers()
Initialize leaf handlers.
Helper class of the DataOnDemandSvc.
StatusCode i_setAlgHandler(const std::string &name, const Gaudi::Utils::TypeNameString &alg)
Internal method to initialize an algorithm handler.
Gaudi::Property< bool > m_dump
StatusCode configureHandler(Leaf &leaf)
Configure handler for leaf.
Gaudi::Property< bool > m_allowInitFailure
std::vector< IDODAlgMapper * > m_algMappers
std::map< std::string, std::string > Map
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
unsigned long long m_statNode
std::string documentation() const
property documentation
The interface implemented by the IncidentSvc service.
unsigned long long m_statAlg
StatusCode reinitialize() override
Inherited Service overrides: Service reinitialization.
StatusCode update()
update the handlers
GaudiUtils::HashMap< Gaudi::StringKey, Leaf > AlgMap