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