Various manipulations with trigger Lookup Tables. More...
#include <HcalLutManager.h>
Public Member Functions | |
void | addLutMap (std::map< int, std::shared_ptr< LutXml > > &result, const std::map< int, std::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, std::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, std::shared_ptr< LutXml > > | getCompressionLutXmlFromAsciiMaster (std::string _filename, std::string _tag, int _crate=-1, bool split_by_crate=true) |
std::map< int, std::shared_ptr< LutXml > > | getCompressionLutXmlFromCoder (std::string _tag, bool split_by_crate=true) |
std::map< int, std::shared_ptr< LutXml > > | getCompressionLutXmlFromCoder (const CaloTPGTranscoderULUT &_coder, std::string _tag, bool split_by_crate=true) |
std::map< int, std::shared_ptr< LutXml > > | getHEFineGrainLUTs (std::string _tag, bool split_by_crate=true) |
std::map< int, std::shared_ptr< LutXml > > | getLinearizationLutXmlFromAsciiMasterEmap (std::string _filename, std::string _tag, int _crate, bool split_by_crate=true) |
std::map< int, std::shared_ptr< LutXml > > | getLinearizationLutXmlFromAsciiMasterEmap_new (std::string _filename, std::string _tag, int _crate, bool split_by_crate=true) |
std::map< int, std::shared_ptr< LutXml > > | getLinearizationLutXmlFromCoder (const HcalTPGCoder &_coder, std::string _tag, bool split_by_crate=true) |
std::map< int, std::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, std::shared_ptr< LutXml > > | getLutXmlFromAsciiMaster (std::string _filename, std::string _tag, int _crate=-1, bool split_by_crate=true) |
std::map< int, std::shared_ptr< LutXml > > | getMasks (int var, std::string _tag, bool split_by_crate=true) |
std::map< int, std::shared_ptr< LutXml > > | getZdcLutXml (const HcalTPGCoder &_coder, std::string _tag, bool split_by_crate=true, bool ootpu_lut=false) |
HcalLutManager () | |
HcalLutManager (std::vector< HcalGenericDetId > &map) | |
HcalLutManager (const HcalElectronicsMap *_emap, const HcalChannelQuality *_cq=nullptr, uint32_t _status_word_to_mask=0x0000) | |
HcalLutManager (const HcalDbService *conditions, const HcalChannelQuality *_cq=nullptr, 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, std::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 39 of file HcalLutManager.h.
HcalLutManager::HcalLutManager | ( | void | ) |
HcalLutManager::HcalLutManager | ( | std::vector< HcalGenericDetId > & | map | ) |
Definition at line 48 of file HcalLutManager.cc.
References init, and genParticles_cff::map.
HcalLutManager::HcalLutManager | ( | const HcalElectronicsMap * | _emap, |
const HcalChannelQuality * | _cq = nullptr , |
||
uint32_t | _status_word_to_mask = 0x0000 |
||
) |
HcalLutManager::HcalLutManager | ( | const HcalDbService * | conditions, |
const HcalChannelQuality * | _cq = nullptr , |
||
uint32_t | _status_word_to_mask = 0x0000 |
||
) |
Definition at line 62 of file HcalLutManager.cc.
References submitPVValidationJobs::conditions, and init.
HcalLutManager::~HcalLutManager | ( | void | ) |
void HcalLutManager::addLutMap | ( | std::map< int, std::shared_ptr< LutXml > > & | result, |
const std::map< int, std::shared_ptr< LutXml > > & | other | ||
) |
Definition at line 1273 of file HcalLutManager.cc.
References 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 1543 of file HcalLutManager.cc.
References findAndChange::_file, XMLLUTLoader::_checksumsDBConfig::comment_description, XMLProcessor::_loaderBaseConfig::comment_description, XMLLUTLoader::_lutDBConfig::crate, hcalRecHitTable_cff::doc, contentValuesCheck::file_name, getInt(), XMLProcessor::_loaderBaseConfig::iov_begin, XMLProcessor::_loaderBaseConfig::iov_end, XMLLUTLoader::_lutDBConfig::name_label, HcalQIEManager::splitString(), AlCaHLTBitMon_QueryRunRegistry::string, XMLProcessor::_DBConfig::subversion, XMLProcessor::_loaderBaseConfig::tag_name, hcalRecHitTable_cff::time, XMLLUTLoader::_lutDBConfig::trig_prim_lookuptbl_data_file, XMLLUTLoader::_checksumsDBConfig::trig_prim_lookuptbl_data_file, BeamSplash_cfg::version, and XMLProcessor::_DBConfig::version.
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 1122 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
int HcalLutManager::createAllLutXmlFilesFromCoder | ( | const HcalTPGCoder & | _coder, |
std::string | _tag, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1166 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
int HcalLutManager::createAllLutXmlFilesLinAsciiCompCoder | ( | std::string | _tag, |
std::string | _lin_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1252 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
int HcalLutManager::createCompLutXmlFilesFromCoder | ( | std::string | _tag, |
bool | split_by_crate = true |
||
) |
Definition at line 1149 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
int HcalLutManager::createLinLutXmlFiles | ( | std::string | _tag, |
std::string | _lin_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1104 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
int HcalLutManager::createLutXmlFiles_HBEFFromCoder_HOFromAscii | ( | std::string | _tag, |
const HcalTPGCoder & | _coder, | ||
std::string | _lin_file, | ||
bool | split_by_crate = true |
||
) |
Definition at line 1222 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
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 1188 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
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 1675 of file HcalLutManager.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HcalLutGenerator::analyze().
std::map< int, std::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 1472 of file HcalLutManager.cc.
References cms::cuda::bs, dqmiodatasetharvest::db, MillePedeFileConverter_cfg::e, XMLProcessor::getInstance(), AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, and toolbox::toString().
std::string HcalLutManager::get_checksum | ( | std::vector< unsigned int > & | lut | ) |
|
static |
Definition at line 117 of file HcalLutManager.cc.
References HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, and mps_fire::result.
|
static |
Definition at line 1285 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 1455 of file HcalLutManager.cc.
References genParticles_cff::map, DeadROCCounter::out_file, mps_fire::result, and makeGlobalPositionRcd_cfg::tag.
std::map< int, std::shared_ptr< LutXml > > HcalLutManager::getCompressionLutXmlFromAsciiMaster | ( | std::string | _filename, |
std::string | _tag, | ||
int | _crate = -1 , |
||
bool | split_by_crate = true |
||
) |
Definition at line 515 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, LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), RooGKCounter::getCount(), CaloTPGTranscoderULUT::HTvalid(), mps_fire::i, LutXml::_Config::ieta, caHitNtupletGeneratorKernels::if(), LutXml::_Config::iphi, HcalLutSet::lut, LutXml::_Config::lut, LutXml::_Config::lut_type, HcalLutSet::phi_max, HcalLutSet::phi_min, LutXml::_Config::slot, LutXml::_Config::targetfirmware, hcalRecHitTable_cff::time, and LutXml::_Config::topbottom.
std::map< int, std::shared_ptr< LutXml > > HcalLutManager::getCompressionLutXmlFromCoder | ( | std::string | _tag, |
bool | split_by_crate = true |
||
) |
Definition at line 1010 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, LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), CaloTPGTranscoderULUT::getCompressionLUT(), RooGKCounter::getCount(), CaloTPGTranscoderULUT::HTvalid(), LutXml::_Config::ieta, caHitNtupletGeneratorKernels::if(), LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, LutXml::_Config::slot, LutXml::_Config::targetfirmware, hcalRecHitTable_cff::time, and LutXml::_Config::topbottom.
std::map< int, std::shared_ptr< LutXml > > HcalLutManager::getCompressionLutXmlFromCoder | ( | const CaloTPGTranscoderULUT & | _coder, |
std::string | _tag, | ||
bool | split_by_crate = true |
||
) |
Definition at line 914 of file HcalLutManager.cc.
References funct::abs(), submitPVValidationJobs::conditions, RooGKCounter::count(), LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, LutXml::_Config::fiber, LutXml::_Config::fiberchan, LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), CaloTPGTranscoderULUT::getCompressionLUT(), RooGKCounter::getCount(), mps_fire::i, LutXml::_Config::ieta, caHitNtupletGeneratorKernels::if(), LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, cmsswSequenceInfo::maxsize, findQualityFiles::size, LutXml::_Config::slot, LutXml::_Config::targetfirmware, hcalRecHitTable_cff::time, LutXml::_Config::topbottom, and LutXml::_Config::weight.
std::map< int, std::shared_ptr< LutXml > > HcalLutManager::getHEFineGrainLUTs | ( | std::string | _tag, |
bool | split_by_crate = true |
||
) |
Definition at line 835 of file HcalLutManager.cc.
References funct::abs(), submitPVValidationJobs::conditions, RooGKCounter::count(), LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, LutXml::_Config::fiber, LutXml::_Config::fiberchan, HcalTopology::firstHEDoublePhiRing(), LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), RooGKCounter::getCount(), HcalEndcap, mps_fire::i, LutXml::_Config::ieta, caHitNtupletGeneratorKernels::if(), LutXml::_Config::iphi, dqmdumpme::k, HcalTopology::lastHERing(), LutXml::_Config::lut, LutXml::_Config::lut_type, or, LutXml::_Config::slot, LutXml::_Config::targetfirmware, hcalRecHitTable_cff::time, and LutXml::_Config::topbottom.
|
static |
Definition at line 111 of file HcalLutManager.cc.
References contentValuesFiles::number, and mps_fire::result.
Referenced by getLutSetFromFile().
std::map< int, std::shared_ptr< LutXml > > HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap | ( | std::string | _filename, |
std::string | _tag, | ||
int | _crate, | ||
bool | split_by_crate = true |
||
) |
Definition at line 339 of file HcalLutManager.cc.
References funct::abs(), gpuClustering::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, LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), RooGKCounter::getCount(), mps_fire::i, LutXml::_Config::ieta, caHitNtupletGeneratorKernels::if(), 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, hcalRecHitTable_cff::time, and LutXml::_Config::topbottom.
std::map< int, std::shared_ptr< LutXml > > HcalLutManager::getLinearizationLutXmlFromAsciiMasterEmap_new | ( | std::string | _filename, |
std::string | _tag, | ||
int | _crate, | ||
bool | split_by_crate = true |
||
) |
Definition at line 435 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, HcalElectronicsId::readoutVMECrateId(), LutXml::_Config::slot, HcalLutSet::subdet, LutXml::_Config::targetfirmware, hcalRecHitTable_cff::time, and LutXml::_Config::topbottom.
std::map< int, std::shared_ptr< LutXml > > HcalLutManager::getLinearizationLutXmlFromCoder | ( | const HcalTPGCoder & | _coder, |
std::string | _tag, | ||
bool | split_by_crate = true |
||
) |
Definition at line 601 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, LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, LMap::get_map(), RooGKCounter::getCount(), HcalTPGCoder::getLinearizationLUT(), HcalForward, LutXml::_Config::ieta, caHitNtupletGeneratorKernels::if(), createfilelist::int, LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, LMap::read(), LutXml::_Config::slot, LutXml::_Config::targetfirmware, hcalRecHitTable_cff::time, and LutXml::_Config::topbottom.
std::map< int, std::shared_ptr< LutXml > > HcalLutManager::getLinearizationLutXmlFromCoderEmap | ( | const HcalTPGCoder & | _coder, |
std::string | _tag, | ||
bool | split_by_crate = true |
||
) |
Definition at line 757 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, LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), RooGKCounter::getCount(), HcalTPGCoder::getLinearizationLUT(), HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, mps_fire::i, LutXml::_Config::ieta, caHitNtupletGeneratorKernels::if(), LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, LutXml::_Config::slot, LutXml::_Config::targetfirmware, hcalRecHitTable_cff::time, and LutXml::_Config::topbottom.
std::vector< unsigned int > HcalLutManager::getLutFromXml | ( | std::string | tag, |
uint32_t | _rawid, | ||
hcal::ConfigurationDatabase::LUTType | _lt | ||
) |
Definition at line 1394 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 1405 of file HcalLutManager.cc.
References dqmiodatasetharvest::db, beamvalidation::exit(), mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, and makeGlobalPositionRcd_cfg::tag.
HcalLutSet HcalLutManager::getLutSetFromFile | ( | std::string | _filename, |
int | _type = 1 |
||
) |
Definition at line 170 of file HcalLutManager.cc.
References visDQMUpload::buf, HcalLutSet::depth_max, HcalLutSet::depth_min, HcalLutSet::eta_max, HcalLutSet::eta_min, getInt(), mps_fire::i, timingPdfMaker::infile, HcalLutSet::label, HcalLutSet::lut, HcalLutSet::phi_max, HcalLutSet::phi_min, HcalQIEManager::splitString(), AlCaHLTBitMon_QueryRunRegistry::string, and HcalLutSet::subdet.
Referenced by HcalLutManager_test::getLutSetFromFile_test().
std::string & HcalLutManager::getLutXml | ( | std::vector< unsigned int > & | _lut | ) |
Definition at line 95 of file HcalLutManager.cc.
References LutXml::_Config::lut.
std::map< int, std::shared_ptr< LutXml > > HcalLutManager::getLutXmlFromAsciiMaster | ( | std::string | _filename, |
std::string | _tag, | ||
int | _crate = -1 , |
||
bool | split_by_crate = true |
||
) |
Definition at line 253 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, LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, LMap::get_map(), RooGKCounter::getCount(), HcalForward, mps_fire::i, LutXml::_Config::ieta, caHitNtupletGeneratorKernels::if(), LutXml::_Config::iphi, HcalLutSet::lut, LutXml::_Config::lut, LutXml::_Config::lut_type, HcalLutSet::phi_max, HcalLutSet::phi_min, LMap::read(), LutXml::_Config::slot, HcalLutSet::subdet, LutXml::_Config::targetfirmware, hcalRecHitTable_cff::time, and LutXml::_Config::topbottom.
std::map< int, std::shared_ptr< LutXml > > HcalLutManager::getMasks | ( | int | var, |
std::string | _tag, | ||
bool | split_by_crate = true |
||
) |
Definition at line 683 of file HcalLutManager.cc.
References HltBtagPostValidation_cff::c, submitPVValidationJobs::conditions, 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, std::shared_ptr< LutXml > > HcalLutManager::getZdcLutXml | ( | const HcalTPGCoder & | _coder, |
std::string | _tag, | ||
bool | split_by_crate = true , |
||
bool | ootpu_lut = false |
||
) |
Definition at line 1720 of file HcalLutManager.cc.
References RooGKCounter::count(), LutXml::_Config::crate, LutXml::_Config::creationstamp, LutXml::_Config::creationtag, LutXml::_Config::depth, HcalZDCDetId::EM, LutXml::_Config::fiber, LutXml::_Config::fiberchan, LutXml::_Config::formatrevision, LutXml::_Config::generalizedindex, EMap::get_map(), RooGKCounter::getCount(), HcalTPGCoder::getLinearizationLUT(), HcalZDCDetId::HAD, mps_fire::i, LutXml::_Config::ieta, caHitNtupletGeneratorKernels::if(), LutXml::_Config::iphi, LutXml::_Config::lut, LutXml::_Config::lut_type, hgcalPlots::section, LutXml::_Config::slot, LutXml::_Config::targetfirmware, hcalRecHitTable_cff::time, LutXml::_Config::topbottom, and HcalZDCDetId::Unknown.
void HcalLutManager::init | ( | void | ) |
Definition at line 72 of file HcalLutManager.cc.
References submitPVValidationJobs::conditions, and dqmiodatasetharvest::db.
int HcalLutManager::initChannelIterator | ( | std::vector< HcalGenericDetId > & | map | ) |
Definition at line 90 of file HcalLutManager.cc.
References genParticles_cff::map.
int HcalLutManager::local_connect | ( | std::string | lut_xml_file, |
std::string | lmap_hbef_file, | ||
std::string | lmap_ho_file | ||
) |
Definition at line 1388 of file HcalLutManager.cc.
int HcalLutManager::read_lmap | ( | std::string | lmap_hbef_file, |
std::string | lmap_ho_file | ||
) |
Definition at line 1371 of file HcalLutManager.cc.
int HcalLutManager::read_luts | ( | std::string | lut_xml_file | ) |
int HcalLutManager::test_direct_xml_parsing | ( | std::string | _filename | ) |
Definition at line 1643 of file HcalLutManager.cc.
void HcalLutManager::test_emap | ( | void | ) |
Definition at line 1618 of file HcalLutManager.cc.
References funct::abs(), EMap::get_map(), and alignCSCRings::s.
int HcalLutManager::test_xml_access | ( | std::string | _tag, |
std::string | _filename | ||
) |
Definition at line 1294 of file HcalLutManager.cc.
References dqmiodatasetharvest::db, EMap::get_map(), HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, mps_fire::i, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, and DetId::rawId().
int HcalLutManager::writeLutXmlFiles | ( | std::map< int, std::shared_ptr< LutXml > > & | _xml, |
std::string | _tag = "default_tag" , |
||
bool | split_by_crate = true |
||
) |
Definition at line 1089 of file HcalLutManager.cc.
References genParticles_cff::map.
|
protected |
Definition at line 186 of file HcalLutManager.h.
|
protected |
Definition at line 185 of file HcalLutManager.h.
|
protected |
Definition at line 189 of file HcalLutManager.h.
|
protected |
Definition at line 188 of file HcalLutManager.h.
|
protected |
Definition at line 183 of file HcalLutManager.h.
Referenced by conddb_version_mgr.conddb_tool::connect(), conddbCopyTest.CopyTest::execute(), conddb_version_mgr.version_db::fetch_boost_run_map(), conddb_version_mgr.version_db::fetch_cmssw_boost_map(), conddb_version_mgr.conddb_tool::insert_boost_run(), conddb_version_mgr.version_db::insert_boost_run_range(), conddb_version_mgr.version_db::insert_cmssw_boost(), conddb_version_mgr.conddb_tool::list_boost_run(), conddb_version_mgr.version_db::populate_for_gts(), conddb_version_mgr.conddb_tool::process_tag_boost_version(), conddb_version_mgr.conddb_tool::show_tag_boost_version(), conddb_version_mgr.conddb_tool::update_tag_boost_version_in_db(), conddb_version_mgr.conddb_tool::update_tags(), conditionUploadTest.UploadTest::upload(), and conddb_version_mgr.conddb_tool::validate_boost_version().
|
protected |
Definition at line 187 of file HcalLutManager.h.
|
protected |
Definition at line 184 of file HcalLutManager.h.
|
protected |
Definition at line 182 of file HcalLutManager.h.
|
protected |
Definition at line 181 of file HcalLutManager.h.
|
protected |
Definition at line 190 of file HcalLutManager.h.