ATLAS Offline Software
Classes | Functions
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 }

◆ SG_BASE()

SG_BASE ( MetaCont< EventStreamInfo ,
MetaContBase   
)
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