45 this,
"DataKeys", {},
"list of objects to be read from file"};
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
const std::string & name() const override
The identifying name of the algorithm object.
Implementation of property with value of concrete type.
StatusCode setProperty(const Gaudi::Details::PropertyBase &p) override
set the property form another property
virtual StatusCode addPreLoadItem(const DataStoreItem &item)=0
Add an item to the preload list.
IDataHandleMetadata::AccessMode AccessMode
void addDataDependency(const DataObjID &key, AccessMode access) final override
Add a data dependency, even after initialization.
Header file for class GaudiAlgorithm.
virtual StatusCode preLoad()=0
Load all preload items of the list.
Gaudi::Property< std::vector< std::string > > m_dataKeys
#define DECLARE_COMPONENT(type)
This class is used for returning status codes from appropriate routines.
FetchDataFromFile(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize() override
Base class from which all concrete algorithm classes should be derived.
SmartIF< IDataProviderSvc > & evtSvc() const
shortcut for method eventSvc
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
StatusCode start() override
the default (empty) implementation of IStateful::start() method
const DataObjIDColl & dataDependencies(AccessMode access) const final override
Tell which whiteboard keys the algorithm will be reading or writing.
Helper functions to set/get the application return code.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Gaudi::v2::DataHandle::AccessMode AccessMode
StatusCode start() override
StatusCode execute() override
MSG::Level msgLevel() const
get the cached level (originally extracted from the embedded MsgStream)