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