#include <RunDCSHVDat.h>
Public Types | |
typedef oracle::occi::ResultSet | ResultSet |
Public Member Functions | |
std::string | getEBAccount () |
std::string | getEEAccount () |
float | getHV () const |
float | getHVNominal () const |
int | getStatus () const |
std::string | getTable () |
int | getTimeStatus () |
RunDCSHVDat () | |
void | setHV (float t) |
void | setHVNominal (float t) |
void | setStatus (int t) |
void | setTimeStatus (int t) |
~RunDCSHVDat () | |
Public Member Functions inherited from IDataItem | |
IDataItem () | |
Public Member Functions inherited from IDBObject | |
oracle::occi::Connection * | getConn () const |
oracle::occi::Environment * | getEnv () const |
void | setConnection (oracle::occi::Environment *env, oracle::occi::Connection *conn) |
virtual | ~IDBObject () |
Static Public Attributes | |
static const int | HVNOTNOMINAL = 1 |
static const int | HVOFF = 2 |
static const int | maxDifference = 30*60*1000000 |
static const int | maxHVDifferenceEB = 300 |
static const int | maxHVDifferenceEE = 5000 |
static const int | minHV = 10000 |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS =1024 |
Private Member Functions | |
void | fetchData (std::map< EcalLogicID, RunDCSHVDat > *fillMap, RunIOV *iov) throw (std::runtime_error) |
void | fetchHistoricalData (std::list< std::pair< Tm, std::map< EcalLogicID, RunDCSHVDat > > > *fillMap, const Tm &timeStart) throw (std::runtime_error) |
void | fetchLastData (std::map< EcalLogicID, RunDCSHVDat > *fillMap) throw (std::runtime_error) |
void | fillTheMap (ResultSet *, std::map< EcalLogicID, RunDCSHVDat > *) |
void | fillTheMapByTime (ResultSet *rset, std::list< DataReducer< RunDCSHVDat >::MyData< RunDCSHVDat > > *my_data_list) |
ResultSet * | getBarrelRset () |
ResultSet * | getBarrelRset (const Tm &timeStart) |
ResultSet * | getEndcapAnodeRset () |
ResultSet * | getEndcapAnodeRset (const Tm ×tart) |
ResultSet * | getEndcapDynodeRset () |
ResultSet * | getEndcapDynodeRset (const Tm ×tart) |
int | nowMicroseconds () |
void | prepareWrite () throw (std::runtime_error) |
void | setStatusForBarrel (RunDCSHVDat &, const Tm &) |
void | setStatusForEndcaps (RunDCSHVDat &, const Tm &) |
void | writeDB (const EcalLogicID *ecid, const RunDCSHVDat *item, RunIOV *iov) throw (std::runtime_error) |
Private Attributes | |
float | m_hv |
float | m_hvnom |
int | m_status |
int | m_tstatus |
Friends | |
class | EcalCondDBInterface |
Additional Inherited Members | |
Protected Member Functions inherited from IDataItem | |
void | checkPrepare () throw (std::runtime_error) |
void | createReadStatement () throw (std::runtime_error) |
void | setPrefetchRowCount (int ncount) throw (std::runtime_error) |
void | terminateReadStatement () throw (std::runtime_error) |
void | terminateWriteStatement () throw (std::runtime_error) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const throw (std::runtime_error) |
Protected Attributes inherited from IDataItem | |
oracle::occi::Statement * | m_readStmt |
oracle::occi::Statement * | m_writeStmt |
Protected Attributes inherited from IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
Definition at line 15 of file RunDCSHVDat.h.
typedef oracle::occi::ResultSet RunDCSHVDat::ResultSet |
Definition at line 17 of file RunDCSHVDat.h.
RunDCSHVDat::RunDCSHVDat | ( | ) |
Definition at line 15 of file RunDCSHVDat.cc.
RunDCSHVDat::~RunDCSHVDat | ( | ) |
Definition at line 30 of file RunDCSHVDat.cc.
|
private |
Definition at line 52 of file RunDCSHVDat.cc.
|
private |
Definition at line 381 of file RunDCSHVDat.cc.
|
private |
Definition at line 355 of file RunDCSHVDat.cc.
|
private |
Definition at line 204 of file RunDCSHVDat.cc.
|
private |
Definition at line 244 of file RunDCSHVDat.cc.
|
private |
Definition at line 153 of file RunDCSHVDat.cc.
Definition at line 61 of file RunDCSHVDat.cc.
|
inline |
Definition at line 33 of file RunDCSHVDat.h.
|
inline |
Definition at line 34 of file RunDCSHVDat.h.
|
private |
Definition at line 170 of file RunDCSHVDat.cc.
Definition at line 85 of file RunDCSHVDat.cc.
|
private |
Definition at line 187 of file RunDCSHVDat.cc.
Definition at line 109 of file RunDCSHVDat.cc.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
private |
Definition at line 305 of file RunDCSHVDat.cc.
|
privatevirtual |
Implements IDataItem.
Definition at line 36 of file RunDCSHVDat.cc.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 315 of file RunDCSHVDat.cc.
|
private |
Definition at line 337 of file RunDCSHVDat.cc.
|
inline |
|
private |
Definition at line 45 of file RunDCSHVDat.cc.
|
friend |
Definition at line 27 of file RunDCSHVDat.h.
|
static |
Definition at line 24 of file RunDCSHVDat.h.
|
static |
Definition at line 25 of file RunDCSHVDat.h.
|
private |
Definition at line 77 of file RunDCSHVDat.h.
|
private |
Definition at line 78 of file RunDCSHVDat.h.
Referenced by getHVNominal(), and setHVNominal().
|
private |
Definition at line 79 of file RunDCSHVDat.h.
Referenced by getStatus(), and setStatus().
|
private |
Definition at line 80 of file RunDCSHVDat.h.
Referenced by getTimeStatus(), and setTimeStatus().
|
static |
Definition at line 19 of file RunDCSHVDat.h.
|
static |
Definition at line 20 of file RunDCSHVDat.h.
|
static |
Definition at line 21 of file RunDCSHVDat.h.
|
static |
Definition at line 22 of file RunDCSHVDat.h.