ATLAS Offline Software
Loading...
Searching...
No Matches
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

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}
uint64_t getDetectorMask() const
unsigned int getBeamType() const
const std::string & getGuid() const
const std::string & getStream() const
unsigned int getMaxEvents() const
unsigned int getRecEnable() const
unsigned int getRunNumber() const
unsigned int getTriggerType() const
unsigned int getNumEvents() const
unsigned int getBeamEnergy() const
unsigned int getLumiBlock() const
const std::vector< std::string > & getFreeMetaDataStrings() const
const std::string & getProject() const
uint64_t getDetectorMask2() const