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