#include <RunTTErrorsDat.h>
Definition at line 12 of file RunTTErrorsDat.h.
RunTTErrorsDat::RunTTErrorsDat |
( |
| ) |
|
Definition at line 12 of file RunTTErrorsDat.cc.
oracle::occi::Environment * m_env
oracle::occi::Statement * m_writeStmt
oracle::occi::Connection * m_conn
oracle::occi::Statement * m_readStmt
RunTTErrorsDat::~RunTTErrorsDat |
( |
| ) |
|
|
override |
Definition at line 73 of file RunTTErrorsDat.cc.
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, and setErrorBits().
Referenced by getErrorBits().
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_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, RunTTErrorsDat >
p;
107 dat.
setErrorBits( boost::lexical_cast<uint64_t>(rset->getString(7)) );
113 }
catch (SQLException &
e) {
114 throw(std::runtime_error(
"RunTTErrorsDat::fetchData(): "+e.getMessage()));
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
void setErrorBits(uint64_t bits)
void checkConnection() const noexcept(false)
oracle::occi::Statement * m_readStmt
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
int fetchID() noexcept(false) override
uint64_t RunTTErrorsDat::getErrorBits |
( |
| ) |
const |
|
inline |
std::string RunTTErrorsDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
void RunTTErrorsDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IDataItem.
Definition at line 30 of file RunTTErrorsDat.cc.
References MillePedeFileConverter_cfg::e.
Referenced by getErrorBits().
38 m_writeStmt->setSQL(
"INSERT INTO run_tt_errors_dat (iov_id, logic_id, " 40 "VALUES (:iov_id, :logic_id, " 41 "to_number(:error_bits))");
42 }
catch (SQLException &
e) {
43 throw(std::runtime_error(
"RunTTErrorsDat::prepareWrite(): "+e.getMessage()));
oracle::occi::Statement * m_writeStmt
oracle::occi::Connection * m_conn
void checkConnection() const noexcept(false)
void RunTTErrorsDat::setErrorBits |
( |
uint64_t |
bits | ) |
|
|
inline |
Definition at line 21 of file RunTTErrorsDat.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 RunTTErrorsDat.cc.
References MillePedeFileConverter_cfg::e.
Referenced by getErrorBits().
56 if (!iovID) {
throw(std::runtime_error(
"RunTTErrorsDat::writeDB: IOV not in DB")); }
59 if (!logicID) {
throw(std::runtime_error(
"RunTTErrorsDat::writeDB: Bad EcalLogicID")); }
66 }
catch (SQLException &
e) {
67 throw(std::runtime_error(
"RunTTErrorsDat::writeDB(): "+e.getMessage()));
oracle::occi::Statement * m_writeStmt
void checkPrepare() noexcept(false)
void checkConnection() const noexcept(false)
uint64_t getErrorBits() const
int fetchID() noexcept(false) override
uint64_t RunTTErrorsDat::m_errorBits |
|
private |