#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 52 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 56 of file L1TOMDSHelper.h.
L1TOMDSHelper::L1TOMDSHelper | ( | ) |
Definition at line 10 of file L1TOMDSHelper.cc.
L1TOMDSHelper::~L1TOMDSHelper | ( | ) |
Definition at line 17 of file L1TOMDSHelper.cc.
bool L1TOMDSHelper::connect | ( | std::string | iOracleDB, |
std::string | iPathCondDB, | ||
int & | error | ||
) |
Definition at line 24 of file L1TOMDSHelper.cc.
References dbtoconf::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(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
string L1TOMDSHelper::enumToStringError | ( | int | iObject | ) |
Definition at line 351 of file L1TOMDSHelper.cc.
References dbtoconf::out.
BeamConfiguration L1TOMDSHelper::getBeamConfiguration | ( | int | lhcFillNumber, |
int & | error | ||
) |
Definition at line 165 of file L1TOMDSHelper.cc.
References BeamConfiguration::beam1, BeamConfiguration::beam2, l1t::OMDSReader::QueryResults::fillVariableFromRow(), i, BeamConfiguration::m_valid, BeamConfiguration::nCollidingBunches, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and asciidump::table.
vector< bool > L1TOMDSHelper::getBunchStructure | ( | int | lhcFillNumber, |
int & | error | ||
) |
Definition at line 220 of file L1TOMDSHelper.cc.
References l1t::OMDSReader::QueryResults::fillVariableFromRow(), i, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and asciidump::table.
vector< float > L1TOMDSHelper::getInitBunchLumi | ( | int | lhcFillNumber, |
int & | error | ||
) |
Definition at line 263 of file L1TOMDSHelper.cc.
References l1t::OMDSReader::QueryResults::fillVariableFromRow(), i, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and asciidump::table.
int L1TOMDSHelper::getNumberCollidingBunches | ( | int | lhcFillNumber, |
int & | error | ||
) |
Definition at line 122 of file L1TOMDSHelper.cc.
References l1t::OMDSReader::QueryResults::fillVariableFromRow(), i, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and asciidump::table.
vector< double > L1TOMDSHelper::getRelativeBunchLumi | ( | int | lhcFillNumber, |
int & | error | ||
) |
Definition at line 302 of file L1TOMDSHelper.cc.
References l1t::OMDSReader::QueryResults::fillVariableFromRow(), i, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), and asciidump::table.
map< string, WbMTriggerXSecFit > L1TOMDSHelper::getWbMAlgoXsecFits | ( | int & | error | ) |
Definition at line 112 of file L1TOMDSHelper.cc.
map< string, WbMTriggerXSecFit > L1TOMDSHelper::getWbMTechXsecFits | ( | int & | error | ) |
Definition at line 117 of file L1TOMDSHelper.cc.
map< string, WbMTriggerXSecFit > L1TOMDSHelper::getWbMTriggerXsecFits | ( | std::string | iTable, |
int & | error | ||
) |
Definition at line 63 of file L1TOMDSHelper.cc.
References WbMTriggerXSecFit::bitName, WbMTriggerXSecFit::bitNumber, l1t::OMDSReader::QueryResults::fillVariableFromRow(), WbMTriggerXSecFit::fitFunction, i, l1t::OMDSReader::QueryResults::numberRows(), dbtoconf::out, WbMTriggerXSecFit::p0, WbMTriggerXSecFit::p1, WbMTriggerXSecFit::p2, WbMTriggerXSecFit::pm1, and l1t::OMDSReader::QueryResults::queryFailed().
|
private |
Definition at line 86 of file L1TOMDSHelper.h.
|
private |
Definition at line 83 of file L1TOMDSHelper.h.
|
private |
Definition at line 84 of file L1TOMDSHelper.h.