![]() |
ATLAS Offline Software
|
This class provides the summary information stored for data written as a Event Stream. More...
#include <EventStreamInfo.h>
Public Member Functions | |
EventStreamInfo () | |
Default Constructor. More... | |
virtual | ~EventStreamInfo () |
Destructor. More... | |
unsigned int | getNumberOfEvents () const |
const std::set< unsigned int > & | getRunNumbers () const |
const std::set< unsigned int > & | getLumiBlockNumbers () const |
const std::set< std::string > & | getProcessingTags () const |
const std::set< std::pair< CLID, std::string > > & | getItemList () const |
const std::set< EventType > & | getEventTypes () const |
void | addEvent (unsigned int number=1) |
Increase Event Counter. More... | |
void | setNumberOfEvents (unsigned int number) |
Set number of events. More... | |
void | insertRunNumber (unsigned int run) |
Insert new Run Number into a set. More... | |
void | insertLumiBlockNumber (unsigned int lumiBlock) |
Insert new Luminosity Block Number into a set. More... | |
void | insertProcessingTag (const std::string &process) |
Insert new Processing Tag into a set. More... | |
void | insertItemList (CLID type, const std::string &key) |
Insert new ItemList Entry into a set. More... | |
void | insertEventType (const EventType &event) |
Insert new Event Type into a set. More... | |
void | print (MsgStream &log) const |
Print a EventStreamInfo to the log file. More... | |
void | reset () |
Private Attributes | |
unsigned int | m_numberOfEvents |
std::set< unsigned int > | m_runNumbers |
std::set< unsigned int > | m_lumiBlockNumbers |
std::set< std::string > | m_processingTags |
std::set< std::pair< CLID, std::string > > | m_itemList |
std::set< EventType > | m_eventTypes |
This class provides the summary information stored for data written as a Event Stream.
Definition at line 28 of file EventStreamInfo.h.
|
inline |
|
inlinevirtual |
void EventStreamInfo::addEvent | ( | unsigned int | number = 1 | ) |
Increase Event Counter.
Definition at line 53 of file EventStreamInfo.cxx.
Definition at line 47 of file EventStreamInfo.cxx.
Definition at line 41 of file EventStreamInfo.cxx.
const std::set< unsigned int > & EventStreamInfo::getLumiBlockNumbers | ( | ) | const |
Definition at line 29 of file EventStreamInfo.cxx.
unsigned int EventStreamInfo::getNumberOfEvents | ( | ) | const |
Definition at line 17 of file EventStreamInfo.cxx.
const std::set< std::string > & EventStreamInfo::getProcessingTags | ( | ) | const |
Definition at line 35 of file EventStreamInfo.cxx.
const std::set< unsigned int > & EventStreamInfo::getRunNumbers | ( | ) | const |
Definition at line 23 of file EventStreamInfo.cxx.
Insert new Event Type into a set.
Definition at line 88 of file EventStreamInfo.cxx.
Insert new ItemList Entry into a set.
type | [IN] CLID for type to be inserted. |
key | [IN] string with key to be inserted. |
Definition at line 82 of file EventStreamInfo.cxx.
void EventStreamInfo::insertLumiBlockNumber | ( | unsigned int | lumiBlock | ) |
Insert new Luminosity Block Number into a set.
lumiBlock | [IN] the Luminosity Block Number to be inserted. |
Definition at line 70 of file EventStreamInfo.cxx.
void EventStreamInfo::insertProcessingTag | ( | const std::string & | process | ) |
Insert new Processing Tag into a set.
process | [IN] string with the Processing Tag to be inserted. |
Definition at line 76 of file EventStreamInfo.cxx.
void EventStreamInfo::insertRunNumber | ( | unsigned int | run | ) |
Insert new Run Number into a set.
run | [IN] the Run Number to be inserted. |
Definition at line 64 of file EventStreamInfo.cxx.
void EventStreamInfo::print | ( | MsgStream & | log | ) | const |
Print a EventStreamInfo to the log file.
Definition at line 94 of file EventStreamInfo.cxx.
void EventStreamInfo::reset | ( | ) |
Definition at line 132 of file EventStreamInfo.cxx.
void EventStreamInfo::setNumberOfEvents | ( | unsigned int | number | ) |
Set number of events.
Definition at line 58 of file EventStreamInfo.cxx.
|
private |
Definition at line 81 of file EventStreamInfo.h.
|
private |
Definition at line 80 of file EventStreamInfo.h.
|
private |
Definition at line 78 of file EventStreamInfo.h.
|
private |
Definition at line 76 of file EventStreamInfo.h.
|
private |
Definition at line 79 of file EventStreamInfo.h.
|
private |
Definition at line 77 of file EventStreamInfo.h.