#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 edm::pset::fillMap(), o2o::iov, L1TEmulatorMonitor_cff::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
oracle::occi::SQLException SQLException
oracle::occi::Statement * m_readStmt
oracle::occi::ResultSet ResultSet
void setErrorBits(uint64_t bits)
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
void fillMap(Registry *reg, regmap_type &fillme)
void checkConnection() const
uint64_t RunMemTTErrorsDat::getErrorBits |
( |
| ) |
const |
|
inline |
std::string RunMemTTErrorsDat::getTable |
( |
| ) |
|
|
inlinevirtual |
void RunMemTTErrorsDat::prepareWrite |
( |
| ) |
|
throw | ( | std::runtime_error |
| ) | | |
|
privatevirtual |
Implements IDataItem.
Definition at line 30 of file RunMemTTErrorsDat.cc.
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
oracle::occi::SQLException SQLException
void checkConnection() const
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 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
oracle::occi::SQLException SQLException
uint64_t getErrorBits() const
void checkConnection() const
uint64_t RunMemTTErrorsDat::m_errorBits |
|
private |