#include <FEConfigBadTTDat.h>
Definition at line 10 of file FEConfigBadTTDat.h.
◆ FEConfigBadTTDat()
FEConfigBadTTDat::FEConfigBadTTDat |
( |
| ) |
|
Definition at line 10 of file FEConfigBadTTDat.cc.
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
◆ ~FEConfigBadTTDat()
FEConfigBadTTDat::~FEConfigBadTTDat |
( |
| ) |
|
|
override |
◆ fetchData()
Definition at line 53 of file FEConfigBadTTDat.cc.
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setFedId(), setStatus(), setTCCId(), and setTTId().
64 m_readStmt->setSQL(
"SELECT * FROM " +
getTable() +
" WHERE rec_id = :rec_id order by tcc_id, fed_id, tt_id ");
70 while (rset->next()) {
80 throw(std::runtime_error(
"FEConfigBadTTDat::fetchData(): " +
e.getMessage()));
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
void checkConnection() const noexcept(false)
std::string getTable() override
oracle::occi::SQLException SQLException
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
int fetchID() noexcept(false)
◆ getFedId()
int FEConfigBadTTDat::getFedId |
( |
| ) |
const |
|
inline |
◆ getId()
int FEConfigBadTTDat::getId |
( |
void |
| ) |
const |
|
inline |
◆ getStatus()
int FEConfigBadTTDat::getStatus |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string FEConfigBadTTDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTCCId()
int FEConfigBadTTDat::getTCCId |
( |
| ) |
const |
|
inline |
◆ getTTId()
int FEConfigBadTTDat::getTTId |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void FEConfigBadTTDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IODConfig.
Definition at line 24 of file FEConfigBadTTDat.cc.
References MillePedeFileConverter_cfg::e.
30 " (rec_id, tcc_id, fed_id, tt_id, status ) " 31 "VALUES (:1, :2, :3, :4, :5 )");
33 throw(std::runtime_error(
"FEConfigBadTTDat::prepareWrite(): " +
e.getMessage()));
oracle::occi::Connection * m_conn
void checkConnection() const noexcept(false)
std::string getTable() override
oracle::occi::SQLException SQLException
◆ setFedId()
void FEConfigBadTTDat::setFedId |
( |
int |
x | ) |
|
|
inline |
◆ setId()
void FEConfigBadTTDat::setId |
( |
int |
dac | ) |
|
|
inline |
◆ setStatus()
void FEConfigBadTTDat::setStatus |
( |
int |
dac | ) |
|
|
inline |
◆ setTCCId()
void FEConfigBadTTDat::setTCCId |
( |
int |
dac | ) |
|
|
inline |
◆ setTTId()
void FEConfigBadTTDat::setTTId |
( |
int |
dac | ) |
|
|
inline |
◆ writeArrayDB()
Definition at line 86 of file FEConfigBadTTDat.cc.
References submitPVResolutionJobs::count, data, MillePedeFileConverter_cfg::e, getFedId(), getStatus(), getTCCId(), getTTId(), geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.
91 throw(std::runtime_error(
"FEConfigDelays::writeArrayDB: FEConfigBadTTInfo not in DB"));
94 int nrows =
data.size();
95 int* ids =
new int[nrows];
96 int*
xx =
new int[nrows];
97 int*
yy =
new int[nrows];
98 int*
zz =
new int[nrows];
99 int* st =
new int[nrows];
101 ub2* ids_len =
new ub2[nrows];
102 ub2* x_len =
new ub2[nrows];
103 ub2* y_len =
new ub2[nrows];
104 ub2* z_len =
new ub2[nrows];
105 ub2* st_len =
new ub2[nrows];
125 m_writeStmt->setDataBuffer(1, (dvoid*)ids, OCCIINT,
sizeof(ids[0]), ids_len);
126 m_writeStmt->setDataBuffer(2, (dvoid*)
xx, OCCIINT,
sizeof(
xx[0]), x_len);
127 m_writeStmt->setDataBuffer(3, (dvoid*)
yy, OCCIINT,
sizeof(
yy[0]), y_len);
128 m_writeStmt->setDataBuffer(4, (dvoid*)
zz, OCCIINT,
sizeof(
zz[0]), z_len);
129 m_writeStmt->setDataBuffer(5, (dvoid*)st, OCCIINT,
sizeof(st[0]), st_len);
146 throw(std::runtime_error(
"FEConfigBadTTDat::writeArrayDB(): " +
e.getMessage()));
void checkConnection() const noexcept(false)
char data[epos_bytes_allocation]
oracle::occi::SQLException SQLException
int fetchID() noexcept(false)
◆ writeDB()
◆ EcalCondDBInterface
◆ m_fed
int FEConfigBadTTDat::m_fed |
|
private |
◆ m_ID
int FEConfigBadTTDat::m_ID |
|
private |
◆ m_t1
int FEConfigBadTTDat::m_t1 |
|
private |
◆ m_tcc
int FEConfigBadTTDat::m_tcc |
|
private |
◆ m_tt
int FEConfigBadTTDat::m_tt |
|
private |