![]() |
The Gaudi Framework
v33r0 (d5ea422b)
|
Base class from which all concrete algorithm classes should be derived. More...
#include <Gaudi/Algorithm.h>


Public Member Functions | |
| Algorithm (const std::string &name, ISvcLocator *svcloc, const std::string &version=PACKAGE_VERSION) | |
| Constructor. More... | |
| StatusCode | sysStart () override |
| Reinitialization method invoked by the framework. More... | |
| StatusCode | sysInitialize () override |
| Initialization method invoked by the framework. More... | |
| StatusCode | sysReinitialize () override |
| Reinitialization method invoked by the framework. More... | |
| StatusCode | sysRestart () override |
| Restart method invoked by the framework. More... | |
| StatusCode | sysExecute (const EventContext &ctx) override |
| The actions to be performed by the algorithm on an event. More... | |
| StatusCode | sysStop () override |
| System stop. More... | |
| StatusCode | sysFinalize () override |
| System finalization. More... | |
| const std::string & | name () const override |
| The identifying name of the algorithm object. More... | |
| const Gaudi::StringKey & | nameKey () const override |
| const std::string & | type () const override |
| The type of the algorithm object. More... | |
| void | setType (const std::string &type) override |
| const std::string & | version () const override |
| unsigned int | index () const override |
| StatusCode | configure () override |
| Dummy implementation of IStateful::configure() method. More... | |
| StatusCode | terminate () override |
| Dummy implementation of IStateful::terminate() method. More... | |
| StatusCode | initialize () override |
| the default (empty) implementation of IStateful::initialize() method More... | |
| StatusCode | start () override |
| the default (empty) implementation of IStateful::start() method More... | |
| StatusCode | stop () override |
| the default (empty) implementation of IStateful::stop() method More... | |
| StatusCode | finalize () override |
| the default (empty) implementation of IStateful::finalize() method More... | |
| StatusCode | reinitialize () override |
| the default (empty) implementation of IStateful::reinitialize() method More... | |
| StatusCode | restart () override |
| the default (empty) implementation of IStateful::restart() method More... | |
| Gaudi::StateMachine::State | FSMState () const override |
| returns the current state of the algorithm More... | |
| Gaudi::StateMachine::State | targetFSMState () const override |
| returns the state the algorithm will be in after the ongoing transition More... | |
| bool | isEnabled () const override |
| Is this algorithm enabled or disabled? More... | |
| bool | isSequence () const override |
| Are we a Sequence? More... | |
| unsigned int | errorCount () const |
| Get the number of failures of the algorithm. More... | |
| template<class T > | |
| StatusCode | service (const std::string &name, T *&psvc, bool createIf=true) const |
| Access a service by name, creating it if it doesn't already exist. More... | |
| template<class T > | |
| StatusCode | service (const std::string &svcType, const std::string &svcName, T *&psvc) const |
| Access a service by name and type, creating it if it doesn't already exist. More... | |
| SmartIF< IService > | service (const std::string &name, const bool createIf=true, const bool quiet=false) const |
| Return a pointer to the service identified by name (or "type/name") More... | |
| template<class T > | |
| SmartIF< T > | service (const std::string &name, bool createIf=true, bool quiet=false) const |
| SmartIF< IAuditorSvc > & | auditorSvc () const |
| The standard auditor service.May not be invoked before sysInitialize() has been invoked. More... | |
| SmartIF< IChronoStatSvc > & | chronoSvc () const |
| The standard Chrono & Stat service, Return a pointer to the service if present. More... | |
| SmartIF< IChronoStatSvc > & | chronoStatService () const |
| SmartIF< IDataProviderSvc > & | detSvc () const |
| The standard detector data service. More... | |
| SmartIF< IDataProviderSvc > & | detDataService () const |
| SmartIF< IConversionSvc > & | detCnvSvc () const |
| The standard detector data persistency conversion service. More... | |
| SmartIF< IConversionSvc > & | detDataCnvService () const |
| SmartIF< IDataProviderSvc > & | eventSvc () const |
| The standard event data service. More... | |
| SmartIF< IDataProviderSvc > & | evtSvc () const |
| shortcut for method eventSvc More... | |
| SmartIF< IDataProviderSvc > & | eventDataService () const |
| SmartIF< IConversionSvc > & | eventCnvSvc () const |
| The standard event data persistency conversion service. More... | |
| SmartIF< IConversionSvc > & | eventDataCnvService () const |
| SmartIF< IHistogramSvc > & | histoSvc () const |
| The standard histogram service. More... | |
| SmartIF< IHistogramSvc > & | histogramDataService () const |
| SmartIF< INTupleSvc > & | ntupleSvc () const |
| The standard N tuple service. More... | |
| SmartIF< INTupleSvc > & | ntupleService () const |
| SmartIF< IRndmGenSvc > & | randSvc () const |
| The standard RandomGen service, Return a pointer to the service if present. More... | |
| SmartIF< IToolSvc > & | toolSvc () const |
| The standard ToolSvc service, Return a pointer to the service if present. More... | |
| SmartIF< IExceptionSvc > & | exceptionSvc () const |
| Get the exception Service. More... | |
| SmartIF< IAlgContextSvc > & | contextSvc () const |
| get Algorithm Context Service More... | |
| SmartIF< ITimelineSvc > & | timelineSvc () const |
| SmartIF< ISvcLocator > & | serviceLocator () const override |
| The standard service locator. More... | |
| SmartIF< ISvcLocator > & | svcLoc () const |
| shortcut for method serviceLocator More... | |
| SmartIF< IHiveWhiteBoard > & | whiteboard () const |
| SmartIF< IAlgExecStateSvc > & | algExecStateSvc () const |
| bool | registerContext () const |
| register for Algorithm Context Service? More... | |
| StatusCode | setProperties () |
| Set the algorithm's properties. More... | |
| template<class T > | |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, ToolHandle< T > &hndl, const std::string &doc="none") |
| template<class T > | |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, ToolHandleArray< T > &hndlArr, const std::string &doc="none") |
| SmartIF< IMonitorSvc > & | monitorSvc () const |
| Access the monitor service. More... | |
| template<class T > | |
| void | declareInfo (const std::string &name, const T &var, const std::string &desc) const |
| Declare monitoring information. More... | |
| void | declareInfo (const std::string &name, const std::string &format, const void *var, int size, const std::string &desc) const |
| Declare monitoring information (special case) More... | |
| void | acceptDHVisitor (IDataHandleVisitor *) const override |
| void | registerTool (IAlgTool *tool) const |
| void | deregisterTool (IAlgTool *tool) const |
| template<class T > | |
| StatusCode | declareTool (ToolHandle< T > &handle, bool createIf=true) |
| template<class T > | |
| StatusCode | declareTool (ToolHandle< T > &handle, std::string toolTypeAndName, bool createIf=true) |
| template<class T > | |
| void | addToolsArray (ToolHandleArray< T > &hndlArr) |
| const std::vector< IAlgTool * > & | tools () const |
| bool | isIOBound () const |
| void | setIOBound (bool value) |
| unsigned int | cardinality () const override |
| Return the cardinality. More... | |
| const std::vector< std::string > & | neededResources () const override |
| AlgExecState & | execState (const EventContext &ctx) const override |
| reference to AlgExecState of Alg More... | |
| std::ostream & | toControlFlowExpression (std::ostream &os) const override |
| Produce string represention of the control flow expression. More... | |
Public Member Functions inherited from DataHandleHolderBase< CounterHolder< PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > > > > | |
| std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| virtual const DataObjIDColl & | extraInputDeps () const override |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| void | declare (Gaudi::DataHandle &handle) override |
| void | renounce (Gaudi::DataHandle &handle) override |
| const DataObjIDColl & | inputDataObjs () const override |
| const DataObjIDColl & | outputDataObjs () const override |
| void | addDependency (const DataObjID &id, const Gaudi::DataHandle::Mode &mode) override |
Public Member Functions inherited from extends< CounterHolder< PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > > >, IDataHandleHolder > | |
| void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More... | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More... | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More... | |
Public Member Functions inherited from CounterHolder< PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > > > | |
| void | declareCounter (const std::string &tag, Gaudi::Accumulators::PrintableCounter &r) |
| const Gaudi::Accumulators::PrintableCounter * | findCounter (const std::string &tag) const |
| void | forEachCounter (Callable &&f) const |
| int | nCounters () const |
| std::size_t | nOfCountersToBePrinted () |
| void | clearCounters () |
Public Member Functions inherited from PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > > | |
| PropertyHolder ()=default | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Details::PropertyBase &prop) |
| Declare a property. More... | |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, TYPE &value, const std::string &doc="none") |
| Helper to wrap a regular data member and use it as a regular property. More... | |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, Gaudi::Property< TYPE, VERIFIER, HANDLERS > &prop, const std::string &doc="none") |
| Declare a PropertyBase instance setting name and documentation. More... | |
| Gaudi::Details::PropertyBase * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") |
| Declare a remote property. More... | |
| StatusCode | setProperty (const Gaudi::Details::PropertyBase &p) override |
| set the property form another property More... | |
| StatusCode | setProperty (const std::string &s) override |
| set the property from the formatted string More... | |
| StatusCode | setProperty (const std::string &n, const std::string &v) override |
| set the property from name and the value More... | |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| set the property form the value More... | |
| StatusCode | getProperty (Gaudi::Details::PropertyBase *p) const override |
| get the property More... | |
| const Gaudi::Details::PropertyBase & | getProperty (const std::string &name) const override |
| get the property by name More... | |
| StatusCode | getProperty (const std::string &n, std::string &v) const override |
| convert the property to the string More... | |
| const std::vector< Gaudi::Details::PropertyBase * > & | getProperties () const override |
| get all properties More... | |
| bool | hasProperty (const std::string &name) const override |
| Return true if we have a property with the given name. More... | |
| PropertyHolder (const PropertyHolder &)=delete | |
| PropertyHolder & | operator= (const PropertyHolder &)=delete |
Public Member Functions inherited from CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > | |
| MSG::Level | msgLevel () const |
| get the cached level (originally extracted from the embedded MsgStream) More... | |
| bool | msgLevel (MSG::Level lvl) const |
| get the output level from the embedded MsgStream More... | |
| MSG::Level | outputLevel () const |
| Backward compatibility function for getting the output level. More... | |
Public Member Functions inherited from CommonMessagingBase | |
| virtual | ~CommonMessagingBase ()=default |
| Virtual destructor. More... | |
| const SmartIF< IMessageSvc > & | msgSvc () const |
| The standard message service. More... | |
| MsgStream & | msgStream () const |
| Return an uninitialized MsgStream. More... | |
| MsgStream & | msgStream (const MSG::Level level) const |
| Predefined configurable message stream for the efficient printouts. More... | |
| MsgStream & | always () const |
| shortcut for the method msgStream(MSG::ALWAYS) More... | |
| MsgStream & | fatal () const |
| shortcut for the method msgStream(MSG::FATAL) More... | |
| MsgStream & | err () const |
| shortcut for the method msgStream(MSG::ERROR) More... | |
| MsgStream & | error () const |
| shortcut for the method msgStream(MSG::ERROR) More... | |
| MsgStream & | warning () const |
| shortcut for the method msgStream(MSG::WARNING) More... | |
| MsgStream & | info () const |
| shortcut for the method msgStream(MSG::INFO) More... | |
| MsgStream & | debug () const |
| shortcut for the method msgStream(MSG::DEBUG) More... | |
| MsgStream & | verbose () const |
| shortcut for the method msgStream(MSG::VERBOSE) More... | |
| MsgStream & | msg () const |
| shortcut for the method msgStream(MSG::INFO) More... | |
Public Attributes | |
| friend | AlgorithmManager |
Protected Member Functions | |
| std::vector< IAlgTool * > & | tools () |
| bool | isInitialized () const override |
| Has the Algorithm already been initialized? More... | |
| bool | isFinalized () const override |
| Has the Algorithm already been finalized? More... | |
| void | setIndex (const unsigned int &idx) override |
| set instantiation index of Alg More... | |
| bool | isReEntrant () const override |
Protected Member Functions inherited from DataHandleHolderBase< CounterHolder< PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > > > > | |
| void | initDataHandleHolder () |
| initializes all handles - called by the sysInitialize method of any descendant of this More... | |
Protected Member Functions inherited from PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > > | |
| Gaudi::Details::PropertyBase * | property (const std::string &name) const |
Protected Member Functions inherited from CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > | |
| MSG::Level | setUpMessaging () const |
| Set up local caches. More... | |
| MSG::Level | resetMessaging () |
| Reinitialize internal states. More... | |
| void | updateMsgStreamOutputLevel (int level) |
| Update the output level of the cached MsgStream. More... | |
Protected Attributes | |
| std::unique_ptr< IDataHandleVisitor > | m_updateDataHandles |
| Hook for for derived classes to provide a custom visitor for data handles. More... | |
Protected Attributes inherited from DataHandleHolderBase< CounterHolder< PropertyHolder< CommonMessaging< implements< IAlgorithm, IDataHandleHolder, IProperty, IStateful > > > > > | |
| DataObjIDColl | m_inputDataObjs |
| DataObjIDColl | m_outputDataObjs |
Private Member Functions | |
| void | initToolHandles () const |
| unsigned int | maxErrors () const |
| template<typename IFace > | |
| SmartIF< IFace > & | get_svc_ (SmartIF< IFace > &p, const char *service_name) const |
| StatusCode | service_i (const std::string &svcName, bool createIf, const InterfaceID &iid, void **ppSvc) const |
| implementation of service method More... | |
| StatusCode | service_i (const std::string &svcType, const std::string &svcName, const InterfaceID &iid, void **ppSvc) const |
| Algorithm (const Algorithm &a)=delete | |
| Private Copy constructor: NO COPY ALLOWED. More... | |
| Algorithm & | operator= (const Algorithm &rhs)=delete |
| Private assignment operator: NO ASSIGNMENT ALLOWED. More... | |
Base class from which all concrete algorithm classes should be derived.
In order for a concrete algorithm class to do anything useful the methods initialize(), execute() and finalize() should be overridden.
The base class provides utility methods for accessing standard services (event data service etc.); for declaring properties which may be configured by the job options service; and for creating sub algorithms. The only base class functionality which may be used in the constructor of a concrete algorithm is the declaration of member variables as properties. All other functionality, i.e. the use of services and the creation of sub-algorithms, may be used only in initialize() and afterwards (see the Gaudi user guide).
Definition at line 89 of file Algorithm.h.
| typedef Gaudi::PluginService::Factory<IAlgorithm*( const std::string&, ISvcLocator* )> Gaudi::Algorithm::Factory |
Definition at line 94 of file Algorithm.h.
| Gaudi::Algorithm::Algorithm | ( | const std::string & | name, |
| ISvcLocator * | svcloc, | ||
| const std::string & | version = PACKAGE_VERSION |
||
| ) |
Constructor.
| name | The algorithm object's name |
| svcloc | A pointer to a service location service |
Definition at line 59 of file Algorithm.cpp.
|
privatedelete |
Private Copy constructor: NO COPY ALLOWED.
|
override |
Definition at line 206 of file Algorithm.cpp.
|
inline |
Definition at line 412 of file Algorithm.h.
| SmartIF< IAlgExecStateSvc > & Gaudi::Algorithm::algExecStateSvc | ( | ) | const |
Definition at line 584 of file Algorithm.cpp.
| SmartIF< IAuditorSvc > & Gaudi::Algorithm::auditorSvc | ( | ) | const |
The standard auditor service.May not be invoked before sysInitialize() has been invoked.
Definition at line 585 of file Algorithm.cpp.
|
inlineoverride |
|
inline |
Definition at line 230 of file Algorithm.h.
| SmartIF< IChronoStatSvc > & Gaudi::Algorithm::chronoSvc | ( | ) | const |
The standard Chrono & Stat service, Return a pointer to the service if present.
Definition at line 586 of file Algorithm.cpp.
|
inlineoverride |
| SmartIF< IAlgContextSvc > & Gaudi::Algorithm::contextSvc | ( | ) | const |
Definition at line 596 of file Algorithm.cpp.
|
inline |
Declare monitoring information.
| name | Monitoring information name known to the external system |
| var | Monitoring Listener address (the item to monitor...) |
| desc | Textual description of the information being monitored |
Definition at line 366 of file Algorithm.h.
|
inline |
Declare monitoring information (special case)
| name | Monitoring information name known to the external system |
| format | Format information |
| var | Monitoring Listener address |
| size | Monitoring Listener address size |
| desc | Textual description of the information being monitored |
Definition at line 378 of file Algorithm.h.
|
inline |
Definition at line 326 of file Algorithm.h.
|
inline |
Definition at line 336 of file Algorithm.h.
|
inline |
Definition at line 392 of file Algorithm.h.
|
inline |
Definition at line 397 of file Algorithm.h.
| void Gaudi::Algorithm::deregisterTool | ( | IAlgTool * | tool | ) | const |
Definition at line 694 of file Algorithm.cpp.
| SmartIF< IConversionSvc > & Gaudi::Algorithm::detCnvSvc | ( | ) | const |
The standard detector data persistency conversion service.
May not be invoked before sysInitialize() has been invoked.
Definition at line 588 of file Algorithm.cpp.
|
inline |
Definition at line 244 of file Algorithm.h.
|
inline |
Definition at line 238 of file Algorithm.h.
| SmartIF< IDataProviderSvc > & Gaudi::Algorithm::detSvc | ( | ) | const |
The standard detector data service.
May not be invoked before sysInitialize() has been invoked.
Definition at line 587 of file Algorithm.cpp.
| unsigned int Gaudi::Algorithm::errorCount | ( | ) | const |
Get the number of failures of the algorithm.
Definition at line 708 of file Algorithm.cpp.
| SmartIF< IConversionSvc > & Gaudi::Algorithm::eventCnvSvc | ( | ) | const |
The standard event data persistency conversion service.
May not be invoked before sysInitialize() has been invoked.
Definition at line 590 of file Algorithm.cpp.
|
inline |
Definition at line 262 of file Algorithm.h.
|
inline |
Definition at line 254 of file Algorithm.h.
| SmartIF< IDataProviderSvc > & Gaudi::Algorithm::eventSvc | ( | ) | const |
The standard event data service.
May not be invoked before sysInitialize() has been invoked.
Definition at line 589 of file Algorithm.cpp.
|
inline |
shortcut for method eventSvc
Definition at line 253 of file Algorithm.h.
| SmartIF< IExceptionSvc > & Gaudi::Algorithm::exceptionSvc | ( | ) | const |
Get the exception Service.
Definition at line 595 of file Algorithm.cpp.
|
override |
reference to AlgExecState of Alg
Definition at line 568 of file Algorithm.cpp.
|
inlineoverride |
the default (empty) implementation of IStateful::finalize() method
Definition at line 182 of file Algorithm.h.
|
inlineoverride |
returns the current state of the algorithm
Definition at line 188 of file Algorithm.h.
|
private |
Definition at line 573 of file Algorithm.cpp.
|
inline |
Definition at line 270 of file Algorithm.h.
| SmartIF< IHistogramSvc > & Gaudi::Algorithm::histoSvc | ( | ) | const |
The standard histogram service.
May not be invoked before sysInitialize() has been invoked.
Definition at line 591 of file Algorithm.cpp.
|
override |
Definition at line 562 of file Algorithm.cpp.
|
inlineoverride |
the default (empty) implementation of IStateful::initialize() method
Definition at line 176 of file Algorithm.h.
|
private |
Definition at line 617 of file Algorithm.cpp.
|
override |
Is this algorithm enabled or disabled?
Definition at line 566 of file Algorithm.cpp.
|
inlineoverrideprotected |
Has the Algorithm already been finalized?
Definition at line 447 of file Algorithm.h.
|
inlineoverrideprotected |
Has the Algorithm already been initialized?
Definition at line 444 of file Algorithm.h.
|
inline |
Definition at line 419 of file Algorithm.h.
|
inlineoverrideprotected |
Definition at line 463 of file Algorithm.h.
|
inlineoverride |
|
inlineprivate |
Definition at line 460 of file Algorithm.h.
|
inline |
Access the monitor service.
| NULL | No monitor service is present |
| non-NULL | A monitor service is present and available to be used |
Definition at line 352 of file Algorithm.h.
|
override |
The identifying name of the algorithm object.
This is the name of a particular instantiation of an algorithm object as opposed to the name of the algorithm itself, e.g. "LinearTrackFit" may be the name of a concrete algorithm class, whereas "ApproxTrackFit" and "BestTrackFit" may be two instantiations of the class configured to find tracks with different fit criteria.
Definition at line 556 of file Algorithm.cpp.
|
override |
Definition at line 558 of file Algorithm.cpp.
|
inlineoverride |
Definition at line 440 of file Algorithm.h.
|
inline |
Definition at line 278 of file Algorithm.h.
| SmartIF< INTupleSvc > & Gaudi::Algorithm::ntupleSvc | ( | ) | const |
The standard N tuple service.
Returns a pointer to the N tuple service if present.
Definition at line 592 of file Algorithm.cpp.
Private assignment operator: NO ASSIGNMENT ALLOWED.
| SmartIF< IRndmGenSvc > & Gaudi::Algorithm::randSvc | ( | ) | const |
The standard RandomGen service, Return a pointer to the service if present.
Definition at line 593 of file Algorithm.cpp.
|
inline |
register for Algorithm Context Service?
Definition at line 310 of file Algorithm.h.
| void Gaudi::Algorithm::registerTool | ( | IAlgTool * | tool | ) | const |
Definition at line 689 of file Algorithm.cpp.
|
override |
the default (empty) implementation of IStateful::reinitialize() method
Definition at line 521 of file Algorithm.cpp.
|
override |
the default (empty) implementation of IStateful::restart() method
Definition at line 541 of file Algorithm.cpp.
|
inline |
Access a service by name, creating it if it doesn't already exist.
Definition at line 203 of file Algorithm.h.
|
inline |
Access a service by name and type, creating it if it doesn't already exist.
Definition at line 209 of file Algorithm.h.
| SmartIF< IService > Gaudi::Algorithm::service | ( | const std::string & | name, |
| const bool | createIf = true, |
||
| const bool | quiet = false |
||
| ) | const |
Return a pointer to the service identified by name (or "type/name")
Definition at line 684 of file Algorithm.cpp.
|
inline |
Definition at line 217 of file Algorithm.h.
|
private |
implementation of service method
Protected Member Functions.
Definition at line 672 of file Algorithm.cpp.
|
private |
Definition at line 678 of file Algorithm.cpp.
|
override |
The standard service locator.
Returns a pointer to the service locator service. This service may be used by an algorithm to request any services it requires in addition to those provided by default.
Definition at line 600 of file Algorithm.cpp.
|
overrideprotected |
set instantiation index of Alg
Definition at line 564 of file Algorithm.cpp.
|
inline |
Definition at line 421 of file Algorithm.h.
| StatusCode Gaudi::Algorithm::setProperties | ( | ) |
Set the algorithm's properties.
This method requests the job options service to set the values of any declared properties. The method is invoked from within sysInitialize() by the framework and does not need to be explicitly called by a concrete algorithm.
Definition at line 605 of file Algorithm.cpp.
|
inlineoverride |
Definition at line 164 of file Algorithm.h.
|
inlineoverride |
the default (empty) implementation of IStateful::start() method
Definition at line 178 of file Algorithm.h.
|
inlineoverride |
the default (empty) implementation of IStateful::stop() method
Definition at line 180 of file Algorithm.h.
|
inline |
shortcut for method serviceLocator
Definition at line 303 of file Algorithm.h.
|
override |
The actions to be performed by the algorithm on an event.
This method is invoked once per event for top level algorithms by the application manager. This method invokes execute() method. For sub-algorithms either the sysExecute() method or execute() method must be EXPLICITLY invoked by the parent algorithm.
Definition at line 345 of file Algorithm.cpp.
|
override |
System finalization.
This method invokes the finalize() method of a concrete algorithm and the finalize() methods of all of that algorithm's sub algorithms.
Definition at line 469 of file Algorithm.cpp.
|
override |
Initialization method invoked by the framework.
This method is responsible for any bookkeeping of initialization required by the framework itself. It will in turn invoke the initialize() method of the derived algorithm, and of any sub-algorithms which it creates.
Definition at line 66 of file Algorithm.cpp.
|
override |
Reinitialization method invoked by the framework.
This method is responsible for any reinitialization required by the framework itself. It will in turn invoke the reinitialize() method of the derived algorithm, and of any sub-algorithms which it creates.
Definition at line 258 of file Algorithm.cpp.
|
override |
Restart method invoked by the framework.
It will in turn invoke the restart() method of the derived algorithm, and of any sub-algorithms which it creates.
Definition at line 304 of file Algorithm.cpp.
|
override |
Reinitialization method invoked by the framework.
This method is responsible for any reinitialization required by the framework itself. It will in turn invoke the reinitialize() method of the derived algorithm, and of any sub-algorithms which it creates.
Definition at line 214 of file Algorithm.cpp.
|
override |
System stop.
This method invokes the stop() method of a concrete algorithm and the stop() methods of all of that algorithm's sub algorithms.
Definition at line 425 of file Algorithm.cpp.
|
inlineoverride |
returns the state the algorithm will be in after the ongoing transition
Definition at line 190 of file Algorithm.h.
|
inlineoverride |
| SmartIF< ITimelineSvc > & Gaudi::Algorithm::timelineSvc | ( | ) | const |
Definition at line 597 of file Algorithm.cpp.
|
override |
Produce string represention of the control flow expression.
Definition at line 704 of file Algorithm.cpp.
| const std::vector< IAlgTool * > & Gaudi::Algorithm::tools | ( | ) | const |
Definition at line 658 of file Algorithm.cpp.
|
protected |
Definition at line 663 of file Algorithm.cpp.
The standard ToolSvc service, Return a pointer to the service if present.
Definition at line 594 of file Algorithm.cpp.
|
inlineoverride |
|
override |
Definition at line 560 of file Algorithm.cpp.
| SmartIF< IHiveWhiteBoard > & Gaudi::Algorithm::whiteboard | ( | ) | const |
Definition at line 598 of file Algorithm.cpp.
| friend Gaudi::Algorithm::AlgorithmManager |
Definition at line 96 of file Algorithm.h.
|
mutableprivate |
Alg execution state mgr.
Definition at line 497 of file Algorithm.h.
|
private |
Definition at line 515 of file Algorithm.h.
|
private |
Definition at line 522 of file Algorithm.h.
|
private |
Definition at line 523 of file Algorithm.h.
|
private |
Definition at line 517 of file Algorithm.h.
|
private |
Definition at line 519 of file Algorithm.h.
|
private |
Definition at line 521 of file Algorithm.h.
|
private |
Definition at line 525 of file Algorithm.h.
|
private |
Definition at line 526 of file Algorithm.h.
|
private |
Definition at line 536 of file Algorithm.h.
|
mutableprivate |
Definition at line 494 of file Algorithm.h.
|
mutableprivate |
Definition at line 488 of file Algorithm.h.
|
mutableprivate |
Detector conversion service.
Definition at line 485 of file Algorithm.h.
|
mutableprivate |
Detector data service.
Definition at line 484 of file Algorithm.h.
|
private |
Definition at line 528 of file Algorithm.h.
|
mutableprivate |
Event conversion service.
Definition at line 483 of file Algorithm.h.
|
mutableprivate |
Event data service.
Definition at line 481 of file Algorithm.h.
|
private |
Definition at line 513 of file Algorithm.h.
|
mutableprivate |
Exception Handler Service.
Definition at line 490 of file Algorithm.h.
|
private |
Definition at line 544 of file Algorithm.h.
|
mutableprivate |
Histogram data service.
Definition at line 486 of file Algorithm.h.
|
private |
Algorithm's index.
Definition at line 469 of file Algorithm.h.
|
private |
Definition at line 511 of file Algorithm.h.
|
private |
Algorithm has been finalized flag.
Definition at line 551 of file Algorithm.h.
|
private |
Definition at line 540 of file Algorithm.h.
|
private |
Definition at line 530 of file Algorithm.h.
|
mutableprivate |
Message service.
Definition at line 480 of file Algorithm.h.
|
private |
Algorithm's name for identification.
Definition at line 466 of file Algorithm.h.
|
private |
Definition at line 537 of file Algorithm.h.
|
mutableprivate |
N tuple service.
Definition at line 487 of file Algorithm.h.
|
private |
Definition at line 507 of file Algorithm.h.
|
mutableprivate |
Definition at line 491 of file Algorithm.h.
|
mutableprivate |
Online Monitoring Service.
Definition at line 493 of file Algorithm.h.
|
private |
Pointer to service locator service.
Definition at line 499 of file Algorithm.h.
Definition at line 492 of file Algorithm.h.
|
private |
Definition at line 533 of file Algorithm.h.
|
mutableprivate |
Random Number Generator Service.
Definition at line 489 of file Algorithm.h.
|
private |
flag indicating whether ToolHandle tools have been added to m_tools
Algorithm has been initialized flag
Definition at line 549 of file Algorithm.h.
|
private |
Algorithm has been initialized flag.
Definition at line 550 of file Algorithm.h.
|
mutableprivate |
Timeline Service.
Definition at line 496 of file Algorithm.h.
|
mutableprivate |
Definition at line 474 of file Algorithm.h.
|
mutableprivate |
Definition at line 473 of file Algorithm.h.
|
mutableprivate |
Definition at line 547 of file Algorithm.h.
|
mutableprivate |
Definition at line 472 of file Algorithm.h.
|
private |
Algorithm's type.
Definition at line 467 of file Algorithm.h.
|
protected |
Hook for for derived classes to provide a custom visitor for data handles.
Definition at line 503 of file Algorithm.h.
|
private |
Algorithm's version.
Definition at line 468 of file Algorithm.h.
|
mutableprivate |
Event data service (whiteboard)
Definition at line 482 of file Algorithm.h.