#include <RunPTMTempDat.h>
Definition at line 11 of file RunPTMTempDat.h.
RunPTMTempDat::RunPTMTempDat |
( |
| ) |
|
Definition at line 11 of file RunPTMTempDat.cc.
oracle::occi::Environment * m_env
oracle::occi::Statement * m_writeStmt
oracle::occi::Connection * m_conn
oracle::occi::Statement * m_readStmt
RunPTMTempDat::~RunPTMTempDat |
( |
| ) |
|
|
override |
Definition at line 72 of file RunPTMTempDat.cc.
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setTemperature(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getTemperature().
87 m_readStmt->setSQL(
"SELECT cv.name, cv.logic_id, cv.id1, cv.id2, cv.id3, cv.maps_to, " 89 "FROM channelview cv JOIN RUN_TEMPERATURE_PTM_DAT d " 90 "ON cv.logic_id = d.logic_id AND cv.name = cv.maps_to " 91 "WHERE d.iov_id = :iov_id");
95 std::pair< EcalLogicID, RunPTMTempDat >
p;
103 getOraString(rset,6));
111 }
catch (SQLException &
e) {
112 throw(std::runtime_error(
std::string(
"RunPTMTempDat::fetchData(): ")+getOraMessage(&e)));
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
void checkConnection() const noexcept(false)
oracle::occi::Statement * m_readStmt
void setTemperature(float t)
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
int fetchID() noexcept(false) override
std::string RunPTMTempDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
float RunPTMTempDat::getTemperature |
( |
| ) |
const |
|
inline |
void RunPTMTempDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
void RunPTMTempDat::setTemperature |
( |
float |
t | ) |
|
|
inline |
Definition at line 47 of file RunPTMTempDat.cc.
References MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getTemperature().
54 if (!iovID) {
throw(std::runtime_error(
"RunPTMTempDat::writeDB: IOV not in DB")); }
57 if (!logicID) {
throw(std::runtime_error(
"RunPTMTempDat::writeDB: Bad EcalLogicID")); }
65 }
catch (SQLException &
e) {
66 throw(std::runtime_error(
std::string(
"RunPTMTempDat::writeDB(): ")+getOraMessage(&e)));
oracle::occi::Statement * m_writeStmt
void checkPrepare() noexcept(false)
void checkConnection() const noexcept(false)
float getTemperature() const
int fetchID() noexcept(false) override
float RunPTMTempDat::m_temperature |
|
private |