1 #define GAUDIALG_GAUDIALGORITHM_CPP 1 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 ); } );
StatusCode setProperty(IProperty *component, const std::string &name, const TYPE &value, const std::string &doc)
simple function to set the property of the given object from the value
class MergingTransformer< Out(const vector_of_const_< In > true
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
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.
Header file for class GaudiAlgorithm.
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.
SmartIF< INTupleSvc > & evtColSvc() const
Access the standard event collection service.
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
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
const StatusCode & ignore() const
Ignore/check StatusCode.
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.