ATLAS Offline Software
Functions
ByteStreamMetadata.cxx File Reference

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

#include "ByteStreamData/ByteStreamMetadata.h"
#include "EventStorage/DataReader.h"
#include <bitset>
#include <ostream>
Include dependency graph for ByteStreamMetadata.cxx:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const ByteStreamMetadata &bsmd)
 pretty print bytestream metadata content More...
 

Detailed Description

This file contains the implementation for the ByteStreamMetadata class.

Author
Peter van Gemmeren gemme.nosp@m.ren@.nosp@m.anl.g.nosp@m.ov
Id
ByteStreamMetadata.cxx,v 1.2 2009-04-02 14:47:41 gemmeren Exp

Definition in file ByteStreamMetadata.cxx.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const ByteStreamMetadata bsmd 
)

pretty print bytestream metadata content

Definition at line 194 of file ByteStreamMetadata.cxx.

194  {
195  std::bitset<64> word1(bsmd.getDetectorMask());
196  std::bitset<64> word2(bsmd.getDetectorMask2());
197 
198  os << " runNumber: " << bsmd.getRunNumber() << '\n'
199  << " numEvents: " << bsmd.getNumEvents() << '\n'
200  << " m_maxEvents: " << bsmd.getMaxEvents() << '\n'
201  << " recEnable: " << bsmd.getRecEnable() << '\n'
202  << " triggerType: " << bsmd.getTriggerType() << '\n'
203  << " detectorMask: " << word1 << '\n'
204  << " detectorMask2: " << word2 << '\n'
205  << " beamType: " << bsmd.getBeamType() << '\n'
206  << " beamEnergy: " << bsmd.getBeamEnergy() << '\n'
207  << " guid: " << bsmd.getGuid() << '\n'
208  << " stream: " << bsmd.getStream() << '\n'
209  << " project: " << bsmd.getProject() << '\n'
210  << " lumiBlock: " << bsmd.getLumiBlock() << '\n';
211 
212  os << " freeMetaDataStrings: ";
213  for (const std::string& key : bsmd.getFreeMetaDataStrings())
214  os << key << " ";
215 
216  return os;
217 }
xAOD::word1
word1
Definition: eFexEMRoI_v1.cxx:87
ByteStreamMetadata::getDetectorMask
uint64_t getDetectorMask() const
Definition: ByteStreamMetadata.cxx:157
ByteStreamMetadata::getBeamEnergy
unsigned int getBeamEnergy() const
Definition: ByteStreamMetadata.cxx:169
ByteStreamMetadata::getFreeMetaDataStrings
const std::vector< std::string > & getFreeMetaDataStrings() const
Definition: ByteStreamMetadata.cxx:189
ByteStreamMetadata::getMaxEvents
unsigned int getMaxEvents() const
Definition: ByteStreamMetadata.cxx:145
ByteStreamMetadata::getStream
const std::string & getStream() const
Definition: ByteStreamMetadata.cxx:177
ByteStreamMetadata::getBeamType
unsigned int getBeamType() const
Definition: ByteStreamMetadata.cxx:165
ByteStreamMetadata::getProject
const std::string & getProject() const
Definition: ByteStreamMetadata.cxx:181
ByteStreamMetadata::getLumiBlock
unsigned int getLumiBlock() const
Definition: ByteStreamMetadata.cxx:185
ByteStreamMetadata::getDetectorMask2
uint64_t getDetectorMask2() const
Definition: ByteStreamMetadata.cxx:161
ByteStreamMetadata::getRecEnable
unsigned int getRecEnable() const
Definition: ByteStreamMetadata.cxx:149
ByteStreamMetadata::getNumEvents
unsigned int getNumEvents() const
Definition: ByteStreamMetadata.cxx:141
ByteStreamMetadata::getGuid
const std::string & getGuid() const
Definition: ByteStreamMetadata.cxx:173
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
ByteStreamMetadata::getRunNumber
unsigned int getRunNumber() const
Definition: ByteStreamMetadata.cxx:137
ByteStreamMetadata::getTriggerType
unsigned int getTriggerType() const
Definition: ByteStreamMetadata.cxx:153
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37