5#ifndef EVENTINFO_EVENTSTREAMINFO_H
6#define EVENTINFO_EVENTSTREAMINFO_H
14#include "GaudiKernel/ClassID.h"
53 const std::set<std::pair<CLID, std::string> >&
getItemList()
const;
79 void print(MsgStream& log)
const;
104#include "AthenaKernel/MetaCont.h"
106#include "AthenaKernel/BaseInfo.h"
#define SG_BASE(D, B)
Declare that class D derives from class B.
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
std::ostream & operator<<(std::ostream &os, const EventStreamInfo &esi)
This class provides general information about an event.
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
EventStreamInfo()
Default Constructor.
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.
EventStreamInfo & operator=(EventStreamInfo &&)=default
const std::set< EventType > & getEventTypes() const
EventStreamInfo & operator=(const EventStreamInfo &)=default
EventStreamInfo(EventStreamInfo &&)=default
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
virtual ~EventStreamInfo()
Destructor.
std::set< std::pair< CLID, std::string > > m_itemList
std::set< unsigned int > m_lumiBlockNumbers
void setNumberOfEvents(unsigned int number)
Set number of events.
EventStreamInfo(const EventStreamInfo &)=default
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)