Various manipulations with trigger Lookup Tables. More...
#include <HcalLutManager.h>
Public Member Functions | |
void | addLutMap (std::map< int, boost::shared_ptr< LutXml > > &result, const std::map< int, boost::shared_ptr< LutXml > > &other) |
int | create_lut_loader (std::string file_list, std::string _prefix, std::string tag_name, std::string comment="default comment", std::string version="V00-01-01", int subversion=1) |
int | createAllLutXmlFiles (std::string _tag, std::string _lin_file, std::string _comp_file, bool split_by_crate=true) |
int | createAllLutXmlFilesFromCoder (const HcalTPGCoder &_coder, std::string _tag, bool split_by_crate=true) |
int | createAllLutXmlFilesLinAsciiCompCoder (std::string _tag, std::string _lin_file, bool split_by_crate=true) |
int | createCompLutXmlFilesFromCoder (std::string _tag, bool split_by_crate=true) |
int | createLinLutXmlFiles (std::string _tag, std::string _lin_file, bool split_by_crate=true) |
int | createLutXmlFiles_HBEFFromCoder_HOFromAscii (std::string _tag, const HcalTPGCoder &_coder, std::string _lin_file, bool split_by_crate=true) |
int | createLutXmlFiles_HBEFFromCoder_HOFromAscii (std::string _tag, const HcalTPGCoder &_coder, const CaloTPGTranscoderULUT &_transcoder, std::string _lin_file, bool split_by_crate=true) |
int | createLutXmlFiles_HBEFFromCoder_HOFromAscii_ZDC (std::string _tag, const HcalTPGCoder &_coder, const CaloTPGTranscoderULUT &_transcoder, std::string _lin_file, bool split_by_crate=true) |
std::map< int, boost::shared_ptr< LutXml > > | get_brickSet_from_oracle (std::string tag, const std::string _accessor="occi://CMS_HCL_PRTTYPE_HCAL_READER@anyhost/int2r?PASSWORD=HCAL_Reader_88,LHWM_VERSION=22") |
std::string | get_checksum (std::vector< unsigned int > &lut) |
int | get_xml_files_from_db (std::string tag, const std::string db_accessor="occi://CMS_HCL_PRTTYPE_HCAL_READER@anyhost/int2r?PASSWORD=HCAL_Reader_88,LHWM_VERSION=22", bool split_by_crate=true) |
std::map< int, boost::shared_ptr< LutXml > > | getCompressionLutXmlFromAsciiMaster (std::string _filename, std::string _tag, int _crate=-1, bool split_by_crate=true) |
std::map< int, boost::shared_ptr< LutXml > > | getCompressionLutXmlFromCoder (std::string _tag, bool split_by_crate=true) |
std::map< int, boost::shared_ptr< LutXml > > | getCompressionLutXmlFromCoder (const CaloTPGTranscoderULUT &_coder, std::string _tag, bool split_by_crate=true) |
std::map< int, boost::shared_ptr< LutXml > > | getLinearizationLutXmlFromAsciiMasterEmap (std::string _filename, std::string _tag, int _crate, bool split_by_crate=true) |
std::map< int, boost::shared_ptr< LutXml > > | getLinearizationLutXmlFromAsciiMasterEmap_new (std::string _filename, std::string _tag, int _crate, bool split_by_crate=true) |
std::map< int, boost::shared_ptr< LutXml > > | getLinearizationLutXmlFromCoder (const HcalTPGCoder &_coder, std::string _tag, bool split_by_crate=true) |
std::map< int, boost::shared_ptr< LutXml > > | getLinearizationLutXmlFromCoderEmap (const HcalTPGCoder &_coder, std::string _tag, bool split_by_crate=true) |
std::vector< unsigned int > | getLutFromXml (std::string tag, uint32_t _rawid, hcal::ConfigurationDatabase::LUTType _lt) |
std::vector< unsigned int > | getLutFromXml_old (std::string tag, uint32_t _rawid, hcal::ConfigurationDatabase::LUTType _lt) |
HcalLutSet | getLutSetFromFile (std::string _filename, int _type=1) |
std::string & | getLutXml (std::vector< unsigned int > &_lut) |
std::map< int, boost::shared_ptr< LutXml > > | getLutXmlFromAsciiMaster (std::string _filename, std::string _tag, int _crate=-1, bool split_by_crate=true) |
std::map< int, boost::shared_ptr< LutXml > > | getZdcLutXml (std::string _tag, bool split_by_crate=true) |
HcalLutManager () | |
HcalLutManager (std::vector< HcalGenericDetId > &map) | |
HcalLutManager (const HcalElectronicsMap *_emap, const HcalChannelQuality *_cq=0, uint32_t _status_word_to_mask=0x0000) | |
void | init (void) |
int | initChannelIterator (std::vector< HcalGenericDetId > &map) |
int | local_connect (std::string lut_xml_file, std::string lmap_hbef_file, std::string lmap_ho_file) |
int | read_lmap (std::string lmap_hbef_file, std::string lmap_ho_file) |
int | read_luts (std::string lut_xml_file) |
int | test_direct_xml_parsing (std::string _filename) |
void | test_emap (void) |
int | test_xml_access (std::string _tag, std::string _filename) |
int | writeLutXmlFiles (std::map< int, boost::shared_ptr< LutXml > > &_xml, std::string _tag="default_tag", bool split_by_crate=true) |
~HcalLutManager () | |
Static Public Member Functions | |
static HcalSubdetector | get_subdetector (std::string _subdet) |
static std::string | get_time_stamp (time_t _time) |
static int | getInt (std::string number) |
Protected Attributes | |
HcalAssistant | _ass |
HcalChannelIterator | _iter |
const HcalChannelQuality * | cq |
HCALConfigDB * | db |
const HcalElectronicsMap * | emap |
LMap * | lmap |
XMLDOMBlock * | lut_checksums_xml |
LutXml * | lut_xml |
uint32_t | status_word_to_mask |
Various manipulations with trigger Lookup Tables.
Definition at line 43 of file HcalLutManager.h.
HcalLutManager::HcalLutManager | ( | void | ) |
Definition at line 43 of file HcalLutManager.cc.
References init.
HcalLutManager::HcalLutManager | ( | std::vector< HcalGenericDetId > & | map | ) |
HcalLutManager::HcalLutManager | ( | const HcalElectronicsMap * | _emap, |
const HcalChannelQuality * | _cq = 0 , |
||
uint32_t | _status_word_to_mask = 0x0000 |
||
) |
HcalLutManager::~HcalLutManager | ( | void | ) |
void HcalLutManager::addLutMap | ( | std::map< int, boost::shared_ptr< LutXml > > & | result, |
const std::map< int, boost::shared_ptr< LutXml > > & | other | ||
) |
Definition at line 1128 of file HcalLutManager.cc.
References gather_cfg::cout, edm::eventsetup::heterocontainer::insert(), lumiPlot::lut, python.multivaluedict::map(), and query::result.
int HcalLutManager::create_lut_loader | ( | std::string | file_list, |
std::string | _prefix, | ||
std::string | tag_name, | ||
std::string | comment = "default comment" , |
||
std::string | version = "V00-01-01" , |
||
int | subversion = 1 |
||
) |
Definition at line 1421 of file HcalLutManager.cc.
References python.multivaluedict::append(), begin, comment, dbtoconf::conf, gather_cfg::cout, XMLLUTLoader::_lutDBConfig::crate, asciidump::doc, end, cmsHarvester::file_name, getInt(), NULL, HcalQIEManager::splitString(), AlCaHLTBitMon_QueryRunRegistry::string, XMLProcessor::_DBConfig::subversion, cond::rpcobgas::time, XMLProcessor::_DBConfig::version, relval_steps::version, and TablePrint::write.
int HcalLutManager::createAllLutXmlFiles | ( | std::string | _tag, |
std::string | _lin_file, | ||
std::string | _comp_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 987 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TablePrint::write.
int HcalLutManager::createAllLutXmlFilesFromCoder | ( | const HcalTPGCoder & | _coder, |
std::string | _tag, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1030 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TablePrint::write.
int HcalLutManager::createAllLutXmlFilesLinAsciiCompCoder | ( | std::string | _tag, |
std::string | _lin_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1106 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TablePrint::write.
int HcalLutManager::createCompLutXmlFilesFromCoder | ( | std::string | _tag, |
bool | split_by_crate = true |
||
) |
Definition at line 1012 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TablePrint::write.
int HcalLutManager::createLinLutXmlFiles | ( | std::string | _tag, |
std::string | _lin_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 968 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TablePrint::write.
int HcalLutManager::createLutXmlFiles_HBEFFromCoder_HOFromAscii | ( | std::string | _tag, |
const HcalTPGCoder & | _coder, | ||
std::string | _lin_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1079 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TablePrint::write.
int HcalLutManager::createLutXmlFiles_HBEFFromCoder_HOFromAscii | ( | std::string | _tag, |
const HcalTPGCoder & | _coder, | ||
const CaloTPGTranscoderULUT & | _transcoder, | ||
std::string | _lin_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1053 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TablePrint::write.
int HcalLutManager::createLutXmlFiles_HBEFFromCoder_HOFromAscii_ZDC | ( | std::string | _tag, |
const HcalTPGCoder & | _coder, | ||
const CaloTPGTranscoderULUT & | _transcoder, | ||
std::string | _lin_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1554 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TablePrint::write.
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::get_brickSet_from_oracle | ( | std::string | tag, |
const std::string | _accessor = "occi://CMS_HCL_PRTTYPE_HCAL_READER@anyhost/int2r?PASSWORD=HCAL_Reader_88,LHWM_VERSION=22" |
||
) |
Definition at line 1350 of file HcalLutManager.cc.
References convertSQLitetoXML_cfg::connect, gather_cfg::cout, EcalCondDB::db, alignCSCRings::e, XMLProcessor::getInstance(), o2o::query, AlCaHLTBitMon_QueryRunRegistry::string, and toolbox::toString().
std::string HcalLutManager::get_checksum | ( | std::vector< unsigned int > & | lut | ) |
|
static |
Definition at line 122 of file HcalLutManager.cc.
References HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, and query::result.
|
static |
Definition at line 1144 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
int HcalLutManager::get_xml_files_from_db | ( | std::string | tag, |
const std::string | db_accessor = "occi://CMS_HCL_PRTTYPE_HCAL_READER@anyhost/int2r?PASSWORD=HCAL_Reader_88,LHWM_VERSION=22" , |
||
bool | split_by_crate = true |
||
) |
Definition at line 1331 of file HcalLutManager.cc.
References python.multivaluedict::map(), query::result, and TablePrint::write.
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::getCompressionLutXmlFromAsciiMaster | ( | std::string | _filename, |
std::string | _tag, | ||
int | _crate = -1 , |
||
bool | split_by_crate = true |
||
) |
Definition at line 530 of file HcalLutManager.cc.
References python.rootplot.argparse::_set, funct::abs(), RooGKCounter::count(), gather_cfg::cout, LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, HcalLutSet::eta_max, HcalLutSet::eta_min, LutXml::_Config::fiber, LutXml::_Config::fiberchan, spr::find(), LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), RooGKCounter::getCount(), CaloTPGTranscoderULUT::HTvalid(), i, LutXml::_Config::ieta, LutXml::_Config::iphi, HcalLutSet::lut, LutXml::_Config::lut, LutXml::_Config::lut_type, HcalLutSet::phi_max, HcalLutSet::phi_min, findQualityFiles::size, LutXml::_Config::slot, LutXml::_Config::targetfirmware, cond::rpcobgas::time, and LutXml::_Config::topbottom.
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::getCompressionLutXmlFromCoder | ( | std::string | _tag, |
bool | split_by_crate = true |
||
) |
Definition at line 868 of file HcalLutManager.cc.
References funct::abs(), RooGKCounter::count(), gather_cfg::cout, LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, LutXml::_Config::fiber, LutXml::_Config::fiberchan, spr::find(), LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), CaloTPGTranscoderULUT::getCompressionLUT(), RooGKCounter::getCount(), CaloTPGTranscoderULUT::HTvalid(), LutXml::_Config::ieta, LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, findQualityFiles::size, LutXml::_Config::slot, LutXml::_Config::targetfirmware, cond::rpcobgas::time, and LutXml::_Config::topbottom.
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::getCompressionLutXmlFromCoder | ( | const CaloTPGTranscoderULUT & | _coder, |
std::string | _tag, | ||
bool | split_by_crate = true |
||
) |
Definition at line 786 of file HcalLutManager.cc.
References funct::abs(), RooGKCounter::count(), gather_cfg::cout, LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, LutXml::_Config::fiber, LutXml::_Config::fiberchan, spr::find(), LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), CaloTPGTranscoderULUT::getCompressionLUT(), RooGKCounter::getCount(), CaloTPGTranscoderULUT::HTvalid(), LutXml::_Config::ieta, LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, findQualityFiles::size, LutXml::_Config::slot, LutXml::_Config::targetfirmware, cond::rpcobgas::time, and LutXml::_Config::topbottom.
|
static |
Definition at line 115 of file HcalLutManager.cc.
References query::result.
Referenced by getLutSetFromFile().
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap | ( | std::string | _filename, |
std::string | _tag, | ||
int | _crate, | ||
bool | split_by_crate = true |
||
) |
Definition at line 337 of file HcalLutManager.cc.
References python.rootplot.argparse::_set, funct::abs(), ecalMGPA::adc(), RooGKCounter::count(), gather_cfg::cout, LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, HcalLutSet::depth_max, HcalLutSet::depth_min, HcalLutSet::eta_max, HcalLutSet::eta_min, LutXml::_Config::fiber, LutXml::_Config::fiberchan, spr::find(), LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), RooGKCounter::getCount(), i, LutXml::_Config::ieta, LutXml::_Config::iphi, HcalLutSet::lut, LutXml::_Config::lut, LutXml::_Config::lut_type, HcalLutSet::phi_max, HcalLutSet::phi_min, findQualityFiles::size, LutXml::_Config::slot, HcalLutSet::subdet, LutXml::_Config::targetfirmware, cond::rpcobgas::time, and LutXml::_Config::topbottom.
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap_new | ( | std::string | _filename, |
std::string | _tag, | ||
int | _crate, | ||
bool | split_by_crate = true |
||
) |
Definition at line 437 of file HcalLutManager.cc.
References python.rootplot.argparse::_set, funct::abs(), RooGKCounter::count(), gather_cfg::cout, LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, HcalLutSet::depth_max, HcalLutSet::depth_min, HcalLutSet::eta_max, HcalLutSet::eta_min, LutXml::_Config::fiber, LutXml::_Config::fiberchan, LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, RooGKCounter::getCount(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, i, LutXml::_Config::ieta, LutXml::_Config::iphi, HcalLutSet::lut, LutXml::_Config::lut, LutXml::_Config::lut_type, HcalLutSet::phi_max, HcalLutSet::phi_min, LutXml::_Config::slot, HcalLutSet::subdet, LutXml::_Config::targetfirmware, cond::rpcobgas::time, and LutXml::_Config::topbottom.
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::getLinearizationLutXmlFromCoder | ( | const HcalTPGCoder & | _coder, |
std::string | _tag, | ||
bool | split_by_crate = true |
||
) |
Definition at line 614 of file HcalLutManager.cc.
References RooGKCounter::count(), gather_cfg::cout, LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, LutXml::_Config::fiber, LutXml::_Config::fiberchan, spr::find(), LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, LMap::get_map(), RooGKCounter::getCount(), HcalForward, LutXml::_Config::ieta, LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, SiPixelLorentzAngle_cfi::read, findQualityFiles::size, LutXml::_Config::slot, LutXml::_Config::targetfirmware, cond::rpcobgas::time, and LutXml::_Config::topbottom.
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::getLinearizationLutXmlFromCoderEmap | ( | const HcalTPGCoder & | _coder, |
std::string | _tag, | ||
bool | split_by_crate = true |
||
) |
Definition at line 699 of file HcalLutManager.cc.
References funct::abs(), ecalMGPA::adc(), RooGKCounter::count(), gather_cfg::cout, LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, LutXml::_Config::fiber, LutXml::_Config::fiberchan, spr::find(), LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), RooGKCounter::getCount(), HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, LutXml::_Config::ieta, LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, findQualityFiles::size, LutXml::_Config::slot, LutXml::_Config::targetfirmware, cond::rpcobgas::time, and LutXml::_Config::topbottom.
std::vector< unsigned int > HcalLutManager::getLutFromXml | ( | std::string | tag, |
uint32_t | _rawid, | ||
hcal::ConfigurationDatabase::LUTType | _lt | ||
) |
Definition at line 1271 of file HcalLutManager.cc.
References gather_cfg::cout, and query::result.
std::vector< unsigned int > HcalLutManager::getLutFromXml_old | ( | std::string | tag, |
uint32_t | _rawid, | ||
hcal::ConfigurationDatabase::LUTType | _lt | ||
) |
Definition at line 1284 of file HcalLutManager.cc.
References gather_cfg::cout, EcalCondDB::db, cmsRelvalreport::exit, spr::find(), query::result, and AlCaHLTBitMon_QueryRunRegistry::string.
HcalLutSet HcalLutManager::getLutSetFromFile | ( | std::string | _filename, |
int | _type = 1 |
||
) |
Definition at line 165 of file HcalLutManager.cc.
References gather_cfg::cout, HcalLutSet::depth_max, HcalLutSet::depth_min, HcalLutSet::eta_max, HcalLutSet::eta_min, getInt(), i, getDQMSummary::infile, getDQMSummary::iter, diffTwoXMLs::label, HcalLutSet::lut, lumiPlot::lut, HcalLutSet::phi_max, HcalLutSet::phi_min, HcalQIEManager::splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::string & HcalLutManager::getLutXml | ( | std::vector< unsigned int > & | _lut | ) |
Definition at line 96 of file HcalLutManager.cc.
References LutXml::_Config::lut.
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::getLutXmlFromAsciiMaster | ( | std::string | _filename, |
std::string | _tag, | ||
int | _crate = -1 , |
||
bool | split_by_crate = true |
||
) |
Definition at line 251 of file HcalLutManager.cc.
References python.rootplot.argparse::_set, RooGKCounter::count(), gather_cfg::cout, LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, HcalLutSet::depth_max, HcalLutSet::depth_min, HcalLutSet::eta_max, HcalLutSet::eta_min, LutXml::_Config::fiber, LutXml::_Config::fiberchan, spr::find(), LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, LMap::get_map(), HcalDbOmds::get_subdetector(), RooGKCounter::getCount(), HcalForward, i, LutXml::_Config::ieta, LutXml::_Config::iphi, HcalLutSet::lut, LutXml::_Config::lut, LutXml::_Config::lut_type, HcalLutSet::phi_max, HcalLutSet::phi_min, SiPixelLorentzAngle_cfi::read, findQualityFiles::size, LutXml::_Config::slot, HcalLutSet::subdet, LutXml::_Config::targetfirmware, cond::rpcobgas::time, and LutXml::_Config::topbottom.
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::getZdcLutXml | ( | std::string | _tag, |
bool | split_by_crate = true |
||
) |
Definition at line 1583 of file HcalLutManager.cc.
References RooGKCounter::count(), gather_cfg::cout, LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, LutXml::_Config::fiber, LutXml::_Config::fiberchan, spr::find(), LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, ZdcLut::get_lut(), EMap::get_map(), RooGKCounter::getCount(), LutXml::_Config::ieta, LutXml::_Config::lut, LutXml::_Config::lut_type, findQualityFiles::size, LutXml::_Config::slot, LutXml::_Config::targetfirmware, cond::rpcobgas::time, and LutXml::_Config::topbottom.
void HcalLutManager::init | ( | void | ) |
int HcalLutManager::initChannelIterator | ( | std::vector< HcalGenericDetId > & | map | ) |
int HcalLutManager::local_connect | ( | std::string | lut_xml_file, |
std::string | lmap_hbef_file, | ||
std::string | lmap_ho_file | ||
) |
Definition at line 1261 of file HcalLutManager.cc.
int HcalLutManager::read_lmap | ( | std::string | lmap_hbef_file, |
std::string | lmap_ho_file | ||
) |
Definition at line 1237 of file HcalLutManager.cc.
References gather_cfg::cout, SiPixelLorentzAngle_cfi::read, and findQualityFiles::size.
int HcalLutManager::read_luts | ( | std::string | lut_xml_file | ) |
Definition at line 1249 of file HcalLutManager.cc.
References convertSQLitetoXML_cfg::connect, and EcalCondDB::db.
int HcalLutManager::test_direct_xml_parsing | ( | std::string | _filename | ) |
Definition at line 1521 of file HcalLutManager.cc.
void HcalLutManager::test_emap | ( | void | ) |
Definition at line 1493 of file HcalLutManager.cc.
References funct::abs(), gather_cfg::cout, spr::find(), EMap::get_map(), and findQualityFiles::size.
int HcalLutManager::test_xml_access | ( | std::string | _tag, |
std::string | _filename | ||
) |
Definition at line 1157 of file HcalLutManager.cc.
References begin, gather_cfg::cout, EcalCondDB::db, end, EMap::get_map(), HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, i, NULL, rand(), DetId::rawId(), and findQualityFiles::size.
int HcalLutManager::writeLutXmlFiles | ( | std::map< int, boost::shared_ptr< LutXml > > & | _xml, |
std::string | _tag = "default_tag" , |
||
bool | split_by_crate = true |
||
) |
Definition at line 953 of file HcalLutManager.cc.
References python.multivaluedict::map(), and cmsHarvester::output_file_name.
|
protected |
Definition at line 157 of file HcalLutManager.h.
|
protected |
Definition at line 156 of file HcalLutManager.h.
|
protected |
Definition at line 159 of file HcalLutManager.h.
|
protected |
Definition at line 154 of file HcalLutManager.h.
|
protected |
Definition at line 158 of file HcalLutManager.h.
|
protected |
Definition at line 155 of file HcalLutManager.h.
|
protected |
Definition at line 153 of file HcalLutManager.h.
|
protected |
Definition at line 152 of file HcalLutManager.h.
|
protected |
Definition at line 160 of file HcalLutManager.h.