#include <LMFRunIOV.h>
Public Member Functions | |
void | dump () const override |
std::list< LMFRunIOV > | fetchBySequence (const LMFSeqDat &s) |
std::list< LMFRunIOV > | fetchBySequence (const LMFSeqDat &s, int lmr) |
std::list< LMFRunIOV > | fetchBySequence (const LMFSeqDat &s, int lmr, int type, int color) |
std::string | fetchIdSql (Statement *stmt) override |
std::list< LMFRunIOV > | fetchLastBeforeSequence (const LMFSeqDat &s, int lmr, int type, int color) |
LMFColor | getColor () const |
std::string | getColorLongName () const |
std::string | getColorShortName () const |
Tm | getDBInsertionTime () const |
LMFColor | getLMFColor () const |
LMFRunTag | getLMFRunTag () const |
int | getLmr () const |
void | getParameters (ResultSet *rset) override |
LMFSeqDat | getSequence () const |
Tm | getSubRunEnd () const |
Tm | getSubRunStart () const |
std::string | getSubRunType () const |
LMFTrigType | getTriggerType () const |
bool | isValid () override |
LMFRunIOV () | |
LMFRunIOV (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
LMFRunIOV (EcalDBConnection *c) | |
LMFRunIOV (const LMFRunIOV &r) | |
bool | operator!= (const LMFRunIOV &m) const |
virtual LMFRunIOV & | operator= (const LMFRunIOV &r) |
bool | operator== (const LMFRunIOV &m) const |
std::string | setByIDSql (Statement *stmt, int id) override |
LMFRunIOV & | setColor (const LMFColor &c) |
LMFRunIOV & | setColor (std::string name) |
LMFRunIOV & | setColor (int color_id) |
LMFRunIOV & | setColorIndex (int color_index) |
LMFRunIOV & | setLMFRunTag (const LMFRunTag &tag) |
LMFRunIOV & | setLMFRunTag (int tag_id) |
LMFRunIOV & | setLmr (int n) |
LMFRunIOV & | setSequence (LMFSeqDat &seq) |
LMFRunIOV & | setSequence (LMFSeqDat *seq) |
LMFRunIOV & | setSubRunEnd (const Tm &end) |
LMFRunIOV & | setSubRunStart (const Tm &start) |
LMFRunIOV & | setSubRunType (const std::string &x) |
LMFRunIOV & | setTriggerType (LMFTrigType &tt) |
LMFRunIOV & | setTriggerType (int trigType_id) |
LMFRunIOV & | setTriggerType (std::string trigShortName) |
std::string | writeDBSql (Statement *stmt) override |
~LMFRunIOV () override | |
Public Member Functions inherited from LMFUnique | |
void | attach (std::string name, LMFUnique *u) |
void | debug () |
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 |
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 | |
void | checkFabric () |
std::list< LMFRunIOV > | fetchBySequence (const std::vector< int > &par, const std::string &sql, const std::string &method) noexcept(false) |
void | initialize () |
Private Attributes | |
LMFDefFabric * | _fabric |
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 18 of file LMFRunIOV.h.
LMFRunIOV::LMFRunIOV | ( | ) |
LMFRunIOV::LMFRunIOV | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
LMFRunIOV::LMFRunIOV | ( | EcalDBConnection * | c | ) |
LMFRunIOV::LMFRunIOV | ( | const LMFRunIOV & | r | ) |
|
override |
|
private |
Definition at line 73 of file LMFRunIOV.cc.
References _fabric, IDBObject::m_conn, and IDBObject::m_env.
Referenced by operator=(), setColor(), setColorIndex(), and setTriggerType().
|
overridevirtual |
Reimplemented from LMFUnique.
Definition at line 186 of file LMFRunIOV.cc.
References _fabric, gather_cfg::cout, LMFDefFabric::dump(), LMFUnique::dump(), and LMFUnique::m_debug.
Definition at line 353 of file LMFRunIOV.cc.
References alignCSCRings::s.
Referenced by fetchBySequence(), fetchLastBeforeSequence(), and EcalCondDBInterface::fetchLMFRunIOV().
Definition at line 364 of file LMFRunIOV.cc.
References fetchBySequence(), and alignCSCRings::s.
std::list< LMFRunIOV > LMFRunIOV::fetchBySequence | ( | const LMFSeqDat & | s, |
int | lmr, | ||
int | type, | ||
int | color | ||
) |
Definition at line 376 of file LMFRunIOV.cc.
References fetchBySequence(), and alignCSCRings::s.
|
privatenoexcept |
Definition at line 327 of file LMFRunIOV.cc.
References MillePedeFileConverter_cfg::e, mps_fire::i, cmsLHEtoEOSManager::l, AlcaSiPixelAliHarvester0T_cff::method, LMFUnique::setByID(), and IDBObject::setConnection().
|
overridevirtual |
Reimplemented from LMFUnique.
Definition at line 194 of file LMFRunIOV.cc.
References LMFUnique::m_intFields, and AlCaHLTBitMon_QueryRunRegistry::string.
std::list< LMFRunIOV > LMFRunIOV::fetchLastBeforeSequence | ( | const LMFSeqDat & | s, |
int | lmr, | ||
int | type, | ||
int | color | ||
) |
Definition at line 391 of file LMFRunIOV.cc.
References fetchBySequence(), and alignCSCRings::s.
Referenced by EcalCondDBInterface::fetchLMFRunIOV().
|
inline |
std::string LMFRunIOV::getColorLongName | ( | ) | const |
Definition at line 102 of file LMFRunIOV.cc.
References getLMFColor(), and LMFColor::getLongName().
std::string LMFRunIOV::getColorShortName | ( | ) | const |
Definition at line 97 of file LMFRunIOV.cc.
References getLMFColor(), and LMFColor::getShortName().
Tm LMFRunIOV::getDBInsertionTime | ( | ) | const |
Definition at line 159 of file LMFRunIOV.cc.
References LMFUnique::getString(), and submitPVValidationJobs::t.
LMFColor LMFRunIOV::getLMFColor | ( | ) | const |
Definition at line 91 of file LMFRunIOV.cc.
References LMFUnique::getInt(), IDBObject::m_conn, IDBObject::m_env, and LMFUnique::setByID().
Referenced by getColor(), getColorLongName(), getColorShortName(), isValid(), and operator==().
LMFRunTag LMFRunIOV::getLMFRunTag | ( | ) | const |
Definition at line 57 of file LMFRunIOV.cc.
References LMFUnique::getInt(), IDBObject::m_conn, IDBObject::m_env, and LMFUnique::setByID().
Referenced by isValid(), and operator==().
int LMFRunIOV::getLmr | ( | ) | const |
Definition at line 134 of file LMFRunIOV.cc.
References LMFUnique::getInt().
Referenced by isValid(), and operator==().
|
overridevirtualnoexcept |
Reimplemented from LMFUnique.
Definition at line 225 of file LMFRunIOV.cc.
References util.getRunInfo::day(), cuy::dh, compareTotals::fs, edm::second(), cmsswSequenceInfo::seq, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::tt.
LMFSeqDat LMFRunIOV::getSequence | ( | ) | const |
Definition at line 180 of file LMFRunIOV.cc.
References LMFUnique::getInt(), IDBObject::m_conn, IDBObject::m_env, and LMFUnique::setByID().
Referenced by isValid(), and operator==().
Tm LMFRunIOV::getSubRunEnd | ( | ) | const |
Definition at line 152 of file LMFRunIOV.cc.
References LMFUnique::getString(), and submitPVValidationJobs::t.
Referenced by operator==(), and writeDBSql().
Tm LMFRunIOV::getSubRunStart | ( | ) | const |
Definition at line 141 of file LMFRunIOV.cc.
References LMFUnique::getString(), and submitPVValidationJobs::t.
Referenced by LMFDat::getSubrunStart(), operator==(), and writeDBSql().
std::string LMFRunIOV::getSubRunType | ( | ) | const |
Definition at line 170 of file LMFRunIOV.cc.
References LMFUnique::getString().
Referenced by operator==(), and writeDBSql().
LMFTrigType LMFRunIOV::getTriggerType | ( | ) | const |
Definition at line 123 of file LMFRunIOV.cc.
References LMFUnique::getInt(), IDBObject::m_conn, IDBObject::m_env, and hcal_runs::rt.
Referenced by isValid(), and operator==().
|
private |
Definition at line 10 of file LMFRunIOV.cc.
References Tm::setToCurrentGMTime(), and Tm::str().
Referenced by LMFRunIOV().
|
overridevirtual |
Reimplemented from LMFUnique.
Definition at line 281 of file LMFRunIOV.cc.
References getLMFColor(), getLMFRunTag(), getLmr(), getSequence(), getTriggerType(), and runTheMatrix::ret.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 408 of file LMFRunIOV.cc.
References _fabric, checkFabric(), gather_cfg::cout, LMFDefFabric::debug(), LMFUnique::m_debug, and alignCSCRings::r.
|
inline |
Definition at line 68 of file LMFRunIOV.h.
References getLMFColor(), getLMFRunTag(), getLmr(), getSequence(), getSubRunEnd(), getSubRunStart(), getSubRunType(), getTriggerType(), and visualization-live-secondInstance_cfg::m.
|
overridevirtual |
Reimplemented from LMFUnique.
Definition at line 213 of file LMFRunIOV.cc.
References cuy::dh, IDBObject::m_conn, IDBObject::m_env, and AlCaHLTBitMon_QueryRunRegistry::string.
LMFRunIOV & LMFRunIOV::setColor | ( | std::string | name | ) |
Definition at line 85 of file LMFRunIOV.cc.
References _fabric, checkFabric(), LMFDefFabric::getColorID(), Skims_PA_cff::name, and LMFUnique::setInt().
LMFRunIOV & LMFRunIOV::setColor | ( | int | color_id | ) |
LMFRunIOV & LMFRunIOV::setColorIndex | ( | int | color_index | ) |
Definition at line 79 of file LMFRunIOV.cc.
References _fabric, checkFabric(), LMFDefFabric::getColorID(), and LMFUnique::setInt().
Definition at line 47 of file LMFRunIOV.cc.
References LMFUnique::setInt(), and makeGlobalPositionRcd_cfg::tag.
LMFRunIOV & LMFRunIOV::setLMFRunTag | ( | int | tag_id | ) |
LMFRunIOV & LMFRunIOV::setLmr | ( | int | n | ) |
Definition at line 129 of file LMFRunIOV.cc.
References dqmiodumpmetadata::n, and LMFUnique::setInt().
Definition at line 172 of file LMFRunIOV.cc.
References LMFUnique::attach(), LMFUnique::getID(), cmsswSequenceInfo::seq, and LMFUnique::setInt().
Definition at line 147 of file LMFRunIOV.cc.
References LMFUnique::setString(), and Tm::str().
Definition at line 136 of file LMFRunIOV.cc.
References LMFUnique::setString().
LMFRunIOV & LMFRunIOV::setSubRunType | ( | const std::string & | x | ) |
Definition at line 165 of file LMFRunIOV.cc.
References alignCSCRings::s, and LMFUnique::setString().
LMFRunIOV & LMFRunIOV::setTriggerType | ( | LMFTrigType & | tt | ) |
Definition at line 107 of file LMFRunIOV.cc.
References LMFUnique::getID(), and LMFUnique::setInt().
LMFRunIOV & LMFRunIOV::setTriggerType | ( | int | trigType_id | ) |
LMFRunIOV & LMFRunIOV::setTriggerType | ( | std::string | trigShortName | ) |
Definition at line 112 of file LMFRunIOV.cc.
References _fabric, checkFabric(), LMFDefFabric::getTrigTypeID(), and LMFUnique::setInt().
|
overridevirtual |
Reimplemented from LMFUnique.
Definition at line 302 of file LMFRunIOV.cc.
References symbols::dm, LMFUnique::getInt(), getSubRunEnd(), getSubRunStart(), getSubRunType(), IDBObject::m_conn, IDBObject::m_env, LMFUnique::sequencePostfix(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::tt.
|
friend |
Definition at line 20 of file LMFRunIOV.h.
|
private |
Definition at line 89 of file LMFRunIOV.h.
Referenced by checkFabric(), dump(), operator=(), setColor(), setColorIndex(), setTriggerType(), and ~LMFRunIOV().