#include <FEConfigBadStripDat.h>
Definition at line 10 of file FEConfigBadStripDat.h.
◆ FEConfigBadStripDat()
FEConfigBadStripDat::FEConfigBadStripDat |
( |
| ) |
|
Definition at line 10 of file FEConfigBadStripDat.cc.
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
◆ ~FEConfigBadStripDat()
FEConfigBadStripDat::~FEConfigBadStripDat |
( |
| ) |
|
|
override |
◆ fetchData()
Definition at line 55 of file FEConfigBadStripDat.cc.
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setFedId(), setStatus(), setStripId(), setTCCId(), and setTTId().
67 " WHERE rec_id = :rec_id order by tcc_id, fed_id, tt_id , st_id ");
73 while (rset->next()) {
84 throw(std::runtime_error(
"FEConfigBadStripDat::fetchData(): " +
e.getMessage()));
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
void checkConnection() const noexcept(false)
int fetchID() noexcept(false)
std::string getTable() override
oracle::occi::SQLException SQLException
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
◆ getFedId()
int FEConfigBadStripDat::getFedId |
( |
| ) |
const |
|
inline |
◆ getId()
int FEConfigBadStripDat::getId |
( |
void |
| ) |
const |
|
inline |
◆ getStatus()
int FEConfigBadStripDat::getStatus |
( |
| ) |
const |
|
inline |
◆ getStripId()
int FEConfigBadStripDat::getStripId |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string FEConfigBadStripDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTCCId()
int FEConfigBadStripDat::getTCCId |
( |
| ) |
const |
|
inline |
◆ getTTId()
int FEConfigBadStripDat::getTTId |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void FEConfigBadStripDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IODConfig.
Definition at line 25 of file FEConfigBadStripDat.cc.
References MillePedeFileConverter_cfg::e.
31 " (rec_id, tcc_id,fed_id, tt_id, st_id, status ) " 32 "VALUES (:1, :2, :3, :4, :5 ,:6 )");
34 throw(std::runtime_error(
"FEConfigBadStripDat::prepareWrite(): " +
e.getMessage()));
oracle::occi::Connection * m_conn
void checkConnection() const noexcept(false)
std::string getTable() override
oracle::occi::SQLException SQLException
◆ setFedId()
void FEConfigBadStripDat::setFedId |
( |
int |
dac | ) |
|
|
inline |
◆ setId()
void FEConfigBadStripDat::setId |
( |
int |
dac | ) |
|
|
inline |
◆ setStatus()
void FEConfigBadStripDat::setStatus |
( |
int |
dac | ) |
|
|
inline |
◆ setStripId()
void FEConfigBadStripDat::setStripId |
( |
int |
dac | ) |
|
|
inline |
◆ setTCCId()
void FEConfigBadStripDat::setTCCId |
( |
int |
dac | ) |
|
|
inline |
◆ setTTId()
void FEConfigBadStripDat::setTTId |
( |
int |
dac | ) |
|
|
inline |
◆ writeArrayDB()
Definition at line 90 of file FEConfigBadStripDat.cc.
References submitPVResolutionJobs::count, data, MillePedeFileConverter_cfg::e, getFedId(), getStatus(), getStripId(), getTCCId(), getTTId(), geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.
96 throw(std::runtime_error(
"FEConfigDelays::writeArrayDB: FEConfigBadStripInfo 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* z1 =
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* z1_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*)z1, OCCIINT,
sizeof(z1[0]), z1_len);
139 m_writeStmt->setDataBuffer(6, (dvoid*)st, OCCIINT,
sizeof(st[0]), st_len);
158 throw(std::runtime_error(
"FEConfigBadStripDat::writeArrayDB(): " +
e.getMessage()));
void checkConnection() const noexcept(false)
int fetchID() noexcept(false)
char data[epos_bytes_allocation]
oracle::occi::SQLException SQLException
◆ writeDB()
◆ EcalCondDBInterface
◆ m_fed
int FEConfigBadStripDat::m_fed |
|
private |
◆ m_ID
int FEConfigBadStripDat::m_ID |
|
private |
◆ m_t1
int FEConfigBadStripDat::m_t1 |
|
private |
◆ m_tcc
int FEConfigBadStripDat::m_tcc |
|
private |
◆ m_tt
int FEConfigBadStripDat::m_tt |
|
private |
◆ m_xt
int FEConfigBadStripDat::m_xt |
|
private |