ATLAS Offline Software
Functions
PEBInfoWriterToolBase.cxx File Reference
#include "TrigPartialEventBuilding/PEBInfoWriterToolBase.h"
Include dependency graph for PEBInfoWriterToolBase.cxx:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &str, const PEBInfoWriterToolBase::PEBInfo &pebi)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  str,
const PEBInfoWriterToolBase::PEBInfo pebi 
)

Definition at line 100 of file PEBInfoWriterToolBase.cxx.

100  {
101  str << "ROBs = [";
102  size_t i=0;
103  for (const uint32_t robid : pebi.robs) {
104  str << "0x" << std::hex << robid << std::dec;
105  ++i;
106  if (i!=pebi.robs.size()) str << ", ";
107  }
108  str << "], SubDets = [";
109  i=0;
110  for (const uint32_t subdetid : pebi.subdets) {
111  str << "0x" << std::hex << subdetid << std::dec;
112  ++i;
113  if (i!=pebi.subdets.size()) str << ", ";
114  }
115  str << "]";
116  return str;
117 }
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
PEBInfoWriterToolBase::PEBInfo::robs
std::set< uint32_t > robs
Definition: PEBInfoWriterToolBase.h:45
lumiFormat.i
int i
Definition: lumiFormat.py:85
PEBInfoWriterToolBase::PEBInfo::subdets
std::set< uint32_t > subdets
Definition: PEBInfoWriterToolBase.h:46
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
str
Definition: BTagTrackIpAccessor.cxx:11