ATLAS Offline Software
Loading...
Searching...
No Matches
EventStreamInfo.h File Reference

This file contains the class definition for the EventStreamInfo class. More...

#include "GaudiKernel/ClassID.h"
#include "EventInfo/EventType.h"
#include <string>
#include <set>
#include <iostream>
#include "AthenaKernel/CLASS_DEF.h"
#include "AthenaKernel/MetaCont.h"
#include "AthenaKernel/BaseInfo.h"
Include dependency graph for EventStreamInfo.h:

Go to the source code of this file.

Classes

class  EventStreamInfo
 This class provides the summary information stored for data written as a Event Stream. More...

Functions

std::ostream & operator<< (std::ostream &os, const EventStreamInfo &esi)
 SG_BASE (MetaCont< EventStreamInfo >, MetaContBase)

Detailed Description

This file contains the class definition for the EventStreamInfo class.

Author
Peter van Gemmeren gemme.nosp@m.ren@.nosp@m.anl.g.nosp@m.ov
Id
EventStreamInfo.h,v 1.5 2009-02-09 22:11:39 gemmeren Exp

Definition in file EventStreamInfo.h.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const EventStreamInfo & esi )

Definition at line 100 of file EventStreamInfo.cxx.

101 {
102 os << "EventStreamInfo number of events: " << esi.getNumberOfEvents() << '\n';
103
104 os << "EventStreamInfo Run Numbers: ";
105 for (unsigned int rn : esi.getRunNumbers()) {
106 os << rn << ", ";
107 }
108 os << '\n';
109
110 os << "EventStreamInfo LumiBlock Numbers: ";
111 for (unsigned int lbn : esi.getLumiBlockNumbers()) {
112 os << lbn << ", ";
113 }
114 os << '\n';
115
116 os << "EventStreamInfo Processing Tags: ";
117 for (const std::string& tag : esi.getProcessingTags()) {
118 os << tag << ", ";
119 }
120 os << '\n';
121
122 os << "EventStreamInfo Event Types: ";
123 for (const EventType& typ : esi.getEventTypes()) {
124 os << typ.typeToString() << ", ";
125 }
126
127 return os;
128}
const std::set< std::string > & getProcessingTags() const
const std::set< unsigned int > & getLumiBlockNumbers() const
const std::set< unsigned int > & getRunNumbers() const
const std::set< EventType > & getEventTypes() const
unsigned int getNumberOfEvents() const
This class represents the "type of event" where the type is given by one or more "characteristics".
Definition EventType.h:92

◆ SG_BASE()