42 while ( input.good() ) {
45 if ( input.eof() )
break;
65 error() <<
"Cannot add entry 'Extra' to the TES" <<
endmsg;
71 error() <<
"Failed to register the address to the extra data" <<
endmsg;
77 SmartDataPtr<MyTrackVector> trks1(
eventSvc(),
"Tracks" );
78 SmartDataPtr<MyTrackVector> trks2(
eventSvc(),
"Extra/Tracks" );
81 info() <<
"Base event tracks: " << trks1->size() <<
endmsg;
85 info() <<
"Extra event tracks: " << trks2->size() <<
endmsg;
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
#define DECLARE_COMPONENT(type)
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
MSG::Level msgLevel() const
SmartIF< IDataProviderSvc > & eventSvc() const
The standard event data service.
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
StatusCode registerObject(std::string_view fullPath, DataObject *pObject)
Register object with the data store.
ReadAlg class for the RootIOExample.
StatusCode execute() override
Event callback.
StatusCode initialize() override
Initialize.
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS