Go to the documentation of this file.
42 info() <<
"Executing event " <<
ctx.evt() + 1 <<
endmsg;
45 info() <<
"Back from sleep" <<
endmsg;
61 info() <<
"Raising signal now" <<
endmsg;
81 if (
m_mode ==
"exception" ) {
83 }
else if (
m_mode ==
"stopRun" ) {
86 error() <<
"Cannot get IEventProcessor" <<
endmsg;
89 if (
auto sc = ep->stopRun(); !sc )
return sc;
102 "Number of events to let go before breaking the event loop" };
104 "Type of interruption ['exception', 'stopRun', 'failure']" };
115 error() <<
"The incident type (property Incident) must be declared." <<
endmsg;
131 info() <<
"keep processing events..." <<
endmsg;
143 "Number of events to let go before firing the incident." };
170 info() <<
"Adding '" << p <<
"'" <<
endmsg;
173 if ( sc.
isFailure() ) warning() <<
"Cannot register object '" << p <<
"'" <<
endmsg;
186 this,
"Paths", {},
"List of paths in the transient store to load" };
210 bool missing =
false;
212 info() <<
"Getting '" << p <<
"'" <<
endmsg;
216 warning() <<
"Cannot retrieve object '" << p <<
"'" <<
endmsg;
231 this,
"Paths", {},
"List of paths in the transient store to load" };
234 "if True, missing objects will not beconsidered an error" };
256 using OddEventsFilter::OddEventsFilter;
272 info() <<
"All tool instances:" <<
endmsg;
StatusCode execute() override
StatusCode initialize() override
SmartIF< IToolSvc > & toolSvc() const
The standard ToolSvc service, Return a pointer to the service if present.
StatusCode execute() override
StatusCode execute(EventContext const &ctx) const override
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
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
Alias for backward compatibility.
SmartIF< IIncidentSvc > m_incidentSvc
Incident service.
Gaudi::Property< int > m_signal
SmartIF< ISvcLocator > & serviceLocator() const override
The standard service locator.
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
Simple algorithm that creates dummy objects in the transient store.
Gaudi::Property< int > m_frequency
StatusCode execute() override
Gaudi::Property< std::string > m_dataSvc
Gaudi::Property< int > m_sleep
Gaudi::Property< std::string > m_dataSvc
Gaudi::Property< std::string > m_incident
Base class from which all concrete algorithm classes should be derived.
StatusCode finalize() override
Gaudi::Property< std::string > m_mode
const ValueType & value() const
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
StatusCode execute() override
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
StatusCode finalize() override
the default (empty) implementation of IStateful::finalize() method
constexpr static const auto SUCCESS
#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.
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
constexpr static const auto FAILURE
StatusCode finalize() override
StatusCode execute() override
GAUDI_API long virtualMemory(MemoryUnit unit=kByte, InfoType fetch=Memory, long pid=-1)
Basic Process Information: priority boost.
StatusCode execute() override
StatusCode execute() override
StatusCode execute() override
StatusCode initialize() override
Gaudi::Property< bool > m_ignoreMissing