1 #define GAUDIALG_GAUDIALGORITHM_CPP 1 79 m_evtColSvc = svc<INTupleSvc>(
"EvtTupleSvc", true );
103 [&](
const std::string& loc ) {
return this->exist<DataObject>( loc ); } );
113 [&](
const std::string& loc ) {
return this->exist<DataObject>( loc ); } );
SmartIF< IAlgContextSvc > & contextSvc() const
get Algorithm Context 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 setProperty(const Gaudi::Details::PropertyBase &p) override
set the property form another property
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.
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
constexpr static const auto SUCCESS
StatusCode initialize() override
standard initialization method
Base class from which all concrete algorithm classes should be derived.
Gaudi::Property< std::vector< std::string > > m_requireObjs
Gaudi::Property< std::vector< std::string > > m_vetoObjs
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
bool registerContext() const
register for Algorithm Context Service?
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.
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.
MSG::Level msgLevel() const
get the cached level (originally extracted from the embedded MsgStream)
GaudiAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.