#include <RunDCSMagnetDat.h>
Definition at line 15 of file RunDCSMagnetDat.h.
◆ ResultSet
◆ RunDCSMagnetDat()
RunDCSMagnetDat::RunDCSMagnetDat |
( |
| ) |
|
Definition at line 15 of file RunDCSMagnetDat.cc.
oracle::occi::Environment * m_env
oracle::occi::Statement * m_writeStmt
oracle::occi::Connection * m_conn
oracle::occi::Statement * m_readStmt
◆ ~RunDCSMagnetDat()
RunDCSMagnetDat::~RunDCSMagnetDat |
( |
| ) |
|
|
override |
◆ fetchData()
Definition at line 35 of file RunDCSMagnetDat.cc.
References gather_cfg::cout.
36 std::cout <<
"going to call fetchLastData" << std::endl;
38 std::cout <<
"returned from fetchLastData" << std::endl;
void fetchLastData(std::map< EcalLogicID, RunDCSMagnetDat > *fillMap) noexcept(false)
◆ fetchLastData()
◆ fillTheMap()
◆ getMagnetAccount()
std::string RunDCSMagnetDat::getMagnetAccount |
( |
| ) |
|
|
inline |
◆ getMagnetCurrent()
float RunDCSMagnetDat::getMagnetCurrent |
( |
| ) |
const |
|
inline |
◆ getMagnetRset()
ResultSet * RunDCSMagnetDat::getMagnetRset |
( |
| ) |
|
|
private |
Definition at line 41 of file RunDCSMagnetDat.cc.
References gather_cfg::cout, cuy::dh, MillePedeFileConverter_cfg::e, contentValuesFiles::query, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
45 string query =
"SELECT c.name, c.logic_id, c.id1, c.id2, c.id3, c.maps_to , v.value_number, v.change_date from " +
47 ".CMSFWMAGNET_LV v, channelview c where v.dpe_name= 'CURRENT' and c.name=maps_to and c.name='EB' ";
53 }
catch (SQLException&
e) {
54 #if defined(_GLIBCXX_USE_CXX11_ABI) && (_GLIBCXX_USE_CXX11_ABI == 0) 55 throw(std::runtime_error(
std::string(
"RunDCSMagnetDat::getBarrelRset(): ") +
e.getMessage() +
" " +
query));
57 throw(std::runtime_error(
std::string(
"RunDCSMagnetDat::getBarrelRset(): error code ") +
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
std::string getMagnetAccount()
static std::string to_string(const XMLCh *ch)
oracle::occi::ResultSet ResultSet
oracle::occi::Statement * m_readStmt
◆ getTable()
std::string RunDCSMagnetDat::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTime()
Tm RunDCSMagnetDat::getTime |
( |
void |
| ) |
const |
◆ nowMicroseconds()
int RunDCSMagnetDat::nowMicroseconds |
( |
| ) |
|
|
private |
◆ prepareWrite()
void RunDCSMagnetDat::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
◆ setMagnetCurrent()
void RunDCSMagnetDat::setMagnetCurrent |
( |
float |
t | ) |
|
|
inline |
◆ setTime()
void RunDCSMagnetDat::setTime |
( |
const Tm & |
start | ) |
|
◆ writeDB()
◆ EcalCondDBInterface
◆ m_current
float RunDCSMagnetDat::m_current |
|
private |
◆ m_time
Tm RunDCSMagnetDat::m_time |
|
private |