10 #define GAUDISVC_PERSISTENCYSVC_EVTCOLLECTIONSTREAM_CPP
27 m_storeName =
"TagCollectionSvc";
28 declareProperty(
"ItemList", m_itemNames);
29 declareProperty(
"EvtDataSvc", m_storeName);
89 int sep = descriptor.rfind(
"#");
91 std::string obj_path (descriptor,0,sep);
92 std::string slevel (descriptor,sep+1,descriptor.length());
93 if ( slevel ==
"*" ) {
97 level = ::atoi(slevel.c_str());
100 log <<
MSG::INFO <<
"Adding OutputStream item " << item->
path()
101 <<
" with " << item->
depth()
102 <<
" level(s)." <<
endmsg;
virtual StatusCode finalize()
Terminate EvtCollectionStream.
Definition of the MsgStream class used to transmit messages.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
int depth() const
Accessor: Retrieve load depth.
SmartIF< ISvcLocator > & serviceLocator() const
The standard service locator.
virtual ~EvtCollectionStream()
Standard Destructor.
SmartIF< INTupleSvc > m_pTupleSvc
Reference to Tuple service for event collection (may or may not be NTuple service) ...
StatusCode setProperties()
Set the algorithm's properties.
bool isSuccess() const
Test for a status code of SUCCESS.
virtual StatusCode initialize()
Initialize EvtCollectionStream.
Description of the DataStoreItem class.
#define DECLARE_COMPONENT(type)
const std::string & path() const
Accessor: Retrieve load path.
virtual StatusCode execute()
Working entry point.
bool isValid() const
Allow for check if smart pointer is valid.
This class is used for returning status codes from appropriate routines.
virtual const std::string & name() const
The identifying name of the algorithm object.
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
ItemNames m_itemNames
Vector of item names.
Base class from which all concrete algorithm classes should be derived.
std::string m_storeName
Name of the service managing the data store.
void clearItems()
Clear item list.
void addItem(const std::string &descriptor)
Add item to output streamer list.
Items m_itemList
Vector of items to be saved to this stream.
A small to stream Data I/O.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.