#include <RunFEConfigDat.h>
Definition at line 12 of file RunFEConfigDat.h.
◆ RunFEConfigDat()
RunFEConfigDat::RunFEConfigDat |
( |
| ) |
|
◆ ~RunFEConfigDat()
RunFEConfigDat::~RunFEConfigDat |
( |
| ) |
|
|
override |
◆ fetchData()
Definition at line 62 of file RunFEConfigDat.cc.
76 Statement* stmt =
m_conn->createStatement();
78 "SELECT cv.name, cv.logic_id, cv.id1, cv.id2, cv.id3, cv.maps_to, "
80 "FROM channelview cv JOIN run_FEConfig_dat d "
81 "ON cv.logic_id = d.logic_id AND cv.name = cv.maps_to "
82 "WHERE d.iov_id = :iov_id");
83 stmt->setInt(1, iovID);
86 ResultSet* rset = stmt->executeQuery();
88 std::pair<EcalLogicID, RunFEConfigDat>
p;
90 while (rset->next()) {
104 m_conn->terminateStatement(stmt);
105 }
catch (SQLException&
e) {
106 throw(std::runtime_error(
"RunFEConfigDat::fetchData(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, and setConfigId().
◆ getConfigId()
int RunFEConfigDat::getConfigId |
( |
| ) |
const |
|
inline |
◆ getDelays()
◆ getTable()
std::string RunFEConfigDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ prepareWrite()
void RunFEConfigDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IDataItem.
Definition at line 22 of file RunFEConfigDat.cc.
28 "INSERT INTO run_FEConfig_dat (iov_id, logic_id, "
30 "VALUES (:iov_id, :logic_id, "
32 }
catch (SQLException&
e) {
33 throw(std::runtime_error(
"RunFEConfigDat::prepareWrite(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ setConfigId()
void RunFEConfigDat::setConfigId |
( |
int |
x | ) |
|
|
inline |
◆ writeDB()
Definition at line 37 of file RunFEConfigDat.cc.
43 throw(std::runtime_error(
"RunFEConfigDat::writeDB: IOV not in DB"));
48 throw(std::runtime_error(
"RunFEConfigDat::writeDB: Bad EcalLogicID"));
57 }
catch (SQLException&
e) {
58 throw(std::runtime_error(
"RunFEConfigDat::writeDB(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e, and B2GTnPMonitor_cfi::item.
◆ EcalCondDBInterface
◆ m_config
int RunFEConfigDat::m_config |
|
private |