#include <L1TOMDSHelper.h>
Public Types | |
enum | Error { NO_ERROR = 0, WARNING_DB_CONN_FAILED, WARNING_DB_QUERY_FAILED, WARNING_DB_INCORRECT_NBUNCHES } |
Public Member Functions | |
bool | connect (std::string iOracleDB, std::string iPathCondDB, int &error) |
std::string | enumToStringError (int) |
BeamConfiguration | getBeamConfiguration (int lhcFillNumber, int &error) |
std::vector< bool > | getBunchStructure (int lhcFillNumber, int &error) |
std::vector< float > | getInitBunchLumi (int lhcFillNumber, int &error) |
int | getNumberCollidingBunches (int lhcFillNumber, int &error) |
std::vector< double > | getRelativeBunchLumi (int lhcFillNumber, int &error) |
std::map< std::string, WbMTriggerXSecFit > | getWbMAlgoXsecFits (int &error) |
std::map< std::string, WbMTriggerXSecFit > | getWbMTechXsecFits (int &error) |
std::map< std::string, WbMTriggerXSecFit > | getWbMTriggerXsecFits (std::string iTable, int &error) |
L1TOMDSHelper () | |
~L1TOMDSHelper () | |
Private Attributes | |
l1t::OMDSReader * | m_omdsReader |
std::string | m_oracleDB |
std::string | m_pathCondDB |
Definition at line 50 of file L1TOMDSHelper.h.
enum L1TOMDSHelper::Error |
Enumerator | |
---|---|
NO_ERROR | |
WARNING_DB_CONN_FAILED | |
WARNING_DB_QUERY_FAILED | |
WARNING_DB_INCORRECT_NBUNCHES |
Definition at line 52 of file L1TOMDSHelper.h.
L1TOMDSHelper::L1TOMDSHelper | ( | ) |
Definition at line 9 of file L1TOMDSHelper.cc.
L1TOMDSHelper::~L1TOMDSHelper | ( | ) |
Definition at line 12 of file L1TOMDSHelper.cc.
bool L1TOMDSHelper::connect | ( | std::string | iOracleDB, |
std::string | iPathCondDB, | ||
int & | error | ||
) |
Definition at line 15 of file L1TOMDSHelper.cc.
References MillePedeFileConverter_cfg::out.
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(), L1TRate::getXSexFitsOMDS(), 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().
string L1TOMDSHelper::enumToStringError | ( | int | iObject | ) |
Definition at line 333 of file L1TOMDSHelper.cc.
References MillePedeFileConverter_cfg::out.
BeamConfiguration L1TOMDSHelper::getBeamConfiguration | ( | int | lhcFillNumber, |
int & | error | ||
) |
Definition at line 143 of file L1TOMDSHelper.cc.
References BeamConfiguration::beam1, BeamConfiguration::beam2, l1t::OMDSReader::QueryResults::fillVariableFromRow(), mps_fire::i, BeamConfiguration::m_valid, BeamConfiguration::nCollidingBunches, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and TableParser::table.
vector< bool > L1TOMDSHelper::getBunchStructure | ( | int | lhcFillNumber, |
int & | error | ||
) |
Definition at line 203 of file L1TOMDSHelper.cc.
References l1t::OMDSReader::QueryResults::fillVariableFromRow(), mps_fire::i, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and TableParser::table.
vector< float > L1TOMDSHelper::getInitBunchLumi | ( | int | lhcFillNumber, |
int & | error | ||
) |
Definition at line 247 of file L1TOMDSHelper.cc.
References l1t::OMDSReader::QueryResults::fillVariableFromRow(), mps_fire::i, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and TableParser::table.
int L1TOMDSHelper::getNumberCollidingBunches | ( | int | lhcFillNumber, |
int & | error | ||
) |
Definition at line 99 of file L1TOMDSHelper.cc.
References l1t::OMDSReader::QueryResults::fillVariableFromRow(), mps_fire::i, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and TableParser::table.
vector< double > L1TOMDSHelper::getRelativeBunchLumi | ( | int | lhcFillNumber, |
int & | error | ||
) |
Definition at line 285 of file L1TOMDSHelper.cc.
References l1t::OMDSReader::QueryResults::fillVariableFromRow(), mps_fire::i, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and TableParser::table.
map< string, WbMTriggerXSecFit > L1TOMDSHelper::getWbMAlgoXsecFits | ( | int & | error | ) |
Definition at line 89 of file L1TOMDSHelper.cc.
map< string, WbMTriggerXSecFit > L1TOMDSHelper::getWbMTechXsecFits | ( | int & | error | ) |
Definition at line 94 of file L1TOMDSHelper.cc.
map< string, WbMTriggerXSecFit > L1TOMDSHelper::getWbMTriggerXsecFits | ( | std::string | iTable, |
int & | error | ||
) |
Definition at line 44 of file L1TOMDSHelper.cc.
References WbMTriggerXSecFit::bitName, WbMTriggerXSecFit::bitNumber, l1t::OMDSReader::QueryResults::fillVariableFromRow(), WbMTriggerXSecFit::fitFunction, mps_fire::i, l1t::OMDSReader::QueryResults::numberRows(), MillePedeFileConverter_cfg::out, WbMTriggerXSecFit::p0, WbMTriggerXSecFit::p1, WbMTriggerXSecFit::p2, WbMTriggerXSecFit::pm1, and l1t::OMDSReader::QueryResults::queryFailed().
|
private |
Definition at line 74 of file L1TOMDSHelper.h.
|
private |
Definition at line 71 of file L1TOMDSHelper.h.
|
private |
Definition at line 72 of file L1TOMDSHelper.h.