#include <FEConfigBadTTDat.h>
Definition at line 10 of file FEConfigBadTTDat.h.
FEConfigBadTTDat::FEConfigBadTTDat |
( |
| ) |
|
Definition at line 10 of file FEConfigBadTTDat.cc.
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
FEConfigBadTTDat::~FEConfigBadTTDat |
( |
| ) |
|
|
override |
int FEConfigBadTTDat::getFedId |
( |
| ) |
const |
|
inline |
int FEConfigBadTTDat::getId |
( |
void |
| ) |
const |
|
inline |
int FEConfigBadTTDat::getStatus |
( |
| ) |
const |
|
inline |
std::string FEConfigBadTTDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
int FEConfigBadTTDat::getTCCId |
( |
| ) |
const |
|
inline |
int FEConfigBadTTDat::getTTId |
( |
| ) |
const |
|
inline |
void FEConfigBadTTDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IODConfig.
Definition at line 32 of file FEConfigBadTTDat.cc.
References MillePedeFileConverter_cfg::e.
Referenced by getStatus().
40 "VALUES (:1, :2, :3, :4, :5 )");
42 throw(std::runtime_error(
"FEConfigBadTTDat::prepareWrite(): "+e.getMessage()));
oracle::occi::Connection * m_conn
std::string getTable() override
void checkConnection() const noexcept(false)
oracle::occi::SQLException SQLException
void FEConfigBadTTDat::setFedId |
( |
int |
x | ) |
|
|
inline |
void FEConfigBadTTDat::setId |
( |
int |
dac | ) |
|
|
inline |
void FEConfigBadTTDat::setStatus |
( |
int |
dac | ) |
|
|
inline |
void FEConfigBadTTDat::setTCCId |
( |
int |
dac | ) |
|
|
inline |
void FEConfigBadTTDat::setTTId |
( |
int |
dac | ) |
|
|
inline |
Definition at line 104 of file FEConfigBadTTDat.cc.
References KineDebug3::count(), data, MillePedeFileConverter_cfg::e, getFedId(), getStatus(), getTCCId(), getTTId(), photons_cff::ids, geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.
Referenced by getStatus().
110 if (!iovID) {
throw(std::runtime_error(
"FEConfigDelays::writeArrayDB: FEConfigBadTTInfo not in DB")); }
113 int nrows=
data.size();
114 int*
ids=
new int[nrows];
115 int*
xx=
new int[nrows];
116 int*
yy=
new int[nrows];
117 int*
zz=
new int[nrows];
118 int* st=
new int[nrows];
122 ub2* ids_len=
new ub2[nrows];
123 ub2* x_len=
new ub2[nrows];
124 ub2* y_len=
new ub2[nrows];
125 ub2* z_len=
new ub2[nrows];
126 ub2* st_len=
new ub2[nrows];
151 m_writeStmt->setDataBuffer(1, (dvoid*)ids, OCCIINT,
sizeof(ids[0]),ids_len);
152 m_writeStmt->setDataBuffer(2, (dvoid*)xx, OCCIINT ,
sizeof(xx[0]), x_len );
153 m_writeStmt->setDataBuffer(3, (dvoid*)yy, OCCIINT ,
sizeof(yy[0]), y_len );
154 m_writeStmt->setDataBuffer(4, (dvoid*)zz, OCCIINT ,
sizeof(zz[0]), z_len );
155 m_writeStmt->setDataBuffer(5, (dvoid*)st, OCCIINT ,
sizeof(st[0]), st_len );
172 throw(std::runtime_error(
"FEConfigBadTTDat::writeArrayDB(): "+e.getMessage()));
void checkConnection() const noexcept(false)
char data[epos_bytes_allocation]
oracle::occi::SQLException SQLException
int fetchID() noexcept(false)
int FEConfigBadTTDat::m_fed |
|
private |
int FEConfigBadTTDat::m_ID |
|
private |
int FEConfigBadTTDat::m_t1 |
|
private |
int FEConfigBadTTDat::m_tcc |
|
private |
int FEConfigBadTTDat::m_tt |
|
private |