#include <ODBadTTDat.h>
Definition at line 10 of file ODBadTTDat.h.
◆ ODBadTTDat()
ODBadTTDat::ODBadTTDat |
( |
| ) |
|
◆ ~ODBadTTDat()
ODBadTTDat::~ODBadTTDat |
( |
| ) |
|
|
override |
◆ fetchData()
◆ getFedId()
int ODBadTTDat::getFedId |
( |
| ) |
const |
|
inline |
◆ getId()
int ODBadTTDat::getId |
( |
void |
| ) |
const |
|
inline |
◆ getSMId()
int ODBadTTDat::getSMId |
( |
| ) |
const |
|
inline |
◆ getStatus()
int ODBadTTDat::getStatus |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string ODBadTTDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTRId()
int ODBadTTDat::getTRId |
( |
| ) |
const |
|
inline |
◆ getTTId()
int ODBadTTDat::getTTId |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void ODBadTTDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IODConfig.
Definition at line 24 of file ODBadTTDat.cc.
30 " (rec_id, tr_id, fed_id, tt_id, status ) "
31 "VALUES (:1, :2, :3, :4, :5 )");
33 throw(std::runtime_error(
"ODBadTTDat::prepareWrite(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ setFedId()
void ODBadTTDat::setFedId |
( |
int |
dac | ) |
|
|
inline |
◆ setId()
void ODBadTTDat::setId |
( |
int |
dac | ) |
|
|
inline |
◆ setSMId()
void ODBadTTDat::setSMId |
( |
int |
dac | ) |
|
|
inline |
◆ setStatus()
void ODBadTTDat::setStatus |
( |
int |
dac | ) |
|
|
inline |
◆ setTRId()
void ODBadTTDat::setTRId |
( |
int |
dac | ) |
|
|
inline |
◆ setTTId()
void ODBadTTDat::setTTId |
( |
int |
dac | ) |
|
|
inline |
◆ writeArrayDB()
Definition at line 86 of file ODBadTTDat.cc.
91 throw(std::runtime_error(
"ODDelays::writeArrayDB: ODBadTTInfo not in DB"));
94 int nrows =
data.size();
95 int* ids =
new int[nrows];
96 int*
xx =
new int[nrows];
97 int*
yy =
new int[nrows];
98 int*
zz =
new int[nrows];
99 int* st =
new int[nrows];
101 ub2* ids_len =
new ub2[nrows];
102 ub2* x_len =
new ub2[nrows];
103 ub2* y_len =
new ub2[nrows];
104 ub2* z_len =
new ub2[nrows];
105 ub2* st_len =
new ub2[nrows];
125 m_writeStmt->setDataBuffer(1, (dvoid*)ids, OCCIINT,
sizeof(ids[0]), ids_len);
126 m_writeStmt->setDataBuffer(2, (dvoid*)
xx, OCCIINT,
sizeof(
xx[0]), x_len);
127 m_writeStmt->setDataBuffer(3, (dvoid*)
yy, OCCIINT,
sizeof(
yy[0]), y_len);
128 m_writeStmt->setDataBuffer(4, (dvoid*)
zz, OCCIINT,
sizeof(
zz[0]), z_len);
129 m_writeStmt->setDataBuffer(5, (dvoid*)st, OCCIINT,
sizeof(st[0]), st_len);
146 throw(std::runtime_error(
"ODBadTTDat::writeArrayDB(): " +
e.getMessage()));
References KineDebug3::count(), std::data(), MillePedeFileConverter_cfg::e, getFedId(), getStatus(), getTRId(), getTTId(), geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.
◆ writeDB()
◆ EcalCondDBInterface
◆ m_fed
◆ m_ID
◆ m_sm
◆ m_t1
◆ m_tt