#include <ODWeightsSamplesDat.h>
Definition at line 12 of file ODWeightsSamplesDat.h.
◆ ODWeightsSamplesDat()
ODWeightsSamplesDat::ODWeightsSamplesDat |
( |
| ) |
|
◆ ~ODWeightsSamplesDat()
ODWeightsSamplesDat::~ODWeightsSamplesDat |
( |
| ) |
|
|
override |
◆ clear()
void ODWeightsSamplesDat::clear |
( |
void |
| ) |
|
|
private |
◆ fetchData() [1/2]
◆ fetchData() [2/2]
◆ getFedId()
int ODWeightsSamplesDat::getFedId |
( |
| ) |
const |
|
inline |
◆ getId()
int ODWeightsSamplesDat::getId |
( |
void |
| ) |
const |
|
inline |
◆ getSampleId()
int ODWeightsSamplesDat::getSampleId |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string ODWeightsSamplesDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getWeightNumber()
int ODWeightsSamplesDat::getWeightNumber |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void ODWeightsSamplesDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
◆ setFedId()
void ODWeightsSamplesDat::setFedId |
( |
int |
dac | ) |
|
|
inline |
◆ setId()
void ODWeightsSamplesDat::setId |
( |
int |
dac | ) |
|
|
inline |
◆ setSampleId()
void ODWeightsSamplesDat::setSampleId |
( |
int |
dac | ) |
|
|
inline |
◆ setWeightNumber()
void ODWeightsSamplesDat::setWeightNumber |
( |
int |
dac | ) |
|
|
inline |
◆ writeArrayDB()
Definition at line 107 of file ODWeightsSamplesDat.cc.
113 throw(std::runtime_error(
"ODDelays::writeArrayDB: ODFEDelaysInfo not in DB"));
116 int nrows =
data.size();
117 int* ids =
new int[nrows];
118 int*
xx =
new int[nrows];
119 int*
yy =
new int[nrows];
120 int*
zz =
new int[nrows];
122 ub2* ids_len =
new ub2[nrows];
123 ub2* x_len =
new ub2[nrows];
124 ub2* y_len =
new ub2[nrows];
125 ub2* z_len =
new ub2[nrows];
144 m_writeStmt->setDataBuffer(1, (dvoid*)ids, OCCIINT,
sizeof(ids[0]), ids_len);
145 m_writeStmt->setDataBuffer(2, (dvoid*)
xx, OCCIINT,
sizeof(
xx[0]), x_len);
146 m_writeStmt->setDataBuffer(3, (dvoid*)
yy, OCCIINT,
sizeof(
yy[0]), y_len);
147 m_writeStmt->setDataBuffer(4, (dvoid*)
zz, OCCIINT,
sizeof(
zz[0]), z_len);
162 throw(std::runtime_error(
"ODWeightsSamplesDat::writeArrayDB(): " +
e.getMessage()));
References submitPVResolutionJobs::count, data, MillePedeFileConverter_cfg::e, getFedId(), getSampleId(), getWeightNumber(), createfilelist::int, geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.
◆ writeDB()
◆ EcalCondDBInterface
◆ m_fed
int ODWeightsSamplesDat::m_fed |
|
private |
◆ m_ID
int ODWeightsSamplesDat::m_ID |
|
private |
◆ m_sn
int ODWeightsSamplesDat::m_sn |
|
private |
◆ m_ss
int ODWeightsSamplesDat::m_ss |
|
private |