ATLAS Offline Software
Classes | Functions
PEBInfoWriterToolBase.h File Reference
#include "TrigCompositeUtils/HLTIdentifier.h"
#include "TrigCompositeUtils/TrigCompositeUtils.h"
#include "TrigSteeringEvent/TrigRoiDescriptor.h"
#include "AthenaBaseComps/AthAlgTool.h"
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 90 of file PEBInfoWriterToolBase.cxx.

90  {
91  str << "ROBs = [";
92  size_t i=0;
93  for (const uint32_t robid : pebi.robs) {
94  str << "0x" << std::hex << robid << std::dec;
95  ++i;
96  if (i!=pebi.robs.size()) str << ", ";
97  }
98  str << "], SubDets = [";
99  i=0;
100  for (const uint32_t subdetid : pebi.subdets) {
101  str << "0x" << std::hex << subdetid << std::dec;
102  ++i;
103  if (i!=pebi.subdets.size()) str << ", ";
104  }
105  str << "]";
106  return str;
107 }
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
PEBInfoWriterToolBase::PEBInfo::robs
std::set< uint32_t > robs
Definition: PEBInfoWriterToolBase.h:41
lumiFormat.i
int i
Definition: lumiFormat.py:92
PEBInfoWriterToolBase::PEBInfo::subdets
std::set< uint32_t > subdets
Definition: PEBInfoWriterToolBase.h:42
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
str
Definition: BTagTrackIpAccessor.cxx:11