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 95 of file EventStreamInfo.cxx.

96  {
97  os << "EventStreamInfo number of events: " << esi.getNumberOfEvents() << '\n';
98 
99  os << "EventStreamInfo Run Numbers: ";
100  for (unsigned int rn : esi.getRunNumbers()) {
101  os << rn << ", ";
102  }
103  os << '\n';
104 
105  os << "EventStreamInfo LumiBlock Numbers: ";
106  for (unsigned int lbn : esi.getLumiBlockNumbers()) {
107  os << lbn << ", ";
108  }
109  os << '\n';
110 
111  os << "EventStreamInfo Processing Tags: ";
112  for (const std::string& tag : esi.getProcessingTags()) {
113  os << tag << ", ";
114  }
115  os << '\n';
116 
117  os << "EventStreamInfo Event Types: ";
118  for (const EventType& typ : esi.getEventTypes()) {
119  os << typ.typeToString() << ", ";
120  }
121 
122  return os;
123 }

◆ 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
LB_AnalMapSplitter.lbn
lbn
Definition: LB_AnalMapSplitter.py:28