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 146 of file RegSelEtaPhiLUT.h.

146  {
147 
148  for ( unsigned i=0 ; i<f.map().size() ; i++ ) {
149 
150  const std::vector< RegSelEtaPhiLUT::map_element >& row = f.map()[i];
151 
152  s << "row " << i << std::endl;
153 
154  for ( unsigned j=0 ; j<row.size() ; j++ ) {
155 
156  const RegSelEtaPhiLUT::map_element& tower = row[j];
157 
158  s << "\t" << j << "\t" << (EtaPhiBase)tower << " \t:";
159 
160  RegSelEtaPhiLUT::moduleset::const_iterator rpitr=tower.payload().begin();
161  RegSelEtaPhiLUT::moduleset::const_iterator rpend=tower.payload().end();
162 
163  while ( rpitr!=rpend ) {
164  s << "\t" << (EtaPhiBase)(*rpitr);
165  ++rpitr;
166  }
167 
168  s << std::endl;
169  }
170 
171  s << std::endl;
172 
173  }
174 
175  return s;
176 }
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