![]() |
![]() |
#include <CaloOnlineTools/HcalOnlineDb/interface/HcalLutManager.h>
Static Public Member Functions | |
static int | getInt_test (string number) |
static int | getLutSetFromFile_test (string _filename) |
static int | getLutXml_test (std::vector< unsigned int > &_lut) |
Protected Attributes | |
LutXml * | lut_xml |
Definition at line 53 of file HcalLutManager.h.
static int HcalLutManager_test::getInt_test | ( | string | number | ) | [static] |
int HcalLutManager_test::getLutSetFromFile_test | ( | string | _filename | ) | [static] |
Definition at line 78 of file HcalLutManager.cc.
References GenMuonPlsPt100GeV_cfg::cout, HcalLutSet::depth_max, HcalLutSet::depth_min, lat::endl(), HcalLutSet::eta_max, HcalLutSet::eta_min, i, j, label, HcalLutSet::lut, HcalLutSet::phi_max, HcalLutSet::phi_min, and HcalLutSet::subdet.
00079 { 00080 HcalLutManager _manager; 00081 HcalLutSet _set = _manager . getLutSetFromFile( _filename ); 00082 cout << "===> Test of HcalLutSet HcalLutManager::getLutSetFromFile( string _filename )" << endl << endl; 00083 cout << _set . label << endl; 00084 for (unsigned int i = 0; i != _set.subdet.size(); i++) cout << _set.subdet[i] << " "; 00085 cout << endl; 00086 for (unsigned int i = 0; i != _set.eta_min.size(); i++) cout << _set.eta_min[i] << " "; 00087 cout << endl; 00088 for (unsigned int i = 0; i != _set.eta_max.size(); i++) cout << _set.eta_max[i] << " "; 00089 cout << endl; 00090 for (unsigned int i = 0; i != _set.phi_min.size(); i++) cout << _set.phi_min[i] << " "; 00091 cout << endl; 00092 for (unsigned int i = 0; i != _set.phi_max.size(); i++) cout << _set.phi_max[i] << " "; 00093 cout << endl; 00094 for (unsigned int i = 0; i != _set.depth_min.size(); i++) cout << _set.depth_min[i] << " "; 00095 cout << endl; 00096 for (unsigned int i = 0; i != _set.depth_max.size(); i++) cout << _set.depth_max[i] << " "; 00097 cout << endl; 00098 for (unsigned int j = 0; j != _set.lut[0].size(); j++){ 00099 for (unsigned int i = 0; i != _set.lut.size(); i++){ 00100 cout << _set.lut[i][j] << " "; 00101 } 00102 cout << "---> " << j << endl; 00103 } 00104 }
LutXml* HcalLutManager_test::lut_xml [protected] |
Definition at line 63 of file HcalLutManager.h.