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