Go to the documentation of this file.
   20 #define GAUDISVC_PERSISTENCYSVC_EVTCOLLECTIONSTREAM_CPP 
   36   m_pTupleSvc = serviceLocator()->
service( m_storeName );
 
   38     fatal() << 
"Unable to locate IDataManagerSvc interface" << 
endmsg;
 
   44   for ( 
const auto& i : m_itemNames ) addItem( i );
 
   45   info() << 
"Data source:             " << m_storeName.value() << 
endmsg;
 
   73   auto        sep      = descriptor.
rfind( 
"#" );
 
   76   if ( sep != std::string::npos ) {
 
   78     if ( slevel == 
"*" ) {
 
   86   info() << 
"Adding OutputStream item " << item->
path() << 
" with " << item->depth() << 
" level(s)." << 
endmsg;
 
  
 
StatusCode execute() override
Working entry point.
std::vector< std::unique_ptr< DataStoreItem > > m_itemList
Vector of items to be saved to this stream.
void clearItems()
Clear item list.
A small to stream Data I/O.
StatusCode finalize() override
Terminate EvtCollectionStream.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
T emplace_back(T... args)
SmartIF< INTupleSvc > m_pTupleSvc
Reference to Tuple service for event collection (may or may not be NTuple service)
constexpr static const auto SUCCESS
#define DECLARE_COMPONENT(type)
StatusCode service(std::string_view name, T *&psvc, bool createIf=true) const
Access a service by name, creating it if it doesn't already exist.
const std::string & path() const
Accessor: Retrieve load path.
constexpr static const auto FAILURE
void addItem(const std::string &descriptor)
Add item to output streamer list.