13#include "GaudiKernel/MsgStream.h"
22const std::set<unsigned int>&
28const std::set<unsigned int>&
34const std::set<std::string>&
40const std::set<std::pair<CLID, std::string> >&
46const std::set<EventType>&
95 log << MSG::DEBUG << (*this) <<
endmsg;
104 os <<
"EventStreamInfo Run Numbers: ";
110 os <<
"EventStreamInfo LumiBlock Numbers: ";
116 os <<
"EventStreamInfo Processing Tags: ";
122 os <<
"EventStreamInfo Event Types: ";
124 os << typ.typeToString() <<
", ";
std::ostream & operator<<(std::ostream &os, const EventStreamInfo &esi)
This file contains the class definition for the EventStreamInfo class.
uint32_t CLID
The Class ID type.
This class provides the summary information stored for data written as a Event Stream.
const std::set< std::string > & getProcessingTags() const
std::set< std::string > m_processingTags
std::set< EventType > m_eventTypes
const std::set< unsigned int > & getLumiBlockNumbers() const
void insertEventType(const EventType &event)
Insert new Event Type into a set.
void insertLumiBlockNumber(unsigned int lumiBlock)
Insert new Luminosity Block Number into a set.
void print(MsgStream &log) const
Print a EventStreamInfo to the log file.
std::set< unsigned int > m_runNumbers
const std::set< unsigned int > & getRunNumbers() const
void insertRunNumber(unsigned int run)
Insert new Run Number into a set.
void addEvent(unsigned int number=1)
Increase Event Counter.
const std::set< EventType > & getEventTypes() const
void insertProcessingTag(const std::string &process)
Insert new Processing Tag into a set.
const std::set< std::pair< CLID, std::string > > & getItemList() const
unsigned int m_numberOfEvents
void insertItemList(CLID type, const std::string &key)
Insert new ItemList Entry into a set.
unsigned int getNumberOfEvents() const
std::set< std::pair< CLID, std::string > > m_itemList
std::set< unsigned int > m_lumiBlockNumbers
void setNumberOfEvents(unsigned int number)
Set number of events.
This class represents the "type of event" where the type is given by one or more "characteristics".
const std::string process
std::string number(const double &d, const std::string &s)