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