#include <RunMemTTErrorsDat.h>
Definition at line 12 of file RunMemTTErrorsDat.h.
RunMemTTErrorsDat::RunMemTTErrorsDat |
( |
| ) |
|
Definition at line 12 of file RunMemTTErrorsDat.cc.
References NULL.
oracle::occi::Environment * m_env
oracle::occi::Statement * m_writeStmt
oracle::occi::Connection * m_conn
oracle::occi::Statement * m_readStmt
RunMemTTErrorsDat::~RunMemTTErrorsDat |
( |
| ) |
|
Definition at line 73 of file RunMemTTErrorsDat.cc.
References alignCSCRings::e, o2o::iov, AlCaHLTBitMon_ParallelJobs::p, and setErrorBits().
89 m_readStmt->setSQL(
"SELECT cv.name, cv.logic_id, cv.id1, cv.id2, cv.id3, cv.maps_to, "
90 "to_char(d.error_bits) "
91 "FROM channelview cv JOIN run_mem_tt_errors_dat d "
92 "ON cv.logic_id = d.logic_id AND cv.name = cv.maps_to "
93 "WHERE d.iov_id = :iov_id");
97 std::pair< EcalLogicID, RunMemTTErrorsDat >
p;
107 dat.
setErrorBits( boost::lexical_cast<uint64_t>(rset->getString(7)) );
115 throw(std::runtime_error(
"RunMemTTErrorsDat::fetchData(): "+e.getMessage()));
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
void checkConnection() const noexcept(false)
oracle::occi::SQLException SQLException
int fetchID() noexcept(false)
oracle::occi::Statement * m_readStmt
oracle::occi::ResultSet ResultSet
void setErrorBits(uint64_t bits)
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
uint64_t RunMemTTErrorsDat::getErrorBits |
( |
| ) |
const |
|
inline |
std::string RunMemTTErrorsDat::getTable |
( |
| ) |
|
|
inlinevirtual |
void RunMemTTErrorsDat::prepareWrite |
( |
| ) |
|
|
privatevirtualnoexcept |
Implements IDataItem.
Definition at line 30 of file RunMemTTErrorsDat.cc.
References alignCSCRings::e.
38 m_writeStmt->setSQL(
"INSERT INTO run_mem_tt_errors_dat (iov_id, logic_id, "
40 "VALUES (:iov_id, :logic_id, "
41 "to_number(:error_bits))");
43 throw(std::runtime_error(
"RunMemTTErrorsDat::prepareWrite(): "+e.getMessage()));
oracle::occi::Statement * m_writeStmt
oracle::occi::Connection * m_conn
void checkConnection() const noexcept(false)
oracle::occi::SQLException SQLException
void RunMemTTErrorsDat::setErrorBits |
( |
uint64_t |
bits | ) |
|
|
inline |
Definition at line 21 of file RunMemTTErrorsDat.h.
References bits, and m_errorBits.
Referenced by fetchData().
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
Definition at line 49 of file RunMemTTErrorsDat.cc.
References alignCSCRings::e, and o2o::iov.
56 if (!iovID) {
throw(std::runtime_error(
"RunMemTTErrorsDat::writeDB: IOV not in DB")); }
59 if (!logicID) {
throw(std::runtime_error(
"RunMemTTErrorsDat::writeDB: Bad EcalLogicID")); }
67 throw(std::runtime_error(
"RunMemTTErrorsDat::writeDB(): "+e.getMessage()));
oracle::occi::Statement * m_writeStmt
void checkConnection() const noexcept(false)
void checkPrepare() noexcept(false)
oracle::occi::SQLException SQLException
int fetchID() noexcept(false)
uint64_t getErrorBits() const
uint64_t RunMemTTErrorsDat::m_errorBits |
|
private |