#include <ODTowersToByPassDat.h>
Definition at line 11 of file ODTowersToByPassDat.h.
◆ ODTowersToByPassDat()
ODTowersToByPassDat::ODTowersToByPassDat |
( |
| ) |
|
◆ ~ODTowersToByPassDat()
ODTowersToByPassDat::~ODTowersToByPassDat |
( |
| ) |
|
|
override |
◆ fetchData()
◆ getFedId()
int ODTowersToByPassDat::getFedId |
( |
| ) |
const |
|
inline |
◆ getId()
int ODTowersToByPassDat::getId |
( |
void |
| ) |
const |
|
inline |
◆ getStatus()
int ODTowersToByPassDat::getStatus |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string ODTowersToByPassDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTimeCorr()
int ODTowersToByPassDat::getTimeCorr |
( |
| ) |
const |
|
inline |
◆ getTrId()
int ODTowersToByPassDat::getTrId |
( |
| ) |
const |
|
inline |
◆ getTTId()
int ODTowersToByPassDat::getTTId |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void ODTowersToByPassDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IODConfig.
Definition at line 25 of file ODTowersToByPassDat.cc.
31 " (rec_id, fed_id, tr_id, tt_id, time_corr, STATUS ) "
32 "VALUES (:1, :2, :3, :4, :5 , :6 )");
34 throw(std::runtime_error(
"ODTowersToByPassDat::prepareWrite(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ setFedId()
void ODTowersToByPassDat::setFedId |
( |
int |
dac | ) |
|
|
inline |
◆ setId()
void ODTowersToByPassDat::setId |
( |
int |
dac | ) |
|
|
inline |
◆ setStatus()
void ODTowersToByPassDat::setStatus |
( |
int |
dac | ) |
|
|
inline |
◆ setTimeCorr()
void ODTowersToByPassDat::setTimeCorr |
( |
int |
dac | ) |
|
|
inline |
◆ setTrId()
void ODTowersToByPassDat::setTrId |
( |
int |
dac | ) |
|
|
inline |
◆ setTTId()
void ODTowersToByPassDat::setTTId |
( |
int |
dac | ) |
|
|
inline |
◆ writeArrayDB()
Definition at line 90 of file ODTowersToByPassDat.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* ww =
new int[nrows];
105 int* st =
new int[nrows];
107 ub2* ids_len =
new ub2[nrows];
108 ub2* x_len =
new ub2[nrows];
109 ub2* y_len =
new ub2[nrows];
110 ub2* z_len =
new ub2[nrows];
111 ub2* w_len =
new ub2[nrows];
112 ub2* st_len =
new ub2[nrows];
134 m_writeStmt->setDataBuffer(1, (dvoid*)ids, OCCIINT,
sizeof(ids[0]), ids_len);
135 m_writeStmt->setDataBuffer(2, (dvoid*)
xx, OCCIINT,
sizeof(
xx[0]), x_len);
136 m_writeStmt->setDataBuffer(3, (dvoid*)
yy, OCCIINT,
sizeof(
yy[0]), y_len);
137 m_writeStmt->setDataBuffer(4, (dvoid*)
zz, OCCIINT,
sizeof(
zz[0]), z_len);
138 m_writeStmt->setDataBuffer(5, (dvoid*)ww, OCCIINT,
sizeof(ww[0]), w_len);
139 m_writeStmt->setDataBuffer(6, (dvoid*)st, OCCIINT,
sizeof(st[0]), st_len);
158 throw(std::runtime_error(
"ODTowersToByPassDat::writeArrayDB(): " +
e.getMessage()));
References submitPVResolutionJobs::count, data, MillePedeFileConverter_cfg::e, getFedId(), getStatus(), getTimeCorr(), getTrId(), getTTId(), createfilelist::int, geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.
◆ writeDB()
◆ EcalCondDBInterface
◆ m_fed
int ODTowersToByPassDat::m_fed |
|
private |
◆ m_ID
int ODTowersToByPassDat::m_ID |
|
private |
◆ m_sta
int ODTowersToByPassDat::m_sta |
|
private |
◆ m_time
int ODTowersToByPassDat::m_time |
|
private |
◆ m_tr
int ODTowersToByPassDat::m_tr |
|
private |
◆ m_tt
int ODTowersToByPassDat::m_tt |
|
private |