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 > > | getMasks (int var, std::string _tag, 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) | |
HcalLutManager (const HcalDbService *conditions, 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 HcalDbService * | conditions |
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 45 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 | ( | const HcalDbService * | conditions, |
const HcalChannelQuality * | _cq = 0 , |
||
uint32_t | _status_word_to_mask = 0x0000 |
||
) |
Definition at line 68 of file HcalLutManager.cc.
References HcalDbService::getHcalMapping(), and init.
HcalLutManager::~HcalLutManager | ( | void | ) |
Definition at line 94 of file HcalLutManager.cc.
void HcalLutManager::addLutMap | ( | std::map< int, boost::shared_ptr< LutXml > > & | result, |
const std::map< int, boost::shared_ptr< LutXml > > & | other | ||
) |
Definition at line 1202 of file HcalLutManager.cc.
References edm::eventsetup::heterocontainer::insert(), lumiPlot::lut, genParticles_cff::map, trackingPlots::other, and mps_fire::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 1495 of file HcalLutManager.cc.
References mps_setup::append, begin, comment, XMLLUTLoader::_lutDBConfig::crate, common_cff::doc, end, cmsPerfSuiteHarvest::file_name, getInt(), HcalQIEManager::splitString(), AlCaHLTBitMon_QueryRunRegistry::string, XMLProcessor::_DBConfig::subversion, ntuplemaker::time, jets_cff::version, XMLProcessor::_DBConfig::version, and TriggerAnalyzer::write().
Referenced by main().
int HcalLutManager::createAllLutXmlFiles | ( | std::string | _tag, |
std::string | _lin_file, | ||
std::string | _comp_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1061 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TriggerAnalyzer::write().
int HcalLutManager::createAllLutXmlFilesFromCoder | ( | const HcalTPGCoder & | _coder, |
std::string | _tag, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1104 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TriggerAnalyzer::write().
int HcalLutManager::createAllLutXmlFilesLinAsciiCompCoder | ( | std::string | _tag, |
std::string | _lin_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1180 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TriggerAnalyzer::write().
int HcalLutManager::createCompLutXmlFilesFromCoder | ( | std::string | _tag, |
bool | split_by_crate = true |
||
) |
Definition at line 1086 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TriggerAnalyzer::write().
int HcalLutManager::createLinLutXmlFiles | ( | std::string | _tag, |
std::string | _lin_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1042 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TriggerAnalyzer::write().
int HcalLutManager::createLutXmlFiles_HBEFFromCoder_HOFromAscii | ( | std::string | _tag, |
const HcalTPGCoder & | _coder, | ||
std::string | _lin_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1153 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TriggerAnalyzer::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 1127 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TriggerAnalyzer::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 1630 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and TriggerAnalyzer::write().
Referenced by HcalLutGenerator::analyze().
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 1424 of file HcalLutManager.cc.
References DBConfiguration_cff::connect, MillePedeFileConverter_cfg::e, XMLProcessor::getInstance(), AlCaHLTBitMon_QueryRunRegistry::string, and toolbox::toString().
std::string HcalLutManager::get_checksum | ( | std::vector< unsigned int > & | lut | ) |
|
static |
Definition at line 136 of file HcalLutManager.cc.
References HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, and mps_fire::result.
|
static |
Definition at line 1218 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 1405 of file HcalLutManager.cc.
References genParticles_cff::map, mps_fire::result, and TriggerAnalyzer::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 547 of file HcalLutManager.cc.
References funct::abs(), RooGKCounter::count(), 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(), mps_fire::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, ntuplemaker::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 947 of file HcalLutManager.cc.
References funct::abs(), RooGKCounter::count(), 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, ntuplemaker::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 859 of file HcalLutManager.cc.
References funct::abs(), RooGKCounter::count(), 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(), mps_fire::i, LutXml::_Config::ieta, LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, findQualityFiles::size, LutXml::_Config::slot, LutXml::_Config::targetfirmware, ntuplemaker::time, and LutXml::_Config::topbottom.
|
static |
Definition at line 129 of file HcalLutManager.cc.
References mps_fire::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 353 of file HcalLutManager.cc.
References funct::abs(), ecalMGPA::adc(), RooGKCounter::count(), 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(), mps_fire::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, ntuplemaker::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 454 of file HcalLutManager.cc.
References funct::abs(), RooGKCounter::count(), 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, mps_fire::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, ntuplemaker::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 632 of file HcalLutManager.cc.
References RooGKCounter::count(), 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, createfilelist::int, LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, findQualityFiles::size, LutXml::_Config::slot, LutXml::_Config::targetfirmware, ntuplemaker::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 784 of file HcalLutManager.cc.
References funct::abs(), RooGKCounter::count(), 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(), HcalTPGCoder::getLinearizationLUT(), HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, mps_fire::i, LutXml::_Config::ieta, LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, findQualityFiles::size, LutXml::_Config::slot, LutXml::_Config::targetfirmware, ntuplemaker::time, and LutXml::_Config::topbottom.
std::vector< unsigned int > HcalLutManager::getLutFromXml | ( | std::string | tag, |
uint32_t | _rawid, | ||
hcal::ConfigurationDatabase::LUTType | _lt | ||
) |
Definition at line 1345 of file HcalLutManager.cc.
References mps_fire::result.
std::vector< unsigned int > HcalLutManager::getLutFromXml_old | ( | std::string | tag, |
uint32_t | _rawid, | ||
hcal::ConfigurationDatabase::LUTType | _lt | ||
) |
Definition at line 1358 of file HcalLutManager.cc.
References photons_cff::_id, cmsRelvalreport::exit, spr::find(), mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
HcalLutSet HcalLutManager::getLutSetFromFile | ( | std::string | _filename, |
int | _type = 1 |
||
) |
Definition at line 181 of file HcalLutManager.cc.
References HcalLutSet::depth_max, HcalLutSet::depth_min, HcalLutSet::eta_max, HcalLutSet::eta_min, getInt(), mps_fire::i, 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 110 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 267 of file HcalLutManager.cc.
References RooGKCounter::count(), 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(), RooGKCounter::getCount(), HcalForward, mps_fire::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, ntuplemaker::time, and LutXml::_Config::topbottom.
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::getMasks | ( | int | var, |
std::string | _tag, | ||
bool | split_by_crate = true |
||
) |
Definition at line 715 of file HcalLutManager.cc.
References EnergyCorrector::c, RooGKCounter::count(), LutXml::_Config::crate, LutXml::_Config::creationtag, LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), RooGKCounter::getCount(), HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, mps_fire::i, LutXml::_Config::lut_type, LutXml::_Config::mask, findQualityFiles::size, LutXml::_Config::slot, AlCaHLTBitMon_QueryRunRegistry::string, and LutXml::_Config::targetfirmware.
std::map< int, boost::shared_ptr< LutXml > > HcalLutManager::getZdcLutXml | ( | std::string | _tag, |
bool | split_by_crate = true |
||
) |
Definition at line 1664 of file HcalLutManager.cc.
References RooGKCounter::count(), 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, createfilelist::int, LutXml::_Config::lut, LutXml::_Config::lut_type, findQualityFiles::size, LutXml::_Config::slot, LutXml::_Config::targetfirmware, ntuplemaker::time, LutXml::_Config::topbottom, and hcalSimParameters_cfi::zdc.
void HcalLutManager::init | ( | void | ) |
Definition at line 80 of file HcalLutManager.cc.
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 1335 of file HcalLutManager.cc.
int HcalLutManager::read_lmap | ( | std::string | lmap_hbef_file, |
std::string | lmap_ho_file | ||
) |
Definition at line 1311 of file HcalLutManager.cc.
References findQualityFiles::size.
int HcalLutManager::read_luts | ( | std::string | lut_xml_file | ) |
int HcalLutManager::test_direct_xml_parsing | ( | std::string | _filename | ) |
Definition at line 1597 of file HcalLutManager.cc.
void HcalLutManager::test_emap | ( | void | ) |
Definition at line 1567 of file HcalLutManager.cc.
References funct::abs(), spr::find(), EMap::get_map(), alignCSCRings::s, and findQualityFiles::size.
int HcalLutManager::test_xml_access | ( | std::string | _tag, |
std::string | _filename | ||
) |
Definition at line 1231 of file HcalLutManager.cc.
References begin, end, EMap::get_map(), HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, mps_fire::i, 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 1027 of file HcalLutManager.cc.
References genParticles_cff::map.
|
protected |
Definition at line 164 of file HcalLutManager.h.
|
protected |
Definition at line 163 of file HcalLutManager.h.
|
protected |
Definition at line 167 of file HcalLutManager.h.
|
protected |
Definition at line 166 of file HcalLutManager.h.
|
protected |
Definition at line 161 of file HcalLutManager.h.
Referenced by conddb_version_mgr.conddb_tool::connect(), conddb_version_mgr.conddb_tool::insert_boost_run(), conddb_version_mgr.conddb_tool::list_boost_run(), conddb_version_mgr.conddb_tool::show_tag_boost_version(), and conddb_version_mgr.conddb_tool::update_tags().
|
protected |
Definition at line 165 of file HcalLutManager.h.
|
protected |
Definition at line 162 of file HcalLutManager.h.
|
protected |
Definition at line 160 of file HcalLutManager.h.
|
protected |
Definition at line 159 of file HcalLutManager.h.
|
protected |
Definition at line 168 of file HcalLutManager.h.