#include <LMFLmrSubIOV.h>
Public Member Functions | |
std::list< LMFLmrSubIOV > | fetchByLMFIOV (const LMFIOV &iov) |
std::list< int > | getIOVIDsLaterThan (const Tm &t) noexcept(false) |
std::list< int > | getIOVIDsLaterThan (const Tm &tmin, const Tm &tmax) noexcept(false) |
std::list< int > | getIOVIDsLaterThan (const Tm &t, int howMany) noexcept(false) |
std::list< int > | getIOVIDsLaterThan (const Tm &t, const Tm &tmax, int howMany) noexcept(false) |
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 () override | |
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 noexcept(false) |
int | fetchID () noexcept(false) override |
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) noexcept(false) override |
LMFUnique & | setInt (std::string key, int value) |
LMFUnique & | setString (std::string key, std::string value) |
void | startProfiling () |
void | stopProfiling () |
~LMFUnique () override | |
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) override |
void | getParameters (ResultSet *rset) override |
void | init () |
std::string | setByIDSql (Statement *stmt, int id) override |
std::string | writeDBSql (Statement *stmt) override |
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 () noexcept(false) |
virtual int | writeForeignKeys () noexcept(false) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const noexcept(false) |
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 15 of file LMFLmrSubIOV.cc.
References init().
LMFLmrSubIOV::LMFLmrSubIOV | ( | EcalDBConnection * | c | ) |
LMFLmrSubIOV::LMFLmrSubIOV | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
|
override |
Definition at line 29 of file LMFLmrSubIOV.cc.
std::list<LMFLmrSubIOV> LMFLmrSubIOV::fetchByLMFIOV | ( | const LMFIOV & | iov | ) |
Referenced by operator!=().
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 55 of file LMFLmrSubIOV.cc.
References gather_cfg::cout, cuy::dh, mps_fire::i, LMFUnique::m_className, IDBObject::m_conn, LMFUnique::m_debug, IDBObject::m_env, m_lmfIOV, m_t, AlCaHLTBitMon_QueryRunRegistry::string, lumiQTWidget::t, and DateHandler::tmToDate().
Definition at line 147 of file LMFLmrSubIOV.cc.
References Tm::setToString(), and lumiQTWidget::t.
Referenced by LMFCorrCoefDat::fetchBetween(), getIOVIDsLaterThan(), and getT3().
Definition at line 161 of file LMFLmrSubIOV.cc.
References getIOVIDsLaterThan(), and tmax.
Definition at line 154 of file LMFLmrSubIOV.cc.
References getIOVIDsLaterThan(), Tm::setToString(), and lumiQTWidget::t.
|
noexcept |
Definition at line 167 of file LMFLmrSubIOV.cc.
References gather_cfg::cout, cuy::dh, MillePedeFileConverter_cfg::e, LMFUnique::m_className, IDBObject::m_conn, LMFUnique::m_debug, IDBObject::m_env, Tm::setToString(), AlCaHLTBitMon_QueryRunRegistry::string, tmax, and DateHandler::tmToDate().
|
inline |
Definition at line 32 of file LMFLmrSubIOV.h.
References IDBObject::m_conn, IDBObject::m_env, m_lmfIOV, and LMFUnique::setByID().
|
inline |
Definition at line 29 of file LMFLmrSubIOV.h.
References m_lmfIOV.
|
overrideprivatevirtualnoexcept |
Reimplemented from LMFUnique.
Definition at line 115 of file LMFLmrSubIOV.cc.
References util.getRunInfo::day(), mps_fire::i, m_lmfIOV, m_t, min(), seconds(), Tm::setToString(), AlCaHLTBitMon_QueryRunRegistry::string, lumiQTWidget::t, groupFilesInBlocks::tt, and create_public_lumi_plots::year.
|
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 getIOVIDsLaterThan(), m_t, noexcept, lumiQTWidget::t, and tmax.
|
inline |
Definition at line 37 of file LMFLmrSubIOV.h.
References m_t.
Referenced by LMFCorrCoefDat::getTimes().
|
inline |
|
inline |
|
private |
Definition at line 6 of file LMFLmrSubIOV.cc.
References LMFUnique::m_className, m_lmfIOV, and m_t.
Referenced by LMFLmrSubIOV().
|
inline |
|
inline |
Definition at line 77 of file LMFLmrSubIOV.h.
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 81 of file LMFLmrSubIOV.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
LMFLmrSubIOV & LMFLmrSubIOV::setLMFIOV | ( | const LMFIOV & | iov | ) |
Definition at line 32 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 48 of file LMFLmrSubIOV.cc.
LMFLmrSubIOV& LMFLmrSubIOV::setTimes | ( | const std::vector< Tm > & | t | ) |
LMFLmrSubIOV & LMFLmrSubIOV::setTimes | ( | Tm * | t | ) |
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 90 of file LMFLmrSubIOV.cc.
References cuy::dh, DateHandler::getPlusInfTm(), mps_fire::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 90 of file LMFLmrSubIOV.h.
Referenced by fetchIdSql(), getLMFIOV(), getLMFIOVID(), getParameters(), init(), operator==(), setLMFIOV(), and writeDBSql().
|
private |
Definition at line 91 of file LMFLmrSubIOV.h.
Referenced by fetchIdSql(), getParameters(), getT1(), getT2(), getT3(), getTime(), getTimes(), init(), operator==(), setTimes(), and writeDBSql().