#include <LMFLmrSubIOV.h>
Public Member Functions | |
std::list< LMFLmrSubIOV > | fetchByLMFIOV (const LMFIOV &iov) |
std::list< int > | getIOVIDsLaterThan (const Tm &t) throw (std::runtime_error) |
std::list< int > | getIOVIDsLaterThan (const Tm &tmin, const Tm &tmax) throw (std::runtime_error) |
std::list< int > | getIOVIDsLaterThan (const Tm &t, int howMany) throw (std::runtime_error) |
std::list< int > | getIOVIDsLaterThan (const Tm &t, const Tm &tmax, int howMany) throw (std::runtime_error) |
LMFIOV | getLMFIOV () const |
int | getLMFIOVID () const |
Tm | getT1 () |
Tm | getT2 () |
Tm | getT3 () |
Tm | getTime (int i) |
void | getTimes (Tm *t1, Tm *t2, Tm *t3) const |
std::vector< Tm > | getTimes () const |
void | getTimes (Tm *t) const |
LMFLmrSubIOV () | |
LMFLmrSubIOV (EcalDBConnection *c) | |
LMFLmrSubIOV (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
bool | operator!= (const LMFLmrSubIOV &m) const |
bool | operator== (const LMFLmrSubIOV &m) const |
LMFLmrSubIOV & | setLMFIOV (const LMFIOV &iov) |
LMFLmrSubIOV & | setLMFIOV (int i) |
LMFLmrSubIOV & | setTimes (const Tm &t1, const Tm &t2, const Tm &t3) |
LMFLmrSubIOV & | setTimes (const std::vector< Tm > &t) |
LMFLmrSubIOV & | setTimes (Tm *t) |
~LMFLmrSubIOV () | |
Public Member Functions inherited from LMFUnique | |
void | attach (std::string name, LMFUnique *u) |
void | debug () |
virtual void | dump () const |
virtual void | dump (int n) const |
virtual bool | exists () |
virtual boost::ptr_list < LMFUnique > | fetchAll () const throw (std::runtime_error) |
int | fetchID () throw (std::runtime_error) |
std::string | getClassName () |
std::string | getClassName () const |
int | getID () const |
int | getInt (std::string fieldname) const |
std::string | getString (std::string fieldname) const |
virtual bool | isValid () const |
virtual bool | isValid () |
LMFUnique () | |
LMFUnique (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
LMFUnique (EcalDBConnection *c) | |
void | nodebug () |
virtual bool | operator< (const LMFUnique &r) |
virtual bool | operator<= (const LMFUnique &r) |
std::string | sequencePostfix (const Tm &t) |
void | setByID (int id) throw (std::runtime_error) |
LMFUnique & | setInt (std::string key, int value) |
LMFUnique & | setString (std::string key, std::string value) |
void | startProfiling () |
void | stopProfiling () |
virtual | ~LMFUnique () |
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 () |
Private Member Functions | |
std::string | fetchIdSql (Statement *stmt) |
void | getParameters (ResultSet *rset) |
void | init () |
std::string | setByIDSql (Statement *stmt, int id) |
std::string | writeDBSql (Statement *stmt) |
Private Attributes | |
int | m_lmfIOV |
Tm | m_t [3] |
Friends | |
class | EcalCondDBInterface |
Additional Inherited Members | |
Public Types inherited from LMFUnique | |
typedef oracle::occi::ResultSet | ResultSet |
typedef oracle::occi::Statement | Statement |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS =1024 |
Protected Member Functions inherited from LMFUnique | |
virtual void | setClassName (std::string s) |
virtual int | writeDB () throw (std::runtime_error) |
virtual int | writeForeignKeys () throw (std::runtime_error) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const throw (std::runtime_error) |
Protected Attributes inherited from LMFUnique | |
bool | _profiling |
std::string | m_className |
char | m_debug |
std::map< std::string, LMFUnique * > | m_foreignKeys |
std::map< std::string, int > | m_intFields |
std::map< std::string, std::string > | m_stringFields |
Protected Attributes inherited from IUniqueDBObject | |
int | m_ID |
Protected Attributes inherited from IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
Definition at line 13 of file LMFLmrSubIOV.h.
LMFLmrSubIOV::LMFLmrSubIOV | ( | ) |
Definition at line 12 of file LMFLmrSubIOV.cc.
References init().
LMFLmrSubIOV::LMFLmrSubIOV | ( | EcalDBConnection * | c | ) |
LMFLmrSubIOV::LMFLmrSubIOV | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
LMFLmrSubIOV::~LMFLmrSubIOV | ( | ) |
Definition at line 26 of file LMFLmrSubIOV.cc.
std::list<LMFLmrSubIOV> LMFLmrSubIOV::fetchByLMFIOV | ( | const LMFIOV & | iov | ) |
|
privatevirtual |
Reimplemented from LMFUnique.
Definition at line 52 of file LMFLmrSubIOV.cc.
References gather_cfg::cout, cuy::dh, i, LMFUnique::m_className, IDBObject::m_conn, LMFUnique::m_debug, IDBObject::m_env, m_lmfIOV, m_t, AlCaHLTBitMon_QueryRunRegistry::string, edmStreamStallGrapher::t, and DateHandler::tmToDate().
Definition at line 120 of file LMFLmrSubIOV.cc.
References Tm::setToString(), and edmStreamStallGrapher::t.
Referenced by LMFCorrCoefDat::fetchBetween().
std::list< int > LMFLmrSubIOV::getIOVIDsLaterThan | ( | const Tm & | tmin, |
const Tm & | tmax | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 134 of file LMFLmrSubIOV.cc.
References tmax.
std::list< int > LMFLmrSubIOV::getIOVIDsLaterThan | ( | const Tm & | t, |
int | howMany | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 127 of file LMFLmrSubIOV.cc.
References Tm::setToString(), and edmStreamStallGrapher::t.
std::list< int > LMFLmrSubIOV::getIOVIDsLaterThan | ( | const Tm & | t, |
const Tm & | tmax, | ||
int | howMany | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 140 of file LMFLmrSubIOV.cc.
References gather_cfg::cout, cuy::dh, alignCSCRings::e, NULL, run_regression::ret, Tm::setToString(), AlCaHLTBitMon_QueryRunRegistry::string, tmax, and DateHandler::tmToDate().
|
inline |
Definition at line 32 of file LMFLmrSubIOV.h.
References o2o::iov, IDBObject::m_conn, IDBObject::m_env, m_lmfIOV, and LMFUnique::setByID().
|
inline |
Definition at line 29 of file LMFLmrSubIOV.h.
References m_lmfIOV.
|
privatevirtual |
Reimplemented from LMFUnique.
Definition at line 112 of file LMFLmrSubIOV.cc.
References i, m_lmfIOV, m_t, Tm::setToString(), and edmStreamStallGrapher::t.
|
inline |
Definition at line 61 of file LMFLmrSubIOV.h.
References m_t.
|
inline |
Definition at line 64 of file LMFLmrSubIOV.h.
References m_t.
|
inline |
Definition at line 67 of file LMFLmrSubIOV.h.
References m_t.
|
inline |
Definition at line 37 of file LMFLmrSubIOV.h.
References m_t.
Referenced by LMFCorrCoefDat::getTimes().
|
inline |
|
inline |
|
private |
Definition at line 3 of file LMFLmrSubIOV.cc.
References LMFUnique::m_className, m_lmfIOV, and m_t.
Referenced by LMFLmrSubIOV().
|
inline |
|
inline |
Definition at line 82 of file LMFLmrSubIOV.h.
|
privatevirtual |
Reimplemented from LMFUnique.
Definition at line 78 of file LMFLmrSubIOV.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
LMFLmrSubIOV & LMFLmrSubIOV::setLMFIOV | ( | const LMFIOV & | iov | ) |
Definition at line 29 of file LMFLmrSubIOV.cc.
References gather_cfg::cout, LMFUnique::getID(), LMFUnique::m_debug, and m_lmfIOV.
LMFLmrSubIOV& LMFLmrSubIOV::setLMFIOV | ( | int | i | ) |
LMFLmrSubIOV & LMFLmrSubIOV::setTimes | ( | const Tm & | t1, |
const Tm & | t2, | ||
const Tm & | t3 | ||
) |
Definition at line 45 of file LMFLmrSubIOV.cc.
LMFLmrSubIOV& LMFLmrSubIOV::setTimes | ( | const std::vector< Tm > & | t | ) |
LMFLmrSubIOV & LMFLmrSubIOV::setTimes | ( | Tm * | t | ) |
|
privatevirtual |
Reimplemented from LMFUnique.
Definition at line 87 of file LMFLmrSubIOV.cc.
References cuy::dh, DateHandler::getPlusInfTm(), i, LMFUnique::m_className, IDBObject::m_conn, IDBObject::m_env, m_lmfIOV, m_t, LMFUnique::sequencePostfix(), AlCaHLTBitMon_QueryRunRegistry::string, and DateHandler::tmToDate().
|
friend |
Definition at line 15 of file LMFLmrSubIOV.h.
|
private |
Definition at line 95 of file LMFLmrSubIOV.h.
Referenced by fetchIdSql(), getLMFIOV(), getLMFIOVID(), getParameters(), init(), operator==(), setLMFIOV(), and writeDBSql().
|
private |
Definition at line 96 of file LMFLmrSubIOV.h.
Referenced by fetchIdSql(), getParameters(), getT1(), getT2(), getT3(), getTime(), getTimes(), init(), operator==(), setTimes(), and writeDBSql().