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 21 of file HCALConfigDB.h.
typedef hcal::ConfigurationDatabaseImpl HCALConfigDB::ConfigurationDatabaseImpl |
Definition at line 23 of file HCALConfigDB.h.
HCALConfigDB::HCALConfigDB | ( | void | ) |
Definition at line 31 of file HCALConfigDB.cc.
HCALConfigDB::~HCALConfigDB | ( | void | ) |
Definition at line 45 of file HCALConfigDB.cc.
HCALConfigDB::HCALConfigDB | ( | std::string | _accessor | ) |
Definition at line 37 of file HCALConfigDB.cc.
string HCALConfigDB::clobToString | ( | const oracle::occi::Clob & | _clob | ) |
Definition at line 299 of file HCALConfigDB.cc.
References findQualityFiles::size, harvestTrackValidationPlots::str, and AlCaHLTBitMon_QueryRunRegistry::string.
void HCALConfigDB::connect | ( | std::string | _accessor | ) |
Definition at line 57 of file HCALConfigDB.cc.
References connect(), spr::find(), and mps_fire::i.
Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), Vispa.Views.PropertyView.BooleanProperty::__init__(), Vispa.Gui.FindDialog.FindDialog::_addScript(), Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), Vispa.Main.Application.Application::_connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), Vispa.Views.PropertyView.PropertyView::append(), Vispa.Views.PropertyView.PropertyView::appendAddRow(), Vispa.Main.Application.Application::createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Main.SplitterTab.SplitterTab::setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), o2o_db_cfgmap.DbManagerDAQ::update_hashmap(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
void HCALConfigDB::connect | ( | std::string | _accessor1, |
std::string | _accessor2 | ||
) |
Definition at line 77 of file HCALConfigDB.cc.
References connect(), spr::find(), and mps_fire::i.
Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), Vispa.Views.PropertyView.BooleanProperty::__init__(), Vispa.Gui.FindDialog.FindDialog::_addScript(), Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), Vispa.Main.Application.Application::_connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), Vispa.Views.PropertyView.PropertyView::append(), Vispa.Views.PropertyView.PropertyView::appendAddRow(), Vispa.Main.Application.Application::createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Main.SplitterTab.SplitterTab::setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), o2o_db_cfgmap.DbManagerDAQ::update_hashmap(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
void HCALConfigDB::disconnect | ( | void | ) |
Definition at line 100 of file HCALConfigDB.cc.
References NULL.
Referenced by Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
oracle::occi::Connection * HCALConfigDB::getConnection | ( | void | ) |
Definition at line 288 of file HCALConfigDB.cc.
Referenced by ws_sso_content_reader.HTTPSClientAuthHandler::https_open().
oracle::occi::Environment * HCALConfigDB::getEnvironment | ( | void | ) |
Definition at line 292 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 108 of file HCALConfigDB.cc.
References gather_cfg::cout, MillePedeFileConverter_cfg::e, reco::e2, Exception, cmsRelvalreport::exit, XMLProcessor::getInstance(), mps_fire::result, 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 153 of file HCALConfigDB.cc.
References particleFlowClusterECALTimeSelected_cfi::depth, MillePedeFileConverter_cfg::e, getInt(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, phi, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, subdetector, TtFullHadDaughter::Top, toolbox::toString(), and HcalDigiParam_cfi::zside.
std::vector< unsigned int > HCALConfigDB::getOnlineLUTFromXML | ( | std::string | tag, |
uint32_t | _rawid, | ||
hcal::ConfigurationDatabase::LUTType | _lt = hcal::ConfigurationDatabase::LinearizerLUT |
||
) |
Definition at line 216 of file HCALConfigDB.cc.
References gather_cfg::cout, particleFlowClusterECALTimeSelected_cfi::depth, MillePedeFileConverter_cfg::e, getInt(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, phi, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, subdetector, TtFullHadDaughter::Top, toolbox::toString(), and HcalDigiParam_cfi::zside.
void HCALConfigDB::setAccessor | ( | std::string | _accessor | ) |
Definition at line 52 of file HCALConfigDB.cc.
|
protected |
Definition at line 43 of file HCALConfigDB.h.
|
protected |
Definition at line 50 of file HCALConfigDB.h.
|
protected |
Definition at line 44 of file HCALConfigDB.h.
|
protected |
Definition at line 51 of file HCALConfigDB.h.