#include <MonLaserStatusDat.h>
Definition at line 11 of file MonLaserStatusDat.h.
◆ MonLaserStatusDat()
MonLaserStatusDat::MonLaserStatusDat |
( |
| ) |
|
◆ ~MonLaserStatusDat()
MonLaserStatusDat::~MonLaserStatusDat |
( |
| ) |
|
|
override |
◆ fetchData()
Definition at line 70 of file MonLaserStatusDat.cc.
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()));
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setLaserFanout(), setLaserFilter(), setLaserPower(), and setLaserWavelength().
◆ 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.
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()));
References MillePedeFileConverter_cfg::e.
◆ 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.
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()));
References MillePedeFileConverter_cfg::e, and B2GTnPMonitor_cfi::item.
◆ 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 |