#include <RunH4TablePositionDat.h>
Definition at line 11 of file RunH4TablePositionDat.h.
◆ RunH4TablePositionDat()
RunH4TablePositionDat::RunH4TablePositionDat |
( |
| ) |
|
◆ ~RunH4TablePositionDat()
RunH4TablePositionDat::~RunH4TablePositionDat |
( |
| ) |
|
|
override |
◆ fetchData()
Definition at line 70 of file RunH4TablePositionDat.cc.
83 "SELECT cv.name, cv.logic_id, cv.id1, cv.id2, cv.id3, cv.maps_to, "
84 "d.table_x, d.table_y, d.number_of_spills, d.number_of_events "
85 "FROM channelview cv JOIN run_h4_table_position_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, RunH4TablePositionDat>
p;
93 while (rset->next()) {
110 }
catch (SQLException&
e) {
111 throw(std::runtime_error(
"RunH4TablePositionDat::fetchData(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setNumEvents(), setNumSpills(), setTableX(), and setTableY().
◆ getNumEvents()
int RunH4TablePositionDat::getNumEvents |
( |
| ) |
const |
|
inline |
◆ getNumSpills()
int RunH4TablePositionDat::getNumSpills |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string RunH4TablePositionDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTableX()
int RunH4TablePositionDat::getTableX |
( |
| ) |
const |
|
inline |
◆ getTableY()
int RunH4TablePositionDat::getTableY |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void RunH4TablePositionDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IDataItem.
Definition at line 25 of file RunH4TablePositionDat.cc.
31 "INSERT INTO run_h4_table_position_dat (iov_id, logic_id, "
32 "table_x, table_y, number_of_spills, number_of_events ) "
33 "VALUES (:iov_id, :logic_id, "
34 ":table_x, :table_y, :number_of_spills, :number_of_events)");
35 }
catch (SQLException&
e) {
36 throw(std::runtime_error(
"RunH4TablePositionDat::prepareWrite(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e.
◆ setNumEvents()
void RunH4TablePositionDat::setNumEvents |
( |
int |
num | ) |
|
|
inline |
◆ setNumSpills()
void RunH4TablePositionDat::setNumSpills |
( |
int |
num | ) |
|
|
inline |
◆ setTableX()
void RunH4TablePositionDat::setTableX |
( |
int |
num | ) |
|
|
inline |
◆ setTableY()
void RunH4TablePositionDat::setTableY |
( |
int |
num | ) |
|
|
inline |
◆ writeDB()
Definition at line 40 of file RunH4TablePositionDat.cc.
48 throw(std::runtime_error(
"RunH4TablePositionDat::writeDB: IOV not in DB"));
53 throw(std::runtime_error(
"RunH4TablePositionDat::writeDB: Bad EcalLogicID"));
65 }
catch (SQLException&
e) {
66 throw(std::runtime_error(
"RunH4TablePositionDat::writeDB(): " +
e.getMessage()));
References MillePedeFileConverter_cfg::e, and B2GTnPMonitor_cfi::item.
◆ EcalCondDBInterface
◆ m_numEvents
int RunH4TablePositionDat::m_numEvents |
|
private |
◆ m_numSpills
int RunH4TablePositionDat::m_numSpills |
|
private |
◆ m_table_x
int RunH4TablePositionDat::m_table_x |
|
private |
◆ m_table_y
int RunH4TablePositionDat::m_table_y |
|
private |