#include <RunPTMTempDat.h>
Definition at line 11 of file RunPTMTempDat.h.
◆ RunPTMTempDat()
RunPTMTempDat::RunPTMTempDat |
( |
| ) |
|
◆ ~RunPTMTempDat()
RunPTMTempDat::~RunPTMTempDat |
( |
| ) |
|
|
override |
◆ fetchData()
Definition at line 62 of file RunPTMTempDat.cc.
75 "SELECT cv.name, cv.logic_id, cv.id1, cv.id2, cv.id3, cv.maps_to, "
77 "FROM channelview cv JOIN RUN_TEMPERATURE_PTM_DAT d "
78 "ON cv.logic_id = d.logic_id AND cv.name = cv.maps_to "
79 "WHERE d.iov_id = :iov_id");
83 std::pair<EcalLogicID, RunPTMTempDat>
p;
85 while (rset->next()) {
99 }
catch (SQLException&
e) {
100 throw(std::runtime_error(
"RunPTMTempDat::fetchData(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, and setTemperature().
◆ getTable()
std::string RunPTMTempDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTemperature()
float RunPTMTempDat::getTemperature |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void RunPTMTempDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IDataItem.
Definition at line 22 of file RunPTMTempDat.cc.
28 "INSERT INTO run_temperature_ptm_dat (iov_id, logic_id, "
30 "VALUES (:iov_id, :logic_id, "
32 }
catch (SQLException&
e) {
33 throw(std::runtime_error(
"RunPTMTempDat::prepareWrite(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ setTemperature()
void RunPTMTempDat::setTemperature |
( |
float |
t | ) |
|
|
inline |
◆ writeDB()
Definition at line 37 of file RunPTMTempDat.cc.
43 throw(std::runtime_error(
"RunPTMTempDat::writeDB: IOV not in DB"));
48 throw(std::runtime_error(
"RunPTMTempDat::writeDB: Bad EcalLogicID"));
57 }
catch (SQLException&
e) {
58 throw(std::runtime_error(
"RunPTMTempDat::writeDB(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e, and B2GTnPMonitor_cfi::item.
◆ EcalCondDBInterface
◆ m_temperature
float RunPTMTempDat::m_temperature |
|
private |