#include <RunDCSLVDat.h>
Definition at line 14 of file RunDCSLVDat.h.
◆ ResultSet
◆ RunDCSLVDat()
RunDCSLVDat::RunDCSLVDat |
( |
| ) |
|
◆ ~RunDCSLVDat()
RunDCSLVDat::~RunDCSLVDat |
( |
| ) |
|
|
override |
◆ fetchData()
◆ fetchLastData()
◆ fillTheMap()
◆ getBarrelRset()
Definition at line 33 of file RunDCSLVDat.cc.
36 "SELECT cv.name, cv.logic_id, cv.id1, cv.id2, cv.id3, cv.maps_to, "
37 " d.value_number , '5' NOMINAL_VALUE , d.VALUE_TIMESTAMP "
40 ".FWWIENERMARATHONCHANNEL_LV d "
44 " h.DPID = d.DPID join channelview cv on cv.logic_id=h.logic_id WHERE cv.maps_to = cv.name and "
45 "dpe_name='MEASUREMENTSENSEVOLTAGE' ";
49 }
catch (SQLException&
e) {
50 #if defined(_GLIBCXX_USE_CXX11_ABI) && (_GLIBCXX_USE_CXX11_ABI == 0)
51 throw(std::runtime_error(
std::string(
"RunDCSLVDat::getBarrelRset(): ") +
e.getMessage() +
" " +
query));
53 throw(std::runtime_error(
std::string(
"RunDCSLVDat::getBarrelRset(): error code ") +
54 std::to_string(
e.getErrorCode()) +
" " +
query));
References MillePedeFileConverter_cfg::e, contentValuesFiles::query, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ getEBAccount()
std::string RunDCSLVDat::getEBAccount |
( |
| ) |
|
|
inline |
Definition at line 32 of file RunDCSLVDat.h.
32 {
return "CMS_ECAL_LV_PVSS_COND"; }
◆ getEEAccount()
std::string RunDCSLVDat::getEEAccount |
( |
| ) |
|
|
inline |
Definition at line 33 of file RunDCSLVDat.h.
33 {
return "CMS_ECAL_LV_PVSS_COND"; }
◆ getEndcapRset()
Definition at line 60 of file RunDCSLVDat.cc.
63 "SELECT cv.name, cv.logic_id, cv.id1, cv.id2, cv.id3, cv.maps_to, "
64 " d.VALUE_NUMBER, '5' NOMINAL_VALUE , d.VALUE_TIMESTAMP "
67 ".FWWIENERMARATHONCHANNEL_LV d "
70 ".EE_LV_MAPPING h on "
71 " h.DPID = d.DPID join channelview cv on cv.logic_id=h.logic_id WHERE cv.maps_to = cv.name and "
72 "dpe_name='MEASUREMENTSENSEVOLTAGE' ";
76 }
catch (SQLException&
e) {
77 #if defined(_GLIBCXX_USE_CXX11_ABI) && (_GLIBCXX_USE_CXX11_ABI == 0)
78 throw(std::runtime_error(
std::string(
"RunDCSLVDat::getEndcapRset(): ") +
e.getMessage() +
" " +
query));
80 throw(std::runtime_error(
std::string(
"RunDCSLVDat::getEndcapRset(): error code ") +
81 std::to_string(
e.getErrorCode()) +
" " +
query));
References MillePedeFileConverter_cfg::e, contentValuesFiles::query, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ getLV()
float RunDCSLVDat::getLV |
( |
| ) |
const |
|
inline |
◆ getLVNominal()
float RunDCSLVDat::getLVNominal |
( |
| ) |
const |
|
inline |
◆ getStatus()
int RunDCSLVDat::getStatus |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string RunDCSLVDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTimeStatus()
int RunDCSLVDat::getTimeStatus |
( |
| ) |
|
|
inline |
◆ nowMicroseconds()
int RunDCSLVDat::nowMicroseconds |
( |
| ) |
|
|
private |
◆ prepareWrite()
void RunDCSLVDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
◆ setLV()
void RunDCSLVDat::setLV |
( |
float |
t | ) |
|
|
inline |
◆ setLVNominal()
void RunDCSLVDat::setLVNominal |
( |
float |
t | ) |
|
|
inline |
◆ setStatus()
void RunDCSLVDat::setStatus |
( |
int |
t | ) |
|
|
inline |
◆ setStatusForBarrel()
void RunDCSLVDat::setStatusForBarrel |
( |
RunDCSLVDat & |
dat, |
|
|
const Tm & |
sinceTm |
|
) |
| |
|
private |
◆ setStatusForEndcaps()
void RunDCSLVDat::setStatusForEndcaps |
( |
RunDCSLVDat & |
dat, |
|
|
const Tm & |
sinceTm |
|
) |
| |
|
private |
◆ setTimeStatus()
void RunDCSLVDat::setTimeStatus |
( |
int |
t | ) |
|
|
inline |
◆ writeDB()
◆ EcalCondDBInterface
◆ LVNOTNOMINAL
const int RunDCSLVDat::LVNOTNOMINAL = 1 |
|
static |
◆ LVOFF
const int RunDCSLVDat::LVOFF = 2 |
|
static |
◆ m_lv
◆ m_lvnom
float RunDCSLVDat::m_lvnom |
|
private |
◆ m_status
int RunDCSLVDat::m_status |
|
private |
◆ m_tstatus
int RunDCSLVDat::m_tstatus |
|
private |
◆ maxDifference
const int RunDCSLVDat::maxDifference = 30 * 60 * 1000000 |
|
static |
◆ maxLVDifferenceEB
const int RunDCSLVDat::maxLVDifferenceEB = 1000 |
|
static |
◆ maxLVDifferenceEE
const int RunDCSLVDat::maxLVDifferenceEE = 1000 |
|
static |
◆ minLV
const int RunDCSLVDat::minLV = 2000 |
|
static |