#include <ODDelaysDat.h>
Definition at line 10 of file ODDelaysDat.h.
◆ ODDelaysDat()
ODDelaysDat::ODDelaysDat |
( |
| ) |
|
◆ ~ODDelaysDat()
ODDelaysDat::~ODDelaysDat |
( |
| ) |
|
|
override |
◆ fetchData() [1/2]
void ODDelaysDat::fetchData |
( |
std::vector< ODDelaysDat > * |
fillMap, |
|
|
int |
id |
|
) |
| |
|
privatenoexcept |
◆ fetchData() [2/2]
◆ getFedId()
int ODDelaysDat::getFedId |
( |
| ) |
const |
|
inline |
◆ getId()
int ODDelaysDat::getId |
( |
void |
| ) |
const |
|
inline |
◆ getSMId()
int ODDelaysDat::getSMId |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string ODDelaysDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTimeOffset()
int ODDelaysDat::getTimeOffset |
( |
| ) |
const |
|
inline |
◆ getTTId()
int ODDelaysDat::getTTId |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void ODDelaysDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IODConfig.
Definition at line 24 of file ODDelaysDat.cc.
30 " (rec_id, sm_id, fed_id, tt_id, time_offset ) "
31 "VALUES (:1, :2, :3, :4, :5 )");
33 throw(std::runtime_error(
"ODDelaysDat::prepareWrite(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ setFedId()
void ODDelaysDat::setFedId |
( |
int |
dac | ) |
|
|
inline |
◆ setId()
void ODDelaysDat::setId |
( |
int |
dac | ) |
|
|
inline |
◆ setSMId()
void ODDelaysDat::setSMId |
( |
int |
dac | ) |
|
|
inline |
◆ setTimeOffset()
void ODDelaysDat::setTimeOffset |
( |
int |
dac | ) |
|
|
inline |
◆ setTTId()
void ODDelaysDat::setTTId |
( |
int |
dac | ) |
|
|
inline |
◆ writeArrayDB()
Definition at line 91 of file ODDelaysDat.cc.
96 throw(std::runtime_error(
"ODDelays::writeArrayDB: ODFEDelaysInfo not in DB"));
99 int nrows =
data.size();
100 int* ids =
new int[nrows];
101 int*
xx =
new int[nrows];
102 int*
yy =
new int[nrows];
103 int*
zz =
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* 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*)st, OCCIINT,
sizeof(st[0]), st_len);
153 throw(std::runtime_error(
"ODDelaysDat::writeArrayDB(): " +
e.getMessage()));
References KineDebug3::count(), std::data(), MillePedeFileConverter_cfg::e, getFedId(), getSMId(), getTimeOffset(), getTTId(), createfilelist::int, geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.
◆ writeDB()
◆ EcalCondDBInterface
◆ m_fed
◆ m_ID
◆ m_sm
◆ m_t1
◆ m_tt