ATLAS Offline Software
Classes | Functions
RegSelEtaPhiLUT.h File Reference
#include <iostream>
#include <vector>
#include <set>
#include "RegSelLUT/RegSelRoI.h"
#include "RegSelLUT/RegSelEtaPhiModule.h"
#include "Identifier/IdentifierHash.h"
Include dependency graph for RegSelEtaPhiLUT.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RegSelEtaPhiLUT
 

Functions

std::ostream & operator<< (std::ostream &s, const RegSelEtaPhiLUT &f)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const RegSelEtaPhiLUT f 
)
inline

Definition at line 147 of file RegSelEtaPhiLUT.h.

147  {
148 
149  for ( unsigned i=0 ; i<f.map().size() ; i++ ) {
150 
151  const std::vector< RegSelEtaPhiLUT::map_element >& row = f.map()[i];
152 
153  s << "row " << i << std::endl;
154 
155  for ( unsigned j=0 ; j<row.size() ; j++ ) {
156 
157  const RegSelEtaPhiLUT::map_element& tower = row[j];
158 
159  s << "\t" << j << "\t" << (EtaPhiBase)tower << " \t:";
160 
161  RegSelEtaPhiLUT::moduleset::const_iterator rpitr=tower.payload().begin();
162  RegSelEtaPhiLUT::moduleset::const_iterator rpend=tower.payload().end();
163 
164  while ( rpitr!=rpend ) {
165  s << "\t" << (EtaPhiBase)(*rpitr);
166  rpitr++;
167  }
168 
169  s << std::endl;
170  }
171 
172  s << std::endl;
173 
174  }
175 
176  return s;
177 }
query_example.row
row
Definition: query_example.py:24
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
TRegSelEtaPhiModule
template class with payload added NB: >, <, == and != operators should be defined for the payload for...
Definition: RegSelEtaPhiModule.h:125
EtaPhiBase
base class, with just the eta-phi limits and the overlap functionality
Definition: RegSelEtaPhiModule.h:27
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
lumiFormat.i
int i
Definition: lumiFormat.py:85
hist_file_dump.f
f
Definition: hist_file_dump.py:135
TRegSelEtaPhiModule::payload
const T & payload() const
Definition: RegSelEtaPhiModule.h:134