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