50 if ( !inputHandle->isValid() )
continue;
53 if ( !obj ) logstream <<
MSG::ERROR <<
"A read object was a null pointer." <<
endmsg;
58 if ( !outputHandle->isValid() )
continue;
59 outputHandle->put( std::make_unique<DataObject>() );
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
#define DECLARE_COMPONENT(type)
const SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
void declare(Gaudi::DataHandle &handle) override
DataObjectHandle.h GaudiKernel/DataObjectHandle.h.
A DataObject is the base class of any identifiable object on any data store.
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
StatusCode finalize() override
the default (empty) implementation of IStateful::finalize() method
const std::string & name() const override
The identifying name of the algorithm object.
SmartIF< IService > service(std::string_view name, const bool createIf=true, const bool quiet=false) const
Return a pointer to the service identified by name (or "type/name")
StatusCode execute() override
Gaudi::Property< std::vector< std::string > > m_outKeys
StatusCode initialize() override
SmartIF< IIncidentAsyncTestSvc > m_service
Gaudi::Property< std::string > m_serviceName
Gaudi::Property< std::vector< std::string > > m_inpKeys
StatusCode finalize() override
std::vector< std::unique_ptr< DataObjectHandle< DataObject > > > m_inputObjHandles
std::vector< std::unique_ptr< DataObjectHandle< DataObject > > > m_outputObjHandles
Definition of the MsgStream class used to transmit messages.
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS