ATLAS Offline Software
Loading...
Searching...
No Matches
PEBInfoWriterToolBase.h File Reference
Include dependency graph for PEBInfoWriterToolBase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PEBInfoWriterToolBase
 Base class for tools used by PEBInfoWriterAlg. More...
struct  PEBInfoWriterToolBase::Input
 Input to the tool's decide method. More...
struct  PEBInfoWriterToolBase::PEBInfo
 Structure holding the list of ROBs and SubDets. More...

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 102 of file PEBInfoWriterToolBase.cxx.

102 {
103 str << "ROBs = [";
104 size_t i=0;
105 for (const uint32_t robid : pebi.robs) {
106 str << "0x" << std::hex << robid << std::dec;
107 ++i;
108 if (i!=pebi.robs.size()) str << ", ";
109 }
110 str << "], SubDets = [";
111 i=0;
112 for (const uint32_t subdetid : pebi.subdets) {
113 str << "0x" << std::hex << subdetid << std::dec;
114 ++i;
115 if (i!=pebi.subdets.size()) str << ", ";
116 }
117 str << "]";
118 return str;
119}