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