#include <RunMemChErrorsDat.h>
Definition at line 12 of file RunMemChErrorsDat.h.
RunMemChErrorsDat::RunMemChErrorsDat |
( |
| ) |
|
Definition at line 12 of file RunMemChErrorsDat.cc.
References NULL.
oracle::occi::Environment * m_env
oracle::occi::Statement * m_writeStmt
oracle::occi::Connection * m_conn
oracle::occi::Statement * m_readStmt
RunMemChErrorsDat::~RunMemChErrorsDat |
( |
| ) |
|
Definition at line 72 of file RunMemChErrorsDat.cc.
References dat, alignCSCRings::e, o2o::iov, AlCaHLTBitMon_ParallelJobs::p, and setErrorBits().
88 m_readStmt->setSQL(
"SELECT cv.name, cv.logic_id, cv.id1, cv.id2, cv.id3, cv.maps_to, "
89 "to_char(d.error_bits) "
90 "FROM channelview cv JOIN run_mem_ch_errors_dat d "
91 "ON cv.logic_id = d.logic_id AND cv.name = cv.maps_to "
92 "WHERE d.iov_id = :iov_id");
96 std::pair< EcalLogicID, RunMemChErrorsDat >
p;
106 dat.
setErrorBits( boost::lexical_cast<uint64_t>(rset->getString(7)) );
114 throw(std::runtime_error(
"RunMemChErrorsDat::fetchData(): "+e.getMessage()));
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
oracle::occi::SQLException SQLException
void setErrorBits(uint64_t bits)
oracle::occi::Statement * m_readStmt
static std::vector< std::string > checklist dat
oracle::occi::ResultSet ResultSet
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
void checkConnection() const
uint64_t RunMemChErrorsDat::getErrorBits |
( |
| ) |
const |
|
inline |
std::string RunMemChErrorsDat::getTable |
( |
| ) |
|
|
inlinevirtual |
void RunMemChErrorsDat::prepareWrite |
( |
| ) |
|
throw | ( | std::runtime_error |
| ) | | |
|
privatevirtual |
Implements IDataItem.
Definition at line 29 of file RunMemChErrorsDat.cc.
References alignCSCRings::e.
37 m_writeStmt->setSQL(
"INSERT INTO run_mem_ch_errors_dat (iov_id, logic_id, "
39 "VALUES (:iov_id, :logic_id, "
40 "to_number(:error_bits))");
42 throw(std::runtime_error(
"RunMemChErrorsDat::prepareWrite(): "+e.getMessage()));
oracle::occi::Statement * m_writeStmt
oracle::occi::Connection * m_conn
oracle::occi::SQLException SQLException
void checkConnection() const
void RunMemChErrorsDat::setErrorBits |
( |
uint64_t |
bits | ) |
|
|
inline |
Definition at line 21 of file RunMemChErrorsDat.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 48 of file RunMemChErrorsDat.cc.
References alignCSCRings::e, and o2o::iov.
55 if (!iovID) {
throw(std::runtime_error(
"RunMemChErrorsDat::writeDB: IOV not in DB")); }
58 if (!logicID) {
throw(std::runtime_error(
"RunMemChErrorsDat::writeDB: Bad EcalLogicID")); }
66 throw(std::runtime_error(
"RunMemChErrorsDat::writeDB(): "+e.getMessage()));
oracle::occi::Statement * m_writeStmt
oracle::occi::SQLException SQLException
uint64_t getErrorBits() const
void checkConnection() const
uint64_t RunMemChErrorsDat::m_errorBits |
|
private |