#include <RunDCSMagnetDat.h>
Definition at line 15 of file RunDCSMagnetDat.h.
RunDCSMagnetDat::RunDCSMagnetDat |
( |
| ) |
|
Definition at line 15 of file RunDCSMagnetDat.cc.
References NULL.
oracle::occi::Environment * m_env
oracle::occi::Statement * m_writeStmt
oracle::occi::Connection * m_conn
oracle::occi::Statement * m_readStmt
RunDCSMagnetDat::~RunDCSMagnetDat |
( |
| ) |
|
Definition at line 145 of file RunDCSMagnetDat.cc.
References gather_cfg::cout, alignCSCRings::e, and AlCaHLTBitMon_ParallelJobs::p.
150 std::cout<<
"fetchLastData>>1"<<std::endl;
154 std::cout<<
"fetchLastData>>2"<<std::endl;
158 std::pair< EcalLogicID, RunDCSMagnetDat >
p;
160 std::cout<<
"fetchLastData>>3"<<std::endl;
164 std::cout<<
"fetchLastData>>4"<<std::endl;
167 std::cout<<
"fetchLastData>>5"<<std::endl;
172 throw(std::runtime_error(
"RunDCSMagnetDat::fetchData(): "+e.getMessage()));
oracle::occi::SQLException SQLException
void fillTheMap(ResultSet *, std::map< EcalLogicID, RunDCSMagnetDat > *)
oracle::occi::ResultSet ResultSet
ResultSet * getMagnetRset()
void checkConnection() const
std::string RunDCSMagnetDat::getMagnetAccount |
( |
| ) |
|
|
inline |
float RunDCSMagnetDat::getMagnetCurrent |
( |
| ) |
const |
|
inline |
ResultSet * RunDCSMagnetDat::getMagnetRset |
( |
| ) |
|
|
private |
Definition at line 73 of file RunDCSMagnetDat.cc.
References gather_cfg::cout, cuy::dh, alignCSCRings::e, NULL, and o2o::query.
78 string query=
"SELECT c.name, c.logic_id, c.id1, c.id2, c.id3, c.maps_to , v.value_number, v.change_date from "+
getMagnetAccount()+
79 ".CMSFWMAGNET_LV v, channelview c where v.dpe_name= 'CURRENT' and c.name=maps_to and c.name='EB' " ;
88 throw(std::runtime_error(
"RunDCSMagnetDat::getBarrelRset(): " + e.getMessage() +
" " +
query));
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
std::string getMagnetAccount()
oracle::occi::SQLException SQLException
oracle::occi::Statement * m_readStmt
oracle::occi::ResultSet ResultSet
std::string RunDCSMagnetDat::getTable |
( |
| ) |
|
|
inlinevirtual |
Tm RunDCSMagnetDat::getTime |
( |
void |
| ) |
const |
int RunDCSMagnetDat::nowMicroseconds |
( |
| ) |
|
|
private |
void RunDCSMagnetDat::prepareWrite |
( |
| ) |
|
throw | ( | std::runtime_error |
| ) | | |
|
privatevirtual |
void RunDCSMagnetDat::setMagnetCurrent |
( |
float |
t | ) |
|
|
inline |
void RunDCSMagnetDat::setTime |
( |
const Tm & |
start | ) |
|
float RunDCSMagnetDat::m_current |
|
private |
Tm RunDCSMagnetDat::m_time |
|
private |