#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 std::list< std::unique_ptr< 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 | ( | ) |
LMFLmrSubIOV::LMFLmrSubIOV | ( | EcalDBConnection * | c | ) |
LMFLmrSubIOV::LMFLmrSubIOV | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
|
override |
Definition at line 23 of file LMFLmrSubIOV.cc.
std::list<LMFLmrSubIOV> LMFLmrSubIOV::fetchByLMFIOV | ( | const LMFIOV & | iov | ) |
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 47 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, and submitPVValidationJobs::t.
|
noexcept |
Definition at line 145 of file LMFLmrSubIOV.cc.
References Tm::setToString(), and submitPVValidationJobs::t.
Referenced by LMFCorrCoefDat::fetchBetween().
Definition at line 157 of file LMFLmrSubIOV.cc.
References tmax, and muonTiming_cfi::tmin.
|
noexcept |
Definition at line 151 of file LMFLmrSubIOV.cc.
References Tm::setToString(), and submitPVValidationJobs::t.
|
noexcept |
Definition at line 161 of file LMFLmrSubIOV.cc.
References gather_cfg::cout, cuy::dh, MillePedeFileConverter_cfg::e, runTheMatrix::ret, Tm::setToString(), AlCaHLTBitMon_QueryRunRegistry::string, tmax, muonTiming_cfi::tmin, and to_string().
|
inline |
Definition at line 29 of file LMFLmrSubIOV.h.
References IDBObject::m_conn, IDBObject::m_env, m_lmfIOV, and LMFUnique::setByID().
|
inline |
|
overrideprivatevirtualnoexcept |
Reimplemented from LMFUnique.
Definition at line 110 of file LMFLmrSubIOV.cc.
References util.getRunInfo::day(), mps_fire::i, SiStripPI::min, seconds(), AlCaHLTBitMon_QueryRunRegistry::string, submitPVValidationJobs::t, groupFilesInBlocks::tt, and HLT_2024v12_cff::year.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 51 of file LMFLmrSubIOV.h.
References mps_fire::i, m_t, and submitPVValidationJobs::t.
Definition at line 34 of file LMFLmrSubIOV.h.
References m_t, RandomServiceHelper::t1, RandomServiceHelper::t2, and RandomServiceHelper::t3.
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 |
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 73 of file LMFLmrSubIOV.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
LMFLmrSubIOV & LMFLmrSubIOV::setLMFIOV | ( | const LMFIOV & | iov | ) |
Definition at line 25 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 40 of file LMFLmrSubIOV.cc.
References m_t, RandomServiceHelper::t1, RandomServiceHelper::t2, and RandomServiceHelper::t3.
LMFLmrSubIOV& LMFLmrSubIOV::setTimes | ( | const std::vector< Tm > & | t | ) |
LMFLmrSubIOV & LMFLmrSubIOV::setTimes | ( | Tm * | t | ) |
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 83 of file LMFLmrSubIOV.cc.
References cuy::dh, mps_fire::i, LMFUnique::m_className, IDBObject::m_conn, IDBObject::m_env, m_lmfIOV, m_t, LMFUnique::sequencePostfix(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
friend |
Definition at line 15 of file LMFLmrSubIOV.h.
|
private |
Definition at line 77 of file LMFLmrSubIOV.h.
Referenced by fetchIdSql(), getLMFIOV(), getLMFIOVID(), init(), operator==(), setLMFIOV(), and writeDBSql().
|
private |
Definition at line 78 of file LMFLmrSubIOV.h.
Referenced by fetchIdSql(), getT1(), getT2(), getT3(), getTime(), getTimes(), init(), operator==(), setTimes(), and writeDBSql().