#include <ODLTCCycle.h>
Definition at line 9 of file ODLTCCycle.h.
◆ ODLTCCycle()
ODLTCCycle::ODLTCCycle |
( |
| ) |
|
◆ ~ODLTCCycle()
ODLTCCycle::~ODLTCCycle |
( |
| ) |
|
|
override |
◆ clear()
void ODLTCCycle::clear |
( |
void |
| ) |
|
|
private |
◆ fetchData()
Definition at line 109 of file ODLTCCycle.cc.
113 if (
result->getId() == 0) {
114 throw(std::runtime_error(
"ODLTCConfig::fetchData(): no Id defined for this ODLTCConfig "));
119 "SELECT ltc_configuration_id FROM ecal_ltc_cycle "
120 "WHERE cycle_id = :1 ");
127 result->setLTCConfigurationID(rset->getInt(1));
130 throw(std::runtime_error(
"ODLTCCycle::fetchData(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e, and mps_fire::result.
◆ fetchID()
int ODLTCCycle::fetchID |
( |
| ) |
|
|
privatenoexcept |
Definition at line 56 of file ODLTCCycle.cc.
67 "SELECT cycle_id, ltc_configuration_id FROM ecal_ltc_cycle "
68 "WHERE cycle_id = :1 ");
69 stmt->setInt(1,
m_ID);
70 ResultSet *rset = stmt->executeQuery();
73 m_ID = rset->getInt(1);
78 m_conn->terminateStatement(stmt);
80 throw(std::runtime_error(
"ODLTCCycle::fetchID: " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ getId()
int ODLTCCycle::getId |
( |
void |
| ) |
const |
|
inline |
◆ getLTCConfigurationID()
int ODLTCCycle::getLTCConfigurationID |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string ODLTCCycle::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ insertConfig()
void ODLTCCycle::insertConfig |
( |
| ) |
|
|
privatenoexcept |
◆ operator!=()
bool ODLTCCycle::operator!= |
( |
const ODLTCCycle & |
m | ) |
const |
|
inline |
◆ operator==()
bool ODLTCCycle::operator== |
( |
const ODLTCCycle & |
m | ) |
const |
|
inline |
◆ prepareWrite()
void ODLTCCycle::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
◆ setByID()
void ODLTCCycle::setByID |
( |
int |
id | ) |
|
|
privatenoexcept |
Definition at line 86 of file ODLTCCycle.cc.
92 "SELECT cycle_id, ltc_configuration_id FROM ecal_ltc_cycle "
93 "WHERE cycle_id = :1 ");
95 ResultSet *rset = stmt->executeQuery();
98 m_ID = rset->getInt(1);
103 m_conn->terminateStatement(stmt);
105 throw(std::runtime_error(
"ODLTCCycle::fetchID: " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ setId()
void ODLTCCycle::setId |
( |
int |
id | ) |
|
|
inline |
◆ setLTCConfigurationID()
void ODLTCCycle::setLTCConfigurationID |
( |
int |
x | ) |
|
|
inline |
◆ writeDB()
void ODLTCCycle::writeDB |
( |
| ) |
|
|
privatenoexcept |
◆ EcalCondDBInterface
◆ ODEcalCycle
◆ m_ID
◆ m_ltc_config_id
int ODLTCCycle::m_ltc_config_id |
|
private |