12 declareProperty(
"DataKeys", m_dataKeys,
"list of objects to be read from file");
18 for (
auto k: m_dataKeys.value()) {
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
SmartIF< ISvcLocator > & svcLoc() const
shortcut for method serviceLocator
const std::string & name() const override
The identifying name of the algorithm object.
virtual StatusCode addPreLoadItem(const DataStoreItem &item)=0
Add an item to the preload list.
StatusCode initialize() override
standard initialization method
Header file for class GaudiAlgorithm.
virtual StatusCode preLoad()=0
Load all preload items of the list.
Gaudi::Property< std::vector< std::string > > StringArrayProperty
std::vector< DataObjectHandle< DataObject > > m_outputHandles
#define DECLARE_COMPONENT(type)
This class is used for returning status codes from appropriate routines.
The useful base class for data processing algorithms.
StatusCode initialize() override
FetchDataFromFile(const std::string &name, ISvcLocator *svcLoc)
StringArrayProperty m_dataKeys
SmartIF< IDataProviderSvc > & evtSvc() const
shortcut for method eventSvc
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
Gaudi::Details::PropertyBase * declareProperty(const std::string &name, ToolHandle< T > &hndl, const std::string &doc="none")
Helper functions to set/get the application return code.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
StatusCode execute() override