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

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

#include "EventInfo/EventStreamInfo.h"
#include "GaudiKernel/MsgStream.h"
Include dependency graph for EventStreamInfo.cxx:

Go to the source code of this file.

Functions

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

Detailed Description

This file contains the implementation for the EventStreamInfo class.

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

Definition in file EventStreamInfo.cxx.

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