#include <LMFRunIOV.h>
Public Member Functions | |
virtual void | dump () const |
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) |
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) |
LMFSeqDat | getSequence () const |
Tm | getSubRunEnd () const |
Tm | getSubRunStart () const |
std::string | getSubRunType () const |
LMFTrigType | getTriggerType () const |
bool | isValid () |
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) |
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) |
~LMFRunIOV () | |
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 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 |
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 | |
void | checkFabric () |
std::list< LMFRunIOV > | fetchBySequence (const std::vector< int > &par, const std::string &sql, const std::string &method) throw (std::runtime_error) |
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 () 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 19 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 | ) |
LMFRunIOV::~LMFRunIOV | ( | ) |
Definition at line 47 of file LMFRunIOV.cc.
|
private |
Definition at line 85 of file LMFRunIOV.cc.
References _fabric, IDBObject::m_conn, IDBObject::m_env, and NULL.
Referenced by operator=(), setColor(), setColorIndex(), and setTriggerType().
|
virtual |
Reimplemented from LMFUnique.
Definition at line 209 of file LMFRunIOV.cc.
References _fabric, gather_cfg::cout, LMFDefFabric::dump(), LMFUnique::dump(), and LMFUnique::m_debug.
Definition at line 347 of file LMFRunIOV.cc.
References LMFUnique::getID(), and HLT_25ns10e33_v2_cff::parameters.
Referenced by fetchBySequence(), fetchLastBeforeSequence(), and EcalCondDBInterface::fetchLMFRunIOV().
Definition at line 356 of file LMFRunIOV.cc.
References fetchBySequence(), LMFUnique::getID(), and HLT_25ns10e33_v2_cff::parameters.
std::list< LMFRunIOV > LMFRunIOV::fetchBySequence | ( | const LMFSeqDat & | s, |
int | lmr, | ||
int | type, | ||
int | color | ||
) |
Definition at line 367 of file LMFRunIOV.cc.
References fetchBySequence(), LMFUnique::getID(), and HLT_25ns10e33_v2_cff::parameters.
|
private |
Definition at line 318 of file LMFRunIOV.cc.
References alignCSCRings::e, i, o2o::iov, cmsLHEtoEOSManager::l, PATTauDiscriminationAgainstElectronMVA6_cfi::method, LMFUnique::setByID(), and IDBObject::setConnection().
|
virtual |
Reimplemented from LMFUnique.
Definition at line 217 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 382 of file LMFRunIOV.cc.
References fetchBySequence(), LMFUnique::getID(), and HLT_25ns10e33_v2_cff::parameters.
Referenced by EcalCondDBInterface::fetchLMFRunIOV().
|
inline |
std::string LMFRunIOV::getColorLongName | ( | ) | const |
Definition at line 117 of file LMFRunIOV.cc.
References getLMFColor(), and LMFColor::getLongName().
std::string LMFRunIOV::getColorShortName | ( | ) | const |
Definition at line 112 of file LMFRunIOV.cc.
References getLMFColor(), and LMFColor::getShortName().
Tm LMFRunIOV::getDBInsertionTime | ( | ) | const |
Definition at line 178 of file LMFRunIOV.cc.
References LMFUnique::getString(), Tm::setToString(), and t.
LMFColor LMFRunIOV::getLMFColor | ( | ) | const |
Definition at line 105 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 66 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 152 of file LMFRunIOV.cc.
References LMFUnique::getInt().
Referenced by isValid(), and operator==().
|
virtual |
Reimplemented from LMFUnique.
Definition at line 248 of file LMFRunIOV.cc.
References DateHandler::dateToTm(), cuy::dh, IDBObject::m_conn, IDBObject::m_env, LMFUnique::m_foreignKeys, setColor(), IDBObject::setConnection(), LMFUnique::setInt(), setLMFRunTag(), LMFUnique::setString(), setTriggerType(), command_line::start, and Tm::str().
LMFSeqDat LMFRunIOV::getSequence | ( | ) | const |
Definition at line 202 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 172 of file LMFRunIOV.cc.
References LMFUnique::getString(), Tm::setToString(), and t.
Referenced by operator==(), and writeDBSql().
Tm LMFRunIOV::getSubRunStart | ( | ) | const |
Definition at line 161 of file LMFRunIOV.cc.
References LMFUnique::getString(), Tm::setToString(), and t.
Referenced by LMFDat::getSubrunStart(), operator==(), and writeDBSql().
std::string LMFRunIOV::getSubRunType | ( | ) | const |
Definition at line 189 of file LMFRunIOV.cc.
References LMFUnique::getString().
Referenced by operator==(), and writeDBSql().
LMFTrigType LMFRunIOV::getTriggerType | ( | void | ) | const |
Definition at line 140 of file LMFRunIOV.cc.
References LMFUnique::getInt(), IDBObject::m_conn, IDBObject::m_env, and LMFUnique::setByID().
Referenced by isValid(), and operator==().
|
private |
Definition at line 8 of file LMFRunIOV.cc.
References NULL, Tm::setToCurrentGMTime(), and Tm::str().
Referenced by LMFRunIOV().
|
virtual |
Reimplemented from LMFUnique.
Definition at line 273 of file LMFRunIOV.cc.
References getLMFColor(), getLMFRunTag(), getLmr(), getSequence(), getTriggerType(), and runTheMatrix::ret.
Referenced by ntuple._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 400 of file LMFRunIOV.cc.
References _fabric, checkFabric(), gather_cfg::cout, LMFDefFabric::debug(), LMFUnique::m_debug, and NULL.
|
inline |
Definition at line 72 of file LMFRunIOV.h.
References getLMFColor(), getLMFRunTag(), getLmr(), getSequence(), getSubRunEnd(), getSubRunStart(), getSubRunType(), and getTriggerType().
|
virtual |
Reimplemented from LMFUnique.
Definition at line 236 of file LMFRunIOV.cc.
References cuy::dh, IDBObject::m_conn, IDBObject::m_env, and AlCaHLTBitMon_QueryRunRegistry::string.
Definition at line 73 of file LMFRunIOV.cc.
References LMFUnique::getID(), and LMFUnique::setInt().
Referenced by getParameters().
LMFRunIOV & LMFRunIOV::setColor | ( | std::string | name | ) |
Definition at line 98 of file LMFRunIOV.cc.
References _fabric, checkFabric(), LMFDefFabric::getColorID(), and LMFUnique::setInt().
LMFRunIOV & LMFRunIOV::setColor | ( | int | color_id | ) |
LMFRunIOV & LMFRunIOV::setColorIndex | ( | int | color_index | ) |
Definition at line 91 of file LMFRunIOV.cc.
References _fabric, checkFabric(), LMFDefFabric::getColorID(), and LMFUnique::setInt().
Definition at line 54 of file LMFRunIOV.cc.
References LMFUnique::getID(), and LMFUnique::setInt().
Referenced by getParameters().
LMFRunIOV & LMFRunIOV::setLMFRunTag | ( | int | tag_id | ) |
LMFRunIOV & LMFRunIOV::setLmr | ( | int | n | ) |
Definition at line 193 of file LMFRunIOV.cc.
References LMFUnique::attach(), LMFUnique::getID(), and LMFUnique::setInt().
Definition at line 167 of file LMFRunIOV.cc.
References LMFUnique::setString(), and Tm::str().
Definition at line 156 of file LMFRunIOV.cc.
References LMFUnique::setString(), and Tm::str().
LMFRunIOV & LMFRunIOV::setSubRunType | ( | const std::string & | x | ) |
Definition at line 184 of file LMFRunIOV.cc.
References LMFUnique::setString().
LMFRunIOV & LMFRunIOV::setTriggerType | ( | LMFTrigType & | tt | ) |
Definition at line 122 of file LMFRunIOV.cc.
References LMFUnique::getID(), and LMFUnique::setInt().
Referenced by getParameters().
LMFRunIOV & LMFRunIOV::setTriggerType | ( | int | trigType_id | ) |
LMFRunIOV & LMFRunIOV::setTriggerType | ( | std::string | trigShortName | ) |
Definition at line 128 of file LMFRunIOV.cc.
References _fabric, checkFabric(), LMFDefFabric::getTrigTypeID(), and LMFUnique::setInt().
|
virtual |
Reimplemented from LMFUnique.
Definition at line 294 of file LMFRunIOV.cc.
References symbols::dm, LMFUnique::getInt(), getSubRunEnd(), getSubRunStart(), getSubRunType(), IDBObject::m_conn, IDBObject::m_env, LMFUnique::sequencePostfix(), AlCaHLTBitMon_QueryRunRegistry::string, DateHandler::tmToDate(), and groupFilesInBlocks::tt.
|
friend |
Definition at line 21 of file LMFRunIOV.h.
|
private |
Definition at line 99 of file LMFRunIOV.h.
Referenced by checkFabric(), dump(), operator=(), setColor(), setColorIndex(), setTriggerType(), and ~LMFRunIOV().