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