Go to the documentation of this file.
   37       if ( cmd.
find( 
"genconf" ) != std::string::npos ) 
return;
 
   54       info() << 
"Back from sleep" << 
endmsg;
 
   71         info() << 
"Raising signal now" << 
endmsg;
 
   91         if ( 
m_mode == 
"exception" ) {
 
   93         } 
else if ( 
m_mode == 
"stopRun" ) {
 
   96             error() << 
"Cannot get IEventProcessor" << 
endmsg;
 
   99           if ( 
auto sc = ep->stopRun(); !sc ) 
return sc;
 
  112                                       "Number of events to let go before breaking the event loop"};
 
  114                                         "Type of interruption ['exception', 'stopRun',  'failure']"};
 
  125         error() << 
"The incident type (property Incident) must be declared." << 
endmsg;
 
  141         info() << 
"keep processing events..." << 
endmsg;
 
  179         info() << 
"Adding '" << p << 
"'" << 
endmsg;
 
  182         if ( sc.
isFailure() ) warning() << 
"Cannot register object '" << p << 
"'" << 
endmsg;
 
  195         this, 
"Paths", {}, 
"List of paths in the transient store to load"};
 
  219       bool missing = 
false;
 
  221         info() << 
"Getting '" << p << 
"'" << 
endmsg;
 
  225           warning() << 
"Cannot retrieve object '" << p << 
"'" << 
endmsg;
 
  240         this, 
"Paths", {}, 
"List of paths in the transient store to load"};
 
  243                                           "if True,  missing objects will not beconsidered an error"};
 
  265     using OddEventsFilter::OddEventsFilter;
 
  281       info() << 
"All tool instances:" << 
endmsg;
 
  
 
StatusCode execute() override
standard execution method
StatusCode initialize() override
GaudiAlgorithm(std::string name, ISvcLocator *pSvcLocator)
Standard constructor.
SmartIF< IToolSvc > & toolSvc() const
The standard ToolSvc service, Return a pointer to the service if present.
StatusCode finalize() override
standard finalization method
StatusCode execute() override
standard execution method
StatusCode initialize() override
const std::string & name() const override
The identifying name of the algorithm object.
void setFilterPassed(bool state) const
Set the filter passed flag to the specified state.
void reset(TYPE *ptr=nullptr)
Set the internal pointer to the passed one disposing of the old one.
SmartIF< IDataProviderSvc > m_dataProvider
SmartIF< IIncidentSvc > m_incidentSvc
Incident service.
Gaudi::Property< int > m_signal
SmartIF< ISvcLocator > & serviceLocator() const override
The standard service locator.
TOOL * tool(std::string_view type, std::string_view name, const IInterface *parent=0, bool create=true) const
Useful method for the easy location of tools.
Gaudi::Property< int > m_eventCount
StatusCode initialize() override
~DestructorCheckAlg() override
Simple algorithm that prints the memory usage every N events (property "Frequency").
Gaudi::Property< int > m_eventCount
StatusCode execute() override
standard execution method
Simple algorithm that creates dummy objects in the transient store.
Gaudi::Property< int > m_frequency
StatusCode execute() override
standard execution method
Gaudi::Property< std::string > m_dataSvc
Gaudi::Property< int > m_sleep
Gaudi::Property< std::string > m_dataSvc
Gaudi::Property< std::string > m_incident
StatusCode initialize() override
standard initialization method
StatusCode finalize() override
Gaudi::Property< std::string > m_mode
const ValueType & value() const
Backward compatibility (.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
StatusCode execute() override
standard execution method
StatusCode initialize() override
Gaudi::Property< int > m_eventCount
Simple algorithm that raise a signal after N events.
SmartIF< IFace > as() const
return a new SmartIF instance to another interface
SmartIF< IDataProviderSvc > m_dataProvider
StatusCode execute() override
standard execution method
constexpr static const auto SUCCESS
void Exception(std::string_view msg, const GaudiException &exc, const StatusCode sc=StatusCode::FAILURE) const
Create and (re)-throw a given GaudiException.
#define DECLARE_COMPONENT(type)
Simple algorithm that retrieves objects from the transient store.
GAUDI_API const std::vector< std::string > cmdLineArgs()
Command line arguments including executable name as arg[0] as vector of strings.
StatusCode finalize() override
StatusCode service(std::string_view name, T *&psvc, bool createIf=true) const
Access a service by name, creating it if it doesn't already exist.
StatusCode finalize() override
Gaudi::Property< std::vector< std::string > > m_paths
GAUDI_API long mappedMemory(MemoryUnit unit=kByte, InfoType fetch=Memory, long pid=-1)
Basic Process Information: priority boost.
Gaudi::Property< std::vector< std::string > > m_paths
GAUDI_API void Sleep(int sec)
Simple sleep function.
constexpr static const auto FAILURE
StatusCode finalize() override
StatusCode execute() override
standard execution method
GAUDI_API long virtualMemory(MemoryUnit unit=kByte, InfoType fetch=Memory, long pid=-1)
Basic Process Information: priority boost.
StatusCode execute() override
standard execution method
StatusCode execute() override
standard execution method
StatusCode execute() override
standard execution method
StatusCode initialize() override
Gaudi::Property< bool > m_ignoreMissing