1 #define GAUDIALG_GAUDIALGORITHM_CPP 1 37 setProperty(
"RegisterForContextService",
true ).ignore();
56 if ( msgLevel(
MSG::DEBUG ) ) debug() <<
"Finalize base class GaudiAlgorithm" <<
endmsg;
88 if ( registerContext() ) { algCtx = contextSvc(); }
94 [&](
const std::string& loc ) {
return this->exist<DataObject>( loc ); } );
96 if ( msgLevel(
MSG::DEBUG ) ) debug() << *it <<
" found, skipping event " <<
endmsg;
104 [&](
const std::string& loc ) {
return this->exist<DataObject>( loc ); } );
SmartIF< INTupleSvc > & evtColSvc() const
Access the standard event collection service.
SmartIF< INTupleSvc > m_evtColSvc
Event Tag Collection Service.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Helper "sentry" class to automatize the safe register/unregister the algorithm's context.
StatusCode initialize() override
standard initialization method
Header file for class GaudiAlgorithm.
WARN_UNUSED 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.
constexpr static const auto SUCCESS
StatusCode finalize() override
standard finalization method
StatusCode execute() override
standard execution method
This class represents an entry point to all the event specific data.
This class is used for returning status codes from appropriate routines.
StatusCode sysExecute(const EventContext &ctx) override
the generic actions for the execution.
StatusCode finalize() override
standard finalization method
bool PyHelper() setProperty(IInterface *p, char *name, char *value)
StatusCode initialize() override
standard initialization method
Alias for backward compatibility.
Gaudi::Property< std::vector< std::string > > m_requireObjs
Gaudi::Property< std::vector< std::string > > m_vetoObjs
An abstract interface for Algorithm Context Service.
void reset(TYPE *ptr=nullptr)
Set the internal pointer to the passed one disposing of the old one.
AttribStringParser::Iterator begin(const AttribStringParser &parser)
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
StatusCode sysExecute(const EventContext &ctx) override
The actions to be performed by the algorithm on an event.
GaudiAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.