#include <RunTPGConfigDat.h>
Definition at line 11 of file RunTPGConfigDat.h.
◆ RunTPGConfigDat()
RunTPGConfigDat::RunTPGConfigDat |
( |
| ) |
|
◆ ~RunTPGConfigDat()
RunTPGConfigDat::~RunTPGConfigDat |
( |
| ) |
|
|
override |
◆ fetchData()
Definition at line 64 of file RunTPGConfigDat.cc.
77 "SELECT cv.name, cv.logic_id, cv.id1, cv.id2, cv.id3, cv.maps_to, "
78 "d.Config_tag, d.version "
79 "FROM channelview cv JOIN run_TPGConfig_dat d "
80 "ON cv.logic_id = d.logic_id AND cv.name = cv.maps_to "
81 "WHERE d.iov_id = :iov_id");
85 std::pair<EcalLogicID, RunTPGConfigDat>
p;
87 while (rset->next()) {
101 }
catch (SQLException&
e) {
102 throw(std::runtime_error(
"RunTPGConfigDat::fetchData(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setConfigTag(), and setVersion().
◆ getConfigTag()
std::string RunTPGConfigDat::getConfigTag |
( |
| ) |
const |
|
inline |
Definition at line 20 of file RunTPGConfigDat.h.
References m_config.
Referenced by popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), and popcon::EcalTPGSpikeThresholdHandler::getNewObjects().
◆ getTable()
std::string RunTPGConfigDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getVersion()
int RunTPGConfigDat::getVersion |
( |
| ) |
const |
|
inline |
Definition at line 22 of file RunTPGConfigDat.h.
References m_version.
Referenced by popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), and popcon::EcalTPGSpikeThresholdHandler::getNewObjects().
◆ prepareWrite()
void RunTPGConfigDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IDataItem.
Definition at line 23 of file RunTPGConfigDat.cc.
29 "INSERT INTO run_TPGConfig_dat (iov_id, logic_id, "
30 "Config_tag , version ) "
31 "VALUES (:iov_id, :logic_id, "
32 ":Config_tag , :version ) ");
33 }
catch (SQLException&
e) {
34 throw(std::runtime_error(
"RunTPGConfigDat::prepareWrite(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ setConfigTag()
void RunTPGConfigDat::setConfigTag |
( |
std::string |
x | ) |
|
|
inline |
◆ setVersion()
void RunTPGConfigDat::setVersion |
( |
int |
x | ) |
|
|
inline |
◆ writeDB()
Definition at line 38 of file RunTPGConfigDat.cc.
44 throw(std::runtime_error(
"RunTPGConfigDat::writeDB: IOV not in DB"));
49 throw(std::runtime_error(
"RunTPGConfigDat::writeDB: Bad EcalLogicID"));
59 }
catch (SQLException&
e) {
60 throw(std::runtime_error(
"RunTPGConfigDat::writeDB(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e, and B2GTnPMonitor_cfi::item.
◆ EcalCondDBInterface
◆ m_config
std::string RunTPGConfigDat::m_config |
|
private |
◆ m_version
int RunTPGConfigDat::m_version |
|
private |