Gather config data from online DB. More...
#include <HCALConfigDB.h>
Public Types | |
typedef hcal::ConfigurationDatabaseImpl | ConfigurationDatabaseImpl |
Public Member Functions | |
std::string | clobToString (const oracle::occi::Clob &) |
void | connect (std::string _accessor) |
void | connect (std::string _accessor1, std::string _accessor2) |
void | disconnect (void) |
oracle::occi::Connection * | getConnection (void) |
oracle::occi::Environment * | getEnvironment (void) |
std::vector< unsigned int > | getOnlineLUT (std::string tag, int crate, int slot, int topbottom, int fiber, int channel, int luttype) |
std::vector< unsigned int > | getOnlineLUT (std::string tag, uint32_t _rawid, hcal::ConfigurationDatabase::LUTType _lt=hcal::ConfigurationDatabase::LinearizerLUT) |
std::vector< unsigned int > | getOnlineLUTFromXML (std::string tag, uint32_t _rawid, hcal::ConfigurationDatabase::LUTType _lt=hcal::ConfigurationDatabase::LinearizerLUT) |
HCALConfigDB () | |
HCALConfigDB (std::string _accessor) | |
void | setAccessor (std::string _accessor) |
~HCALConfigDB () | |
Protected Attributes | |
std::string | accessor |
std::string | accessor2 |
ConfigurationDatabaseImpl * | database |
ConfigurationDatabaseImpl * | database2 |
Gather config data from online DB.
Definition at line 20 of file HCALConfigDB.h.
typedef hcal::ConfigurationDatabaseImpl HCALConfigDB::ConfigurationDatabaseImpl |
Definition at line 22 of file HCALConfigDB.h.
HCALConfigDB::HCALConfigDB | ( | void | ) |
Definition at line 30 of file HCALConfigDB.cc.
HCALConfigDB::~HCALConfigDB | ( | void | ) |
Definition at line 41 of file HCALConfigDB.cc.
HCALConfigDB::HCALConfigDB | ( | std::string | _accessor | ) |
Definition at line 35 of file HCALConfigDB.cc.
string HCALConfigDB::clobToString | ( | const oracle::occi::Clob & | _clob | ) |
Definition at line 297 of file HCALConfigDB.cc.
References findQualityFiles::size, str, and AlCaHLTBitMon_QueryRunRegistry::string.
void HCALConfigDB::connect | ( | std::string | _accessor | ) |
Definition at line 48 of file HCALConfigDB.cc.
References mps_fire::i.
Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().
void HCALConfigDB::connect | ( | std::string | _accessor1, |
std::string | _accessor2 | ||
) |
Definition at line 61 of file HCALConfigDB.cc.
References GlobalPosition_Frontier_DevDB_cff::connect, and mps_fire::i.
Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().
void HCALConfigDB::disconnect | ( | void | ) |
Definition at line 76 of file HCALConfigDB.cc.
oracle::occi::Connection * HCALConfigDB::getConnection | ( | void | ) |
Definition at line 292 of file HCALConfigDB.cc.
Referenced by ws_sso_content_reader.HTTPSClientAuthHandler::https_open().
oracle::occi::Environment * HCALConfigDB::getEnvironment | ( | void | ) |
Definition at line 294 of file HCALConfigDB.cc.
std::vector< unsigned int > HCALConfigDB::getOnlineLUT | ( | std::string | tag, |
int | crate, | ||
int | slot, | ||
int | topbottom, | ||
int | fiber, | ||
int | channel, | ||
int | luttype | ||
) |
Definition at line 83 of file HCALConfigDB.cc.
References gather_cfg::cout, MillePedeFileConverter_cfg::e, Exception, beamvalidation::exit(), XMLProcessor::getInstance(), mps_fire::result, makeGlobalPositionRcd_cfg::tag, and TtFullHadDaughter::Top.
std::vector< unsigned int > HCALConfigDB::getOnlineLUT | ( | std::string | tag, |
uint32_t | _rawid, | ||
hcal::ConfigurationDatabase::LUTType | _lt = hcal::ConfigurationDatabase::LinearizerLUT |
||
) |
Definition at line 129 of file HCALConfigDB.cc.
References LEDCalibrationChannels::depth, HcalDetId::depth(), MillePedeFileConverter_cfg::e, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalDetId::ietaAbs(), HcalDetId::iphi(), phi, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, HcalDetId::subdet(), subdetector, makeGlobalPositionRcd_cfg::tag, TtFullHadDaughter::Top, toolbox::toString(), and HcalDetId::zside().
std::vector< unsigned int > HCALConfigDB::getOnlineLUTFromXML | ( | std::string | tag, |
uint32_t | _rawid, | ||
hcal::ConfigurationDatabase::LUTType | _lt = hcal::ConfigurationDatabase::LinearizerLUT |
||
) |
Definition at line 207 of file HCALConfigDB.cc.
References gather_cfg::cout, LEDCalibrationChannels::depth, HcalDetId::depth(), MillePedeFileConverter_cfg::e, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalDetId::ietaAbs(), HcalDetId::iphi(), phi, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, HcalDetId::subdet(), subdetector, makeGlobalPositionRcd_cfg::tag, TtFullHadDaughter::Top, toolbox::toString(), and HcalDetId::zside().
void HCALConfigDB::setAccessor | ( | std::string | _accessor | ) |
Definition at line 46 of file HCALConfigDB.cc.
|
protected |
Definition at line 48 of file HCALConfigDB.h.
|
protected |
Definition at line 55 of file HCALConfigDB.h.
|
protected |
Definition at line 49 of file HCALConfigDB.h.
|
protected |
Definition at line 56 of file HCALConfigDB.h.