Loading [MathJax]/jax/input/TeX/config.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
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 }
EventStreamInfo::getRunNumbers
const std::set< unsigned int > & getRunNumbers() const
Definition: EventStreamInfo.cxx:23
EventType
This class represents the "type of event" where the type is given by one or more "characteristics".
Definition: EventType.h:92
EventStreamInfo::getProcessingTags
const std::set< std::string > & getProcessingTags() const
Definition: EventStreamInfo.cxx:35
EventStreamInfo::getEventTypes
const std::set< EventType > & getEventTypes() const
Definition: EventStreamInfo.cxx:47
EventStreamInfo::getLumiBlockNumbers
const std::set< unsigned int > & getLumiBlockNumbers() const
Definition: EventStreamInfo.cxx:29
python.BunchSpacingUtils.rn
rn
Definition: BunchSpacingUtils.py:87
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
EventStreamInfo::getNumberOfEvents
unsigned int getNumberOfEvents() const
Definition: EventStreamInfo.cxx:17
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24