#include <FEConfigBadXTDat.h>
Definition at line 10 of file FEConfigBadXTDat.h.
◆ FEConfigBadXTDat()
FEConfigBadXTDat::FEConfigBadXTDat |
( |
| ) |
|
◆ ~FEConfigBadXTDat()
FEConfigBadXTDat::~FEConfigBadXTDat |
( |
| ) |
|
|
override |
◆ fetchData()
◆ getFedId()
int FEConfigBadXTDat::getFedId |
( |
| ) |
const |
|
inline |
◆ getId()
int FEConfigBadXTDat::getId |
( |
void |
| ) |
const |
|
inline |
◆ getStatus()
int FEConfigBadXTDat::getStatus |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string FEConfigBadXTDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTCCId()
int FEConfigBadXTDat::getTCCId |
( |
| ) |
const |
|
inline |
◆ getTTId()
int FEConfigBadXTDat::getTTId |
( |
| ) |
const |
|
inline |
◆ getXTId()
int FEConfigBadXTDat::getXTId |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void FEConfigBadXTDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IODConfig.
Definition at line 25 of file FEConfigBadXTDat.cc.
31 " (rec_id, tcc_id,fed_id, tt_id, CRY_id, status ) "
32 "VALUES (:1, :2, :3, :4, :5 ,:6 )");
34 throw(std::runtime_error(
"FEConfigBadXTDat::prepareWrite(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ setFedId()
void FEConfigBadXTDat::setFedId |
( |
int |
dac | ) |
|
|
inline |
◆ setId()
void FEConfigBadXTDat::setId |
( |
int |
dac | ) |
|
|
inline |
◆ setStatus()
void FEConfigBadXTDat::setStatus |
( |
int |
dac | ) |
|
|
inline |
◆ setTCCId()
void FEConfigBadXTDat::setTCCId |
( |
int |
dac | ) |
|
|
inline |
◆ setTTId()
void FEConfigBadXTDat::setTTId |
( |
int |
dac | ) |
|
|
inline |
◆ setXTId()
void FEConfigBadXTDat::setXTId |
( |
int |
dac | ) |
|
|
inline |
◆ writeArrayDB()
Definition at line 90 of file FEConfigBadXTDat.cc.
95 throw(std::runtime_error(
"FEConfigDelays::writeArrayDB: FEConfigBadXTInfo not in DB"));
98 int nrows =
data.size();
99 int* ids =
new int[nrows];
100 int*
xx =
new int[nrows];
101 int*
yy =
new int[nrows];
102 int*
zz =
new int[nrows];
103 int* z1 =
new int[nrows];
104 int* st =
new int[nrows];
106 ub2* ids_len =
new ub2[nrows];
107 ub2* x_len =
new ub2[nrows];
108 ub2* y_len =
new ub2[nrows];
109 ub2* z_len =
new ub2[nrows];
110 ub2* z1_len =
new ub2[nrows];
111 ub2* st_len =
new ub2[nrows];
133 m_writeStmt->setDataBuffer(1, (dvoid*)ids, OCCIINT,
sizeof(ids[0]), ids_len);
134 m_writeStmt->setDataBuffer(2, (dvoid*)
xx, OCCIINT,
sizeof(
xx[0]), x_len);
135 m_writeStmt->setDataBuffer(3, (dvoid*)
yy, OCCIINT,
sizeof(
yy[0]), y_len);
136 m_writeStmt->setDataBuffer(4, (dvoid*)
zz, OCCIINT,
sizeof(
zz[0]), z_len);
137 m_writeStmt->setDataBuffer(5, (dvoid*)z1, OCCIINT,
sizeof(z1[0]), z1_len);
138 m_writeStmt->setDataBuffer(6, (dvoid*)st, OCCIINT,
sizeof(st[0]), st_len);
157 throw(std::runtime_error(
"FEConfigBadXTDat::writeArrayDB(): " +
e.getMessage()));
References KineDebug3::count(), std::data(), MillePedeFileConverter_cfg::e, getFedId(), getStatus(), getTCCId(), getTTId(), getXTId(), geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.
◆ writeDB()
◆ EcalCondDBInterface
◆ m_fed
int FEConfigBadXTDat::m_fed |
|
private |
◆ m_ID
int FEConfigBadXTDat::m_ID |
|
private |
◆ m_t1
int FEConfigBadXTDat::m_t1 |
|
private |
◆ m_tcc
int FEConfigBadXTDat::m_tcc |
|
private |
◆ m_tt
int FEConfigBadXTDat::m_tt |
|
private |
◆ m_xt
int FEConfigBadXTDat::m_xt |
|
private |