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 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 193 of file ByteStreamMetadata.cxx.

193  {
194  std::bitset<64> word1(bsmd.getDetectorMask());
195  std::bitset<64> word2(bsmd.getDetectorMask2());
196 
197  os << " runNumber: " << bsmd.getRunNumber() << '\n'
198  << " numEvents: " << bsmd.getNumEvents() << '\n'
199  << " m_maxEvents: " << bsmd.getMaxEvents() << '\n'
200  << " recEnable: " << bsmd.getRecEnable() << '\n'
201  << " triggerType: " << bsmd.getTriggerType() << '\n'
202  << " detectorMask: " << word1 << '\n'
203  << " detectorMask2: " << word2 << '\n'
204  << " beamType: " << bsmd.getBeamType() << '\n'
205  << " beamEnergy: " << bsmd.getBeamEnergy() << '\n'
206  << " guid: " << bsmd.getGuid() << '\n'
207  << " stream: " << bsmd.getStream() << '\n'
208  << " project: " << bsmd.getProject() << '\n'
209  << " lumiBlock: " << bsmd.getLumiBlock() << '\n';
210 
211  os << " freeMetaDataStrings: ";
212  for (const std::string& key : bsmd.getFreeMetaDataStrings())
213  os << key << " ";
214 
215  return os;
216 }
xAOD::word1
word1
Definition: eFexEMRoI_v1.cxx:87
ByteStreamMetadata::getDetectorMask
uint64_t getDetectorMask() const
Definition: ByteStreamMetadata.cxx:156
ByteStreamMetadata::getBeamEnergy
unsigned int getBeamEnergy() const
Definition: ByteStreamMetadata.cxx:168
ByteStreamMetadata::getFreeMetaDataStrings
const std::vector< std::string > & getFreeMetaDataStrings() const
Definition: ByteStreamMetadata.cxx:188
ByteStreamMetadata::getMaxEvents
unsigned int getMaxEvents() const
Definition: ByteStreamMetadata.cxx:144
ByteStreamMetadata::getStream
const std::string & getStream() const
Definition: ByteStreamMetadata.cxx:176
ByteStreamMetadata::getBeamType
unsigned int getBeamType() const
Definition: ByteStreamMetadata.cxx:164
ByteStreamMetadata::getProject
const std::string & getProject() const
Definition: ByteStreamMetadata.cxx:180
ByteStreamMetadata::getLumiBlock
unsigned int getLumiBlock() const
Definition: ByteStreamMetadata.cxx:184
ByteStreamMetadata::getDetectorMask2
uint64_t getDetectorMask2() const
Definition: ByteStreamMetadata.cxx:160
ByteStreamMetadata::getRecEnable
unsigned int getRecEnable() const
Definition: ByteStreamMetadata.cxx:148
ByteStreamMetadata::getNumEvents
unsigned int getNumEvents() const
Definition: ByteStreamMetadata.cxx:140
ByteStreamMetadata::getGuid
const std::string & getGuid() const
Definition: ByteStreamMetadata.cxx:172
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
ByteStreamMetadata::getRunNumber
unsigned int getRunNumber() const
Definition: ByteStreamMetadata.cxx:136
ByteStreamMetadata::getTriggerType
unsigned int getTriggerType() const
Definition: ByteStreamMetadata.cxx:152
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37