#include <MonLaserStatusDat.h>
Definition at line 11 of file MonLaserStatusDat.h.
◆ MonLaserStatusDat()
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::~MonLaserStatusDat |
( |
| ) |
|
|
override |
◆ fetchData()
Definition at line 70 of file MonLaserStatusDat.cc.
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setLaserFanout(), setLaserFilter(), setLaserPower(), and setLaserWavelength().
83 "SELECT cv.name, cv.logic_id, cv.id1, cv.id2, cv.id3, cv.maps_to, " 84 "d.laser_power, d.laser_filter, d.laser_wavelength, d.laser_fanout " 85 "FROM channelview cv JOIN mon_laser_status_dat d " 86 "ON cv.logic_id = d.logic_id AND cv.name = cv.maps_to " 87 "WHERE d.iov_id = :iov_id");
91 std::pair<EcalLogicID, MonLaserStatusDat>
p;
93 while (rset->next()) {
109 }
catch (SQLException&
e) {
110 throw(std::runtime_error(
"MonLaserStatusDat::fetchData(): " +
e.getMessage()));
void setLaserFanout(float p)
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
void setLaserFilter(float p)
void checkConnection() const noexcept(false)
void setLaserPower(float p)
void setLaserWavelength(float p)
int fetchID() noexcept(false) override
oracle::occi::Statement * m_readStmt
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
◆ getLaserFanout()
float MonLaserStatusDat::getLaserFanout |
( |
| ) |
const |
|
inline |
◆ getLaserFilter()
float MonLaserStatusDat::getLaserFilter |
( |
| ) |
const |
|
inline |
◆ getLaserPower()
float MonLaserStatusDat::getLaserPower |
( |
| ) |
const |
|
inline |
◆ getLaserWavelength()
float MonLaserStatusDat::getLaserWavelength |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string MonLaserStatusDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ prepareWrite()
void MonLaserStatusDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IDataItem.
Definition at line 24 of file MonLaserStatusDat.cc.
References MillePedeFileConverter_cfg::e.
30 "INSERT INTO mon_laser_status_dat (iov_id, logic_id, " 31 "laser_power, laser_filter, laser_wavelength, laser_fanout) " 32 "VALUES (:iov_id, :logic_id, " 34 }
catch (SQLException&
e) {
35 throw(std::runtime_error(
"MonLaserStatusDat::prepareWrite(): " +
e.getMessage()));
oracle::occi::Statement * m_writeStmt
oracle::occi::Connection * m_conn
void checkConnection() const noexcept(false)
◆ setLaserFanout()
void MonLaserStatusDat::setLaserFanout |
( |
float |
p | ) |
|
|
inline |
◆ setLaserFilter()
void MonLaserStatusDat::setLaserFilter |
( |
float |
p | ) |
|
|
inline |
◆ setLaserPower()
void MonLaserStatusDat::setLaserPower |
( |
float |
p | ) |
|
|
inline |
◆ setLaserWavelength()
void MonLaserStatusDat::setLaserWavelength |
( |
float |
p | ) |
|
|
inline |
◆ writeArrayDB()
◆ writeDB()
Definition at line 39 of file MonLaserStatusDat.cc.
References MillePedeFileConverter_cfg::e, and B2GTnPMonitor_cfi::item.
47 throw(std::runtime_error(
"MonLaserStatusDat::writeDB: IOV not in DB"));
52 throw(std::runtime_error(
"MonLaserStatusDat::writeDB: Bad EcalLogicID"));
65 }
catch (SQLException&
e) {
66 throw(std::runtime_error(
"MonLaserStatusDat::writeDB(): " +
e.getMessage()));
oracle::occi::Statement * m_writeStmt
void checkConnection() const noexcept(false)
void checkPrepare() noexcept(false)
int fetchID() noexcept(false) override
◆ EcalCondDBInterface
◆ m_laserFanout
float MonLaserStatusDat::m_laserFanout |
|
private |
◆ m_laserFilter
float MonLaserStatusDat::m_laserFilter |
|
private |
◆ m_laserPower
float MonLaserStatusDat::m_laserPower |
|
private |
◆ m_laserWavelength
float MonLaserStatusDat::m_laserWavelength |
|
private |