CMS 3D CMS Logo

List of all members | Static Public Member Functions | Protected Attributes
HcalLutManager_test Class Reference

#include <HcalLutManager.h>

Static Public Member Functions

static int getInt_test (std::string number)
 
static int getLutSetFromFile_test (std::string _filename)
 
static int getLutXml_test (std::vector< unsigned int > &_lut)
 

Protected Attributes

LutXmllut_xml
 

Detailed Description

Definition at line 175 of file HcalLutManager.h.

Member Function Documentation

static int HcalLutManager_test::getInt_test ( std::string  number)
static
int HcalLutManager_test::getLutSetFromFile_test ( std::string  _filename)
static

Definition at line 150 of file HcalLutManager.cc.

References HcalLutSet::depth_max, HcalLutSet::depth_min, HcalLutSet::eta_max, HcalLutSet::eta_min, mps_fire::i, label, HcalLutSet::lut, HcalLutSet::phi_max, HcalLutSet::phi_min, alignCSCRings::s, and HcalLutSet::subdet.

151 {
152  HcalLutManager _manager;
153  HcalLutSet _set = _manager . getLutSetFromFile( _filename );
154  std::stringstream s;
155  s << "===> Test of HcalLutSet HcalLutManager::getLutSetFromFile( std::string _filename )" << std::endl << std::endl;
156  s << _set . label << std::endl;
157  for (unsigned int i = 0; i != _set.subdet.size(); i++) s << _set.subdet[i] << " ";
158  s << std::endl;
159  for (unsigned int i = 0; i != _set.eta_min.size(); i++) s << _set.eta_min[i] << " ";
160  s << std::endl;
161  for (unsigned int i = 0; i != _set.eta_max.size(); i++) s << _set.eta_max[i] << " ";
162  s << std::endl;
163  for (unsigned int i = 0; i != _set.phi_min.size(); i++) s << _set.phi_min[i] << " ";
164  s << std::endl;
165  for (unsigned int i = 0; i != _set.phi_max.size(); i++) s << _set.phi_max[i] << " ";
166  s << std::endl;
167  for (unsigned int i = 0; i != _set.depth_min.size(); i++) s << _set.depth_min[i] << " ";
168  s << std::endl;
169  for (unsigned int i = 0; i != _set.depth_max.size(); i++) s << _set.depth_max[i] << " ";
170  s << std::endl;
171  for (unsigned int j = 0; j != _set.lut[0].size(); j++){
172  for (unsigned int i = 0; i != _set.lut.size(); i++){
173  s << _set.lut[i][j] << " ";
174  }
175  s << "---> " << j << std::endl;
176  }
177  edm::LogInfo("HcalLutManager") << s.str();
178  return 0;
179 }
std::vector< std::vector< unsigned int > > lut
std::vector< int > phi_max
std::vector< std::string > subdet
Various manipulations with trigger Lookup Tables.
std::vector< int > phi_min
std::vector< int > depth_max
char const * label
std::vector< int > depth_min
std::vector< int > eta_max
std::vector< int > eta_min
static int HcalLutManager_test::getLutXml_test ( std::vector< unsigned int > &  _lut)
inlinestatic

Definition at line 178 of file HcalLutManager.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

178 {return 0;}

Member Data Documentation

LutXml* HcalLutManager_test::lut_xml
protected

Definition at line 185 of file HcalLutManager.h.