![]() |
The Gaudi Framework
v26r0
|
Sequencer for executing several algorithms, stopping when one is faulty. More...
#include <GaudiAlg/GaudiSequencer.h>


Classes | |
| class | AlgorithmEntry |
Public Member Functions | |
| GaudiSequencer (const std::string &name, ISvcLocator *pSvcLocator) | |
| Standard constructor. More... | |
| virtual | ~GaudiSequencer () |
| Destructor. More... | |
| virtual StatusCode | initialize () |
| Algorithm initialization. More... | |
| virtual StatusCode | execute () |
| Algorithm execution. More... | |
| virtual StatusCode | finalize () |
| Algorithm finalization. More... | |
| virtual StatusCode | beginRun () |
| Algorithm beginRun. More... | |
| virtual StatusCode | endRun () |
| Algorithm endRun. More... | |
| void | resetExecuted () |
| Called before an event processing. More... | |
| void | membershipHandler (Property &theProp) |
| for asynchronous changes in the list of algorithms More... | |
Public Member Functions inherited from GaudiAlgorithm | |
| virtual StatusCode | sysExecute () |
| the generic actions for the execution. More... | |
| void | put (IDataProviderSvc *svc, DataObject *object, const std::string &address, const bool useRootInTES=true) const |
| Register a data object or container into Gaudi Event Transient Store. More... | |
| void | put (DataObject *object, const std::string &address, const bool useRootInTES=true) const |
| Register a data object or container into Gaudi Event Transient Store. More... | |
| template<class TYPE > | |
| Gaudi::Utils::GetData< TYPE > ::return_type | get (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Templated access to the data in Gaudi Transient Store. More... | |
| template<class TYPE > | |
| Gaudi::Utils::GetData< TYPE > ::return_type | getIfExists (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Templated access to the data in Gaudi Transient Store. More... | |
| template<class TYPE > | |
| Gaudi::Utils::GetData< TYPE > ::return_type | get (const std::string &location, const bool useRootInTES=true) const |
| Templated access to the data from Gaudi Event Transient Store. More... | |
| template<class TYPE > | |
| Gaudi::Utils::GetData< TYPE > ::return_type | getIfExists (const std::string &location, const bool useRootInTES=true) const |
| Templated access to the data in Gaudi Transient Store. More... | |
| template<class TYPE > | |
| TYPE * | getDet (IDataProviderSvc *svc, const std::string &location) const |
| Templated access to the detector data from the Gaudi Detector Transient Store. More... | |
| template<class TYPE > | |
| Gaudi::Utils::GetData< TYPE > ::return_type | getDetIfExists (IDataProviderSvc *svc, const std::string &location) const |
| Templated access to the detector data from the Gaudi Detector Transient Store. More... | |
| template<class TYPE > | |
| TYPE * | getDet (const std::string &location) const |
| Templated access to the detector data from the Gaudi Detector Transient Store. More... | |
| template<class TYPE > | |
| Gaudi::Utils::GetData< TYPE > ::return_type | getDetIfExists (const std::string &location) const |
| Templated access to the detector data from the Gaudi Detector Transient Store. More... | |
| template<class TYPE > | |
| bool | exist (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Check the existence of a data object or container in the Gaudi Transient Event Store. More... | |
| template<class TYPE > | |
| bool | exist (const std::string &location, const bool useRootInTES=true) const |
| Check the existence of a data object or container in the Gaudi Transient Event Store. More... | |
| template<class TYPE > | |
| bool | existDet (IDataProviderSvc *svc, const std::string &location) const |
| Check the existence of detector objects in the Gaudi Transient Detector Store. More... | |
| template<class TYPE > | |
| bool | existDet (const std::string &location) const |
| Check the existence of detector objects in the Gaudi Transient Detector Store. More... | |
| template<class TYPE , class TYPE2 > | |
| Gaudi::Utils::GetData< TYPE > ::return_type | getOrCreate (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Get the existing data object from Gaudi Event Transient store. More... | |
| template<class TYPE , class TYPE2 > | |
| Gaudi::Utils::GetData< TYPE > ::return_type | getOrCreate (const std::string &location, const bool useRootInTES=true) const |
| Get the existing data object from Gaudi Event Transient store. More... | |
| GaudiAlgorithm (const std::string &name, ISvcLocator *pSvcLocator) | |
| Standard constructor (protected) More... | |
| virtual | ~GaudiAlgorithm () |
| destructor, virtual and protected More... | |
| SmartIF< INTupleSvc > & | evtColSvc () const |
| Access the standard event collection service. More... | |
Public Member Functions inherited from GaudiCommon< Algorithm > | |
| Gaudi::Utils::GetData< TYPE > ::return_type | get (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Templated access to the data in Gaudi Transient Store. More... | |
| Gaudi::Utils::GetData< TYPE > ::return_type | getIfExists (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Quicker version of the get function which bypasses the check on the retrieved data. More... | |
| bool | exist (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Check the existence of a data object or container in the Gaudi Transient Event Store. More... | |
| Gaudi::Utils::GetData< TYPE > ::return_type | getOrCreate (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Get the existing data object from Gaudi Event Transient store. More... | |
| DataObject * | put (IDataProviderSvc *svc, DataObject *object, const std::string &location, const bool useRootInTES=true) const |
| Register a data object or container into Gaudi Event Transient Store. More... | |
| TOOL * | tool (const std::string &type, const std::string &name, const IInterface *parent=0, bool create=true) const |
| Useful method for the easy location of tools. More... | |
| TOOL * | tool (const std::string &type, const IInterface *parent=0, bool create=true) const |
| A useful method for the easy location of tools. More... | |
| SmartIF< SERVICE > | svc (const std::string &name, const bool create=true) const |
| A useful method for the easy location of services. More... | |
| IUpdateManagerSvc * | updMgrSvc () const |
| Short-cut to locate the Update Manager Service. More... | |
| StatusCode | Error (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const |
| Print the error message and return with the given StatusCode. More... | |
| StatusCode | Warning (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const |
| Print the warning message and return with the given StatusCode. More... | |
| StatusCode | Info (const std::string &msg, const StatusCode st=StatusCode::SUCCESS, const size_t mx=10) const |
| Print the info message and return with the given StatusCode. More... | |
| StatusCode | Print (const std::string &msg, const StatusCode st=StatusCode::SUCCESS, const MSG::Level lev=MSG::INFO) const |
| Print the message and return with the given StatusCode. More... | |
| void | Assert (const bool ok, const std::string &message="", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| Assertion - throw exception if the given condition is not fulfilled. More... | |
| void | Assert (const bool ok, const char *message, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| Assertion - throw exception if the given condition is not fulfilled. More... | |
| void | Exception (const std::string &msg, const GaudiException &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| Create and (re)-throw a given GaudiException. More... | |
| void | Exception (const std::string &msg, const std::exception &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| Create and (re)-throw a given exception. More... | |
| void | Exception (const std::string &msg="no message", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| Create and throw an exception with the given message. 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... | |
| const Statistics & | counters () const |
| accessor to all counters More... | |
| StatEntity & | counter (const std::string &tag) const |
| accessor to certain counter by name More... | |
| MSG::Level | msgLevel () const |
| The current message service output level. More... | |
| bool | msgLevel (const MSG::Level level) const |
| Test the output level. More... | |
| void | resetMsgStream () const |
| Reset (delete) the current message stream object. More... | |
| bool | typePrint () const |
| Insert the actual C++ type of the algorithm/tool in the messages ? More... | |
| bool | propsPrint () const |
| Print properties at initialization ? More... | |
| bool | statPrint () const |
| Print statistical counters at finalization ? More... | |
| bool | errorsPrint () const |
| Print error counters at finalization ? More... | |
| long | printStat (const MSG::Level level=MSG::ALWAYS) const |
| perform the actual printout of statistical counters More... | |
| long | printErrors (const MSG::Level level=MSG::ALWAYS) const |
| perform the actual printout of error counters More... | |
| long | printProps (const MSG::Level level=MSG::ALWAYS) const |
| perform the actual printout of properties More... | |
| void | registerCondition (const std::string &condition, StatusCode(CallerClass::*mf)()=NULL) |
| register the current instance to the UpdateManagerSvc as a consumer for a condition. More... | |
| void | registerCondition (const std::string &condition, CondType *&condPtrDest, StatusCode(CallerClass::*mf)()=NULL) |
| register the current instance to the UpdateManagerSvc as a consumer for a condition. More... | |
| void | registerCondition (char *condition, StatusCode(CallerClass::*mf)()=NULL) |
| just to avoid conflicts with the version using a pointer to a template class. More... | |
| void | registerCondition (TargetClass *condition, StatusCode(CallerClass::*mf)()=NULL) |
| register the current instance to the UpdateManagerSvc as a consumer for a condition. More... | |
| StatusCode | runUpdate () |
| asks the UpdateManagerSvc to perform an update of the instance (if needed) without waiting the next BeginEvent incident. More... | |
| GaudiCommon (const std::string &name, ISvcLocator *pSvcLocator) | |
| Algorithm constructor. More... | |
| GaudiCommon (const std::string &type, const std::string &name, const IInterface *parent) | |
| Tool constructor. More... | |
| StatusCode | release (const IInterface *interface) const |
| Manual forced (and 'safe') release of the active tool or service. More... | |
| virtual unsigned long | release () |
| Un-hide IInterface::release (ICC warning #1125) More... | |
| const AlgTools & | tools () const |
| get the list of aquired tools More... | |
| const Services & | services () const |
| get the list of aquired services More... | |
| const std::string & | context () const |
| Returns the "context" string. Used to identify different processing states. More... | |
| const std::string & | rootInTES () const |
| Returns the "rootInTES" string. More... | |
| double | globalTimeOffset () const |
| Returns the "globalTimeOffset" double. More... | |
| const std::string | fullTESLocation (const std::string &location, const bool useRootInTES) const |
| Returns the full correct event location given the rootInTes settings. More... | |
Public Member Functions inherited from Algorithm | |
| Algorithm (const std::string &name, ISvcLocator *svcloc, const std::string &version=PACKAGE_VERSION) | |
| Constructor. More... | |
| virtual | ~Algorithm () |
| Destructor. More... | |
| virtual StatusCode | sysStart () |
| Reinitialization method invoked by the framework. More... | |
| virtual StatusCode | sysInitialize () |
| Initialization method invoked by the framework. More... | |
| virtual StatusCode | sysReinitialize () |
| Reinitialization method invoked by the framework. More... | |
| virtual StatusCode | sysRestart () |
| Restart method invoked by the framework. More... | |
| virtual StatusCode | sysStop () |
| System stop. More... | |
| virtual StatusCode | sysFinalize () |
| System finalization. More... | |
| virtual StatusCode | sysBeginRun () |
| beginRun method invoked by the framework. More... | |
| virtual StatusCode | sysEndRun () |
| endRun method invoked by the framework. More... | |
| virtual const std::string & | name () const |
| The identifying name of the algorithm object. More... | |
| virtual const std::string & | version () const |
| The version of the algorithm. More... | |
| virtual StatusCode | configure () |
| Dummy implementation of IStateful::configure() method. More... | |
| virtual StatusCode | terminate () |
| Dummy implementation of IStateful::terminate() method. More... | |
| virtual StatusCode | start () |
| the default (empty) implementation of IStateful::start() method More... | |
| virtual StatusCode | stop () |
| the default (empty) implementation of IStateful::stop() method More... | |
| virtual StatusCode | reinitialize () |
| the default (empty) implementation of IStateful::reinitialize() method More... | |
| virtual StatusCode | restart () |
| the default (empty) implementation of IStateful::restart() method More... | |
| virtual bool | isExecuted () const |
| Has this algorithm been executed since the last reset? More... | |
| virtual void | setExecuted (bool state) |
| Set the executed flag to the specified state. More... | |
| virtual Gaudi::StateMachine::State | FSMState () const |
| returns the current state of the algorithm More... | |
| virtual Gaudi::StateMachine::State | targetFSMState () const |
| returns the state the algorithm will be in after the ongoing transition More... | |
| virtual bool | isEnabled () const |
| Is this algorithm enabled or disabled? More... | |
| virtual bool | filterPassed () const |
| Did this algorithm pass or fail its filter criterion for the last event? More... | |
| virtual void | setFilterPassed (bool state) |
| Set the filter passed flag to the specified state. 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... | |
| void | setOutputLevel (int level) |
| Set the output level for current algorithm. More... | |
| 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 |
| Obsoleted name, kept due to the backwards compatibility. More... | |
| SmartIF< IDataProviderSvc > & | detSvc () const |
| The standard detector data service. More... | |
| SmartIF< IDataProviderSvc > & | detDataService () const |
| Obsoleted name, kept due to the backwards compatibility. More... | |
| SmartIF< IConversionSvc > & | detCnvSvc () const |
| The standard detector data persistency conversion service. More... | |
| SmartIF< IConversionSvc > & | detDataCnvService () const |
| Obsoleted name, kept due to the backwards compatibility. More... | |
| SmartIF< IDataProviderSvc > & | eventSvc () const |
| The standard event data service. More... | |
| SmartIF< IDataProviderSvc > & | evtSvc () const |
| shortcut for method eventSvc More... | |
| SmartIF< IDataProviderSvc > & | eventDataService () const |
| Obsoleted name, kept due to the backwards compatibility. More... | |
| SmartIF< IConversionSvc > & | eventCnvSvc () const |
| The standard event data persistency conversion service. More... | |
| SmartIF< IConversionSvc > & | eventDataCnvService () const |
| Obsoleted name, kept due to the backwards compatibility. More... | |
| SmartIF< IHistogramSvc > & | histoSvc () const |
| The standard histogram service. More... | |
| SmartIF< IHistogramSvc > & | histogramDataService () const |
| Obsoleted name, kept due to the backwards compatibility. More... | |
| SmartIF< IMessageSvc > & | msgSvc () const |
| The standard message service. More... | |
| SmartIF< IMessageSvc > & | messageService () const |
| Obsoleted name, kept due to the backwards compatibility. More... | |
| SmartIF< INTupleSvc > & | ntupleSvc () const |
| The standard N tuple service. More... | |
| SmartIF< INTupleSvc > & | ntupleService () const |
| Obsoleted name, kept due to the backwards compatibility. More... | |
| SmartIF< IRndmGenSvc > & | randSvc () const |
| AIDA-based NTuple service Returns a pointer to the AIDATuple 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< ISvcLocator > & | serviceLocator () const |
| The standard service locator. More... | |
| SmartIF< ISvcLocator > & | svcLoc () const |
| shortcut for method serviceLocator More... | |
| bool | registerContext () const |
| register for Algorithm Context Service? More... | |
| StatusCode | createSubAlgorithm (const std::string &type, const std::string &name, Algorithm *&pSubAlg) |
| Create a sub algorithm. More... | |
| std::vector< Algorithm * > * | subAlgorithms () const |
| List of sub-algorithms. Returns a pointer to a vector of (sub) Algorithms. More... | |
| virtual StatusCode | setProperty (const Property &p) |
| Implementation of IProperty::setProperty. More... | |
| virtual StatusCode | setProperty (const std::string &s) |
| Implementation of IProperty::setProperty. More... | |
| virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
| Implementation of IProperty::setProperty. More... | |
| virtual StatusCode | getProperty (Property *p) const |
| Implementation of IProperty::getProperty. More... | |
| virtual const Property & | getProperty (const std::string &name) const |
| Implementation of IProperty::getProperty. More... | |
| virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
| Implementation of IProperty::getProperty. More... | |
| virtual const std::vector < Property * > & | getProperties () const |
| Implementation of IProperty::getProperties. More... | |
| StatusCode | setProperties () |
| Set the algorithm's properties. More... | |
| template<class T > | |
| Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
| Declare the named property. More... | |
| Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const |
| Declare remote named properties. More... | |
| 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... | |
| template<class TYPE > | |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| set the property form the value More... | |
Public Member Functions inherited from extend_interfaces3< IAlgorithm, IProperty, IStateful > | |
| virtual | ~extend_interfaces3 () |
| Virtual destructor. More... | |
Public Member Functions inherited from IAlgorithm | |
| DeclareInterfaceID (IAlgorithm, 4, 0) | |
| InterfaceID. More... | |
Public Member Functions inherited from INamedInterface | |
| DeclareInterfaceID (INamedInterface, 1, 0) | |
| InterfaceID. More... | |
| virtual | ~INamedInterface () |
| Virtual destructor (always needed for abstract classes). More... | |
Public Member Functions inherited from IInterface | |
| virtual void * | i_cast (const InterfaceID &) const =0 |
| main cast function More... | |
| virtual std::vector< std::string > | getInterfaceNames () const =0 |
| Returns a vector of strings containing the names of all the implemented interfaces. More... | |
| virtual unsigned long | addRef ()=0 |
| Increment the reference count of Interface instance. More... | |
| virtual unsigned long | refCount () const =0 |
| Current reference count. More... | |
| virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp)=0 |
| Set the void** to the pointer to the requested interface of the instance. More... | |
| virtual | ~IInterface () |
| Virtual destructor. More... | |
Public Member Functions inherited from IProperty | |
| DeclareInterfaceID (IProperty, 2, 0) | |
| InterfaceID. More... | |
Public Member Functions inherited from IStateful | |
| DeclareInterfaceID (IStateful, 1, 0) | |
| InterfaceID. More... | |
| virtual | ~IStateful () |
Protected Member Functions | |
| StatusCode | decodeNames () |
| Decode a vector of string. More... | |
Protected Member Functions inherited from GaudiCommon< Algorithm > | |
| virtual | ~GaudiCommon () |
| Destructor. More... | |
| StatusCode | releaseTool (const IAlgTool *tool) const |
| manual forced (and 'safe') release of the tool More... | |
| StatusCode | releaseSvc (const IInterface *svc) const |
| manual forced (and 'safe') release of the service More... | |
Protected Member Functions inherited from Algorithm | |
| bool | isInitialized () const |
| Has the Algorithm already been initialized? More... | |
| bool | isFinalized () const |
| Has the Algorithm already been finalized? More... | |
| int | outputLevel () const |
| retrieve the Algorithm output level More... | |
| IntegerProperty & | outputLevelProperty () |
| Accessor for the Message level property. More... | |
| void | initOutputLevel (Property &prop) |
| callback for output level property More... | |
Private Member Functions | |
| GaudiSequencer (const GaudiSequencer &a) | |
| Private copy, copy not allowed. More... | |
| GaudiSequencer & | operator= (const GaudiSequencer &a) |
| Private assignment operator: This is not allowed. More... | |
Private Attributes | |
| StringArrayProperty | m_names |
| Input string, list of algorithms. More... | |
| std::vector< AlgorithmEntry > | m_entries |
| List of algorithms to process. More... | |
| bool | m_modeOR |
| Indicates that the OR is wanted instead of AND. More... | |
| bool | m_shortCircuit |
| Indicates whether to stop processing as soon as possible, or to always execute all subalgorithms. More... | |
| bool | m_ignoreFilter |
| True if one continues always. More... | |
| bool | m_isInitialized |
| Indicate that we are ready. More... | |
| bool | m_measureTime |
| Flag to measure time. More... | |
| bool | m_returnOK |
| Forces the sequencer to return a good status. More... | |
| ISequencerTimerTool * | m_timerTool |
| Pointer to the timer tool. More... | |
| int | m_timer |
| Timer number for the sequencer. More... | |
Additional Inherited Members | |
Public Types inherited from Algorithm | |
| typedef Gaudi::PluginService::Factory < IAlgorithm *, const std::string &, ISvcLocator * > | Factory |
Public Types inherited from implements3< IAlgorithm, IProperty, IStateful > | |
| typedef implements3 | base_class |
| Typedef to this class. More... | |
| typedef extend_interfaces3 < IAlgorithm, IProperty, IStateful > | extend_interfaces_base |
| Typedef to the base of this class. More... | |
| typedef extend_interfaces_base::ext_iids | interfaces |
| MPL set of all the implemented interfaces. More... | |
Public Types inherited from extend_interfaces3< IAlgorithm, IProperty, IStateful > | |
| typedef mpl::fold< typename IAlgorithm::iid::iids::type, typename mpl::fold< typename IProperty::iid::iids::type, typename IStateful::iid::iids::type, mpl::insert< mpl::_1, mpl::_2 > >::type, mpl::insert< mpl::_1, mpl::_2 > >::type | ext_iids |
| MPL set of interfaces extended by this one. More... | |
Public Types inherited from IInterface | |
| enum | Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR } |
| Return status. More... | |
| typedef Gaudi::InterfaceId < IInterface, 0, 0 > | iid |
| Interface ID. More... | |
| typedef mpl::set1< iid > | ext_iids |
| Extra interfaces. More... | |
Static Public Member Functions inherited from IInterface | |
| static const InterfaceID & | interfaceID () |
| Return an instance of InterfaceID identifying the interface. More... | |
Protected Types inherited from GaudiCommon< Algorithm > | |
| typedef std::map< std::string, StatEntity > | Statistics |
| the actual type of general counters More... | |
| typedef std::map< std::string, unsigned int > | Counter |
| the actual type error/warning counter More... | |
| typedef std::vector< IAlgTool * > | AlgTools |
| storage for active tools More... | |
| typedef GaudiUtils::HashMap < std::string, SmartIF < IService > > | Services |
| storage for active services More... | |
Protected Attributes inherited from GaudiCommon< Algorithm > | |
| ICounterSummarySvc * | m_counterSummarySvc |
| a pointer to the CounterSummarySvc More... | |
| std::vector< std::string > | m_counterList |
| list of counters to declare. Set by property CounterList. This can be a regular expression. More... | |
| std::vector< std::string > | m_statEntityList |
Static Protected Attributes inherited from GaudiCommon< Algorithm > | |
| static const bool | IgnoreRootInTES |
| Simple definition to be used with the new useRootInTES argument get<TYPE> and put methods. More... | |
| static const bool | UseRootInTES |
| Simple definition to be used with the new useRootInTES argument get<TYPE> and put methods. More... | |
Sequencer for executing several algorithms, stopping when one is faulty.
Default behaviour (ModeOR=False) is to execute all algorithms until one returns filterPassed() = False. If ShortCircuit is set to False, then all algorithms will be executed.
In OR mode, the logic is opposite. All algorithms until one returns filterPassed() = True. To then exit one must onter-intuitively set ShortCircuit to False. If the default value ShortCircuit=True is left then all algorithms will be executed.
Definition at line 27 of file GaudiSequencer.h.
| GaudiSequencer::GaudiSequencer | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator | ||
| ) |
Standard constructor.
Definition at line 18 of file GaudiSequencer.cpp.
|
virtual |
|
private |
Private copy, copy not allowed.
|
virtual |
Algorithm beginRun.
Reimplemented from Algorithm.
Definition at line 158 of file GaudiSequencer.cpp.
|
protected |
Decode a vector of string.
Definition at line 197 of file GaudiSequencer.cpp.
|
virtual |
Algorithm endRun.
Reimplemented from Algorithm.
Definition at line 169 of file GaudiSequencer.cpp.
|
virtual |
Algorithm execution.
Reimplemented from GaudiAlgorithm.
Definition at line 80 of file GaudiSequencer.cpp.
|
virtual |
Algorithm finalization.
Reimplemented from GaudiAlgorithm.
Definition at line 149 of file GaudiSequencer.cpp.
|
virtual |
Algorithm initialization.
Reimplemented from GaudiAlgorithm.
Definition at line 40 of file GaudiSequencer.cpp.
| void GaudiSequencer::membershipHandler | ( | Property & | theProp | ) |
for asynchronous changes in the list of algorithms
Definition at line 369 of file GaudiSequencer.cpp.
|
private |
Private assignment operator: This is not allowed.
|
virtual |
Called before an event processing.
Reimplemented from Algorithm.
Definition at line 180 of file GaudiSequencer.cpp.
|
private |
List of algorithms to process.
Definition at line 82 of file GaudiSequencer.h.
|
private |
True if one continues always.
Definition at line 87 of file GaudiSequencer.h.
|
private |
Indicate that we are ready.
Definition at line 88 of file GaudiSequencer.h.
|
private |
Flag to measure time.
Definition at line 89 of file GaudiSequencer.h.
|
private |
Indicates that the OR is wanted instead of AND.
Definition at line 83 of file GaudiSequencer.h.
|
private |
Input string, list of algorithms.
Definition at line 81 of file GaudiSequencer.h.
|
private |
Forces the sequencer to return a good status.
Definition at line 90 of file GaudiSequencer.h.
|
private |
Indicates whether to stop processing as soon as possible, or to always execute all subalgorithms.
In MOdeOR=True the behaviour is the exact opposite.
Definition at line 84 of file GaudiSequencer.h.
|
private |
Timer number for the sequencer.
Definition at line 92 of file GaudiSequencer.h.
|
private |
Pointer to the timer tool.
Definition at line 91 of file GaudiSequencer.h.