#include <LMFSeqDat.h>
Public Member Functions | |
std::map< int, LMFSeqDat > | fetchByRunIOV (RunIOV &iov) |
std::map< int, LMFSeqDat > | fetchByRunIOV (RunIOV &iov, const LMFColor &col) |
LMFSeqDat | fetchByRunIOV (RunIOV &iov, int seq_num) |
std::map< int, LMFSeqDat > | fetchByRunNumber (int runno) |
LMFSeqDat | fetchByRunNumber (int runno, const Tm &taken_at) |
LMFSeqDat | fetchByRunNumber (int runno, int seq_num) |
LMFSeqDat | fetchByRunNumber (int runno, std::string taken_at) |
LMFSeqDat | fetchLast () |
RunIOV | fetchLastRun () |
RunIOV | getRunIOV () const |
int | getSequenceNumber () const |
Tm | getSequenceStart () const |
Tm | getSequenceStop () const |
int | getVmax () const |
int | getVmin () const |
bool | isValid () const override |
LMFSeqDat () | |
LMFSeqDat (EcalDBConnection *c) | |
LMFSeqDat (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
bool | operator!= (const LMFSeqDat &m) const |
bool | operator== (const LMFSeqDat &m) const |
LMFSeqDat & | setRunIOV (const RunIOV &iov) |
LMFSeqDat & | setSequenceNumber (int n) |
LMFSeqDat & | setSequenceStart (const Tm &start) |
LMFSeqDat & | setSequenceStop (const Tm &end) |
LMFSeqDat & | setVersions (int vmin, int vmax) |
~LMFSeqDat () 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 () |
LMFUnique () | |
LMFUnique (EcalDBConnection *c) | |
LMFUnique (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
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::map< int, LMFSeqDat > | fetchByRunIOV (const std::vector< std::string > &par, std::string sql, std::string method) noexcept(false) |
std::map< int, LMFSeqDat > | fetchByRunIOV (int par, std::string sql, std::string method) noexcept(false) |
std::map< int, LMFSeqDat > | fetchByRunIOV (std::string sql, std::string method) noexcept(false) |
std::string | fetchIdSql (Statement *stmt) override |
void | fetchParentIDs () noexcept(false) override |
void | getParameters (ResultSet *rset) override |
std::string | setByIDSql (Statement *stmt, int id) override |
void | setVmax (int v) |
void | setVmin (int v) |
std::string | writeDBSql (Statement *stmt) override |
Private Attributes | |
RunIOV | m_runIOV |
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 const int | 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 14 of file LMFSeqDat.h.
LMFSeqDat::LMFSeqDat | ( | ) |
Definition at line 10 of file LMFSeqDat.cc.
References LMFUnique::m_intFields, m_runIOV, LMFUnique::m_stringFields, LMFUnique::setClassName(), and submitPVValidationJobs::t.
LMFSeqDat::LMFSeqDat | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
Definition at line 36 of file LMFSeqDat.cc.
References LMFUnique::m_intFields, m_runIOV, LMFUnique::m_stringFields, LMFUnique::setClassName(), and submitPVValidationJobs::t.
LMFSeqDat::LMFSeqDat | ( | EcalDBConnection * | c | ) |
Definition at line 23 of file LMFSeqDat.cc.
References LMFUnique::m_intFields, m_runIOV, LMFUnique::m_stringFields, LMFUnique::setClassName(), and submitPVValidationJobs::t.
|
override |
Definition at line 49 of file LMFSeqDat.cc.
|
privatenoexcept |
Definition at line 198 of file LMFSeqDat.cc.
References MillePedeFileConverter_cfg::e, mps_fire::i, cmsLHEtoEOSManager::l, AlcaSiPixelAliHarvester0T_cff::method, and alignCSCRings::s.
|
privatenoexcept |
Definition at line 190 of file LMFSeqDat.cc.
References AlcaSiPixelAliHarvester0T_cff::method, and contentValuesCheck::ss.
Definition at line 245 of file LMFSeqDat.cc.
References RunIOV::getID().
Referenced by fetchByRunIOV(), fetchByRunNumber(), and fetchLast().
Definition at line 253 of file LMFSeqDat.cc.
References cuy::col, fetchByRunIOV(), RunIOV::getID(), contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Definition at line 65 of file LMFSeqDat.h.
References fetchByRunIOV().
Referenced by fetchByRunIOV().
|
privatenoexcept |
Definition at line 185 of file LMFSeqDat.cc.
References AlcaSiPixelAliHarvester0T_cff::method.
std::map< int, LMFSeqDat > LMFSeqDat::fetchByRunNumber | ( | int | runno | ) |
Definition at line 271 of file LMFSeqDat.cc.
References fetchByRunIOV(), and visualization-live-secondInstance_cfg::runno.
Referenced by fetchByRunNumber().
Definition at line 279 of file LMFSeqDat.cc.
References fetchByRunNumber(), visualization-live-secondInstance_cfg::runno, and Tm::str().
|
inline |
Definition at line 67 of file LMFSeqDat.h.
References fetchByRunNumber(), and visualization-live-secondInstance_cfg::runno.
Referenced by fetchByRunNumber().
LMFSeqDat LMFSeqDat::fetchByRunNumber | ( | int | runno, |
std::string | taken_at | ||
) |
Definition at line 281 of file LMFSeqDat.cc.
References gather_cfg::cout, fetchByRunIOV(), mps_fire::i, cmsLHEtoEOSManager::l, submitPVResolutionJobs::q, runTheMatrix::ret, visualization-live-secondInstance_cfg::runno, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and x.
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 67 of file LMFSeqDat.cc.
References gather_cfg::cout, RunIOV::getID(), getSequenceNumber(), getVmax(), getVmin(), LMFUnique::m_className, LMFUnique::m_debug, m_runIOV, and AlCaHLTBitMon_QueryRunRegistry::string.
LMFSeqDat LMFSeqDat::fetchLast | ( | ) |
Definition at line 230 of file LMFSeqDat.cc.
References fetchByRunIOV(), visualization-live-secondInstance_cfg::m, and runTheMatrix::ret.
Referenced by fetchLastRun().
RunIOV LMFSeqDat::fetchLastRun | ( | ) |
Definition at line 243 of file LMFSeqDat.cc.
References fetchLast(), and getRunIOV().
|
overrideprivatevirtualnoexcept |
Reimplemented from LMFUnique.
Definition at line 174 of file LMFSeqDat.cc.
References RunIOV::getID(), IDBObject::m_conn, IDBObject::m_env, m_runIOV, RunIOV::setByID(), and IDBObject::setConnection().
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 111 of file LMFSeqDat.cc.
References cuy::dh, IDBObject::m_conn, IDBObject::m_env, m_runIOV, RunIOV::setByID(), IDBObject::setConnection(), LMFUnique::setInt(), and LMFUnique::setString().
RunIOV LMFSeqDat::getRunIOV | ( | ) | const |
Definition at line 57 of file LMFSeqDat.cc.
References m_runIOV.
Referenced by fetchLastRun(), and operator==().
|
inline |
Definition at line 44 of file LMFSeqDat.h.
References LMFUnique::getInt().
Referenced by fetchIdSql(), operator==(), and writeDBSql().
|
inline |
Definition at line 45 of file LMFSeqDat.h.
References LMFUnique::getString(), and submitPVValidationJobs::t.
Referenced by isValid(), operator==(), and writeDBSql().
Tm LMFSeqDat::getSequenceStop | ( | ) | const |
Definition at line 51 of file LMFSeqDat.cc.
References LMFUnique::getString(), and submitPVValidationJobs::t.
Referenced by isValid(), operator==(), and writeDBSql().
|
inline |
Definition at line 52 of file LMFSeqDat.h.
References LMFUnique::getInt().
Referenced by fetchIdSql(), operator==(), and writeDBSql().
|
inline |
Definition at line 51 of file LMFSeqDat.h.
References LMFUnique::getInt().
Referenced by fetchIdSql(), operator==(), and writeDBSql().
|
overridevirtual |
Reimplemented from LMFUnique.
Definition at line 127 of file LMFSeqDat.cc.
References getSequenceStart(), getSequenceStop(), runTheMatrix::ret, and str.
Referenced by ntupleDataFormat._Object::_checkIsValid(), core.AutoHandle.AutoHandle::ReallyLoad(), and writeDBSql().
|
inline |
|
inline |
Definition at line 56 of file LMFSeqDat.h.
References getRunIOV(), getSequenceNumber(), getSequenceStart(), getSequenceStop(), getVmax(), getVmin(), and visualization-live-secondInstance_cfg::m.
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 102 of file LMFSeqDat.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Definition at line 59 of file LMFSeqDat.cc.
References IUniqueDBObject::m_ID, and m_runIOV.
|
inline |
Definition at line 25 of file LMFSeqDat.h.
References dqmiodumpmetadata::n, and LMFUnique::setInt().
Definition at line 29 of file LMFSeqDat.h.
References LMFUnique::setString().
Definition at line 33 of file LMFSeqDat.h.
References mps_fire::end, and LMFUnique::setString().
Referenced by writeDBSql().
|
inline |
|
inlineprivate |
Definition at line 77 of file LMFSeqDat.h.
References LMFUnique::setInt(), and findQualityFiles::v.
Referenced by setVersions().
|
inlineprivate |
Definition at line 76 of file LMFSeqDat.h.
References LMFUnique::setInt(), and findQualityFiles::v.
Referenced by setVersions().
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 141 of file LMFSeqDat.cc.
References gather_cfg::cout, cuy::dh, LMFUnique::dump(), RunIOV::getID(), getSequenceNumber(), getSequenceStart(), getSequenceStop(), getVmax(), getVmin(), isValid(), IDBObject::m_conn, IDBObject::m_env, m_runIOV, LMFUnique::sequencePostfix(), setSequenceStop(), str, and AlCaHLTBitMon_QueryRunRegistry::string.
|
friend |
Definition at line 16 of file LMFSeqDat.h.
|
private |
Definition at line 74 of file LMFSeqDat.h.
Referenced by fetchIdSql(), fetchParentIDs(), getParameters(), getRunIOV(), LMFSeqDat(), setRunIOV(), and writeDBSql().