#include <MonLaserStatusDat.h>
Definition at line 11 of file MonLaserStatusDat.h.
MonLaserStatusDat::MonLaserStatusDat |
( |
| ) |
|
Definition at line 10 of file MonLaserStatusDat.cc.
oracle::occi::Environment * m_env
oracle::occi::Statement * m_writeStmt
oracle::occi::Connection * m_conn
oracle::occi::Statement * m_readStmt
MonLaserStatusDat::~MonLaserStatusDat |
( |
| ) |
|
|
override |
Definition at line 78 of file MonLaserStatusDat.cc.
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setLaserFanout(), setLaserFilter(), setLaserPower(), setLaserWavelength(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getLaserFanout().
93 m_readStmt->setSQL(
"SELECT cv.name, cv.logic_id, cv.id1, cv.id2, cv.id3, cv.maps_to, " 94 "d.laser_power, d.laser_filter, d.laser_wavelength, d.laser_fanout " 95 "FROM channelview cv JOIN mon_laser_status_dat d " 96 "ON cv.logic_id = d.logic_id AND cv.name = cv.maps_to " 97 "WHERE d.iov_id = :iov_id");
101 std::pair< EcalLogicID, MonLaserStatusDat >
p;
103 while(rset->next()) {
109 getOraString(rset,6));
119 }
catch (SQLException &
e) {
120 throw(std::runtime_error(
std::string(
"MonLaserStatusDat::fetchData(): ")+getOraMessage(&e)));
void setLaserFanout(float p)
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
void setLaserFilter(float p)
void setLaserPower(float p)
void setLaserWavelength(float p)
int fetchID() noexcept(false) override
void checkConnection() const noexcept(false)
oracle::occi::Statement * m_readStmt
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
float MonLaserStatusDat::getLaserFanout |
( |
| ) |
const |
|
inline |
float MonLaserStatusDat::getLaserFilter |
( |
| ) |
const |
|
inline |
float MonLaserStatusDat::getLaserPower |
( |
| ) |
const |
|
inline |
float MonLaserStatusDat::getLaserWavelength |
( |
| ) |
const |
|
inline |
std::string MonLaserStatusDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
void MonLaserStatusDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
void MonLaserStatusDat::setLaserFanout |
( |
float |
p | ) |
|
|
inline |
void MonLaserStatusDat::setLaserFilter |
( |
float |
p | ) |
|
|
inline |
void MonLaserStatusDat::setLaserPower |
( |
float |
p | ) |
|
|
inline |
void MonLaserStatusDat::setLaserWavelength |
( |
float |
p | ) |
|
|
inline |
Definition at line 49 of file MonLaserStatusDat.cc.
References MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getLaserFanout().
56 if (!iovID) {
throw(std::runtime_error(
"MonLaserStatusDat::writeDB: IOV not in DB")); }
59 if (!logicID) {
throw(std::runtime_error(
"MonLaserStatusDat::writeDB: Bad EcalLogicID")); }
71 }
catch (SQLException &
e) {
72 throw(std::runtime_error(
std::string(
"MonLaserStatusDat::writeDB(): ")+getOraMessage(&e)));
float getLaserWavelength() const
oracle::occi::Statement * m_writeStmt
float getLaserPower() const
void checkPrepare() noexcept(false)
int fetchID() noexcept(false) override
void checkConnection() const noexcept(false)
float getLaserFilter() const
float getLaserFanout() const
float MonLaserStatusDat::m_laserFanout |
|
private |
float MonLaserStatusDat::m_laserFilter |
|
private |
float MonLaserStatusDat::m_laserPower |
|
private |
float MonLaserStatusDat::m_laserWavelength |
|
private |