#include <ODLTSCycle.h>
Definition at line 9 of file ODLTSCycle.h.
◆ ODLTSCycle()
ODLTSCycle::ODLTSCycle |
( |
| ) |
|
◆ ~ODLTSCycle()
ODLTSCycle::~ODLTSCycle |
( |
| ) |
|
|
override |
◆ clear()
void ODLTSCycle::clear |
( |
void |
| ) |
|
|
private |
◆ fetchData()
Definition at line 109 of file ODLTSCycle.cc.
113 if (
result->getId() == 0) {
114 throw(std::runtime_error(
"ODLTSConfig::fetchData(): no Id defined for this ODLTSConfig "));
119 "SELECT lts_configuration_id FROM ecal_lts_cycle "
120 "WHERE cycle_id = :1 ");
127 result->setLTSConfigurationID(rset->getInt(1));
130 throw(std::runtime_error(
"ODLTSCycle::fetchData(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e, and mps_fire::result.
◆ fetchID()
int ODLTSCycle::fetchID |
( |
| ) |
|
|
privatenoexcept |
Definition at line 56 of file ODLTSCycle.cc.
67 "SELECT cycle_id, lts_configuration_id FROM ecal_lts_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(
"ODLTSCycle::fetchID: " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ getId()
int ODLTSCycle::getId |
( |
void |
| ) |
const |
|
inline |
◆ getLTSConfigurationID()
int ODLTSCycle::getLTSConfigurationID |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string ODLTSCycle::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ insertConfig()
void ODLTSCycle::insertConfig |
( |
| ) |
|
|
privatenoexcept |
◆ operator!=()
bool ODLTSCycle::operator!= |
( |
const ODLTSCycle & |
m | ) |
const |
|
inline |
◆ operator==()
bool ODLTSCycle::operator== |
( |
const ODLTSCycle & |
m | ) |
const |
|
inline |
◆ prepareWrite()
void ODLTSCycle::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
◆ setByID()
void ODLTSCycle::setByID |
( |
int |
id | ) |
|
|
privatenoexcept |
Definition at line 86 of file ODLTSCycle.cc.
92 "SELECT cycle_id, lts_configuration_id FROM ecal_lts_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(
"ODLTSCycle::fetchID: " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ setId()
void ODLTSCycle::setId |
( |
int |
id | ) |
|
|
inline |
◆ setLTSConfigurationID()
void ODLTSCycle::setLTSConfigurationID |
( |
int |
x | ) |
|
|
inline |
◆ writeDB()
void ODLTSCycle::writeDB |
( |
| ) |
|
|
privatenoexcept |
◆ EcalCondDBInterface
◆ ODEcalCycle
◆ m_ID
◆ m_lts_config_id
int ODLTSCycle::m_lts_config_id |
|
private |