#include <ODVfeToRejectDat.h>
Definition at line 11 of file ODVfeToRejectDat.h.
◆ ODVfeToRejectDat()
ODVfeToRejectDat::ODVfeToRejectDat |
( |
| ) |
|
◆ ~ODVfeToRejectDat()
ODVfeToRejectDat::~ODVfeToRejectDat |
( |
| ) |
|
|
override |
◆ fetchData()
◆ getFedId()
int ODVfeToRejectDat::getFedId |
( |
| ) |
const |
|
inline |
◆ getGain()
int ODVfeToRejectDat::getGain |
( |
| ) |
const |
|
inline |
◆ getId()
int ODVfeToRejectDat::getId |
( |
void |
| ) |
const |
|
inline |
◆ getStatus()
int ODVfeToRejectDat::getStatus |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string ODVfeToRejectDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTTId()
int ODVfeToRejectDat::getTTId |
( |
| ) |
const |
|
inline |
◆ getVfeId()
int ODVfeToRejectDat::getVfeId |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void ODVfeToRejectDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IODConfig.
Definition at line 25 of file ODVfeToRejectDat.cc.
31 " (rec_id, fed_id, tt_id, vfe_id, GAIN, STATUS ) "
32 "VALUES (:1, :2, :3, :4, :5 , :6 )");
34 throw(std::runtime_error(
"ODVfeToRejectDat::prepareWrite(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ setFedId()
void ODVfeToRejectDat::setFedId |
( |
int |
dac | ) |
|
|
inline |
◆ setGain()
void ODVfeToRejectDat::setGain |
( |
int |
dac | ) |
|
|
inline |
◆ setId()
void ODVfeToRejectDat::setId |
( |
int |
dac | ) |
|
|
inline |
◆ setStatus()
void ODVfeToRejectDat::setStatus |
( |
int |
dac | ) |
|
|
inline |
◆ setTTId()
void ODVfeToRejectDat::setTTId |
( |
int |
dac | ) |
|
|
inline |
◆ setVfeId()
void ODVfeToRejectDat::setVfeId |
( |
int |
dac | ) |
|
|
inline |
◆ writeArrayDB()
Definition at line 90 of file ODVfeToRejectDat.cc.
95 throw(std::runtime_error(
"ODDelays::writeArrayDB: ODFEDelaysInfo 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* ww =
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* w_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*)ww, OCCIINT,
sizeof(ww[0]), w_len);
138 m_writeStmt->setDataBuffer(6, (dvoid*)st, OCCIINT,
sizeof(st[0]), st_len);
157 throw(std::runtime_error(
"ODVfeToRejectDat::writeArrayDB(): " +
e.getMessage()));
References KineDebug3::count(), std::data(), MillePedeFileConverter_cfg::e, getFedId(), getGain(), getStatus(), getTTId(), getVfeId(), createfilelist::int, geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.
◆ writeDB()
◆ EcalCondDBInterface
◆ m_fed
int ODVfeToRejectDat::m_fed |
|
private |
◆ m_gain
int ODVfeToRejectDat::m_gain |
|
private |
◆ m_ID
int ODVfeToRejectDat::m_ID |
|
private |
◆ m_sta
int ODVfeToRejectDat::m_sta |
|
private |
◆ m_tt
int ODVfeToRejectDat::m_tt |
|
private |
◆ m_vfe
int ODVfeToRejectDat::m_vfe |
|
private |