#include <LMFDefFabric.h>
Public Member Functions | |
void | debug () |
void | dump () |
LMFColor | getColor (std::string name) const |
LMFColor | getColor (int color_index) const |
LMFColor | getColorFromID (int color_id) const |
int | getColorID (std::string name) const |
int | getColorID (int color_index) const |
std::list< LMFColor > | getColors () const |
LMFRunTag | getRunTag (std::string tag, int version) const |
LMFRunTag | getRunTagFromID (int runTag_id) const |
int | getRunTagID (std::string tag, int version) const |
std::list< LMFRunTag > | getRunTags () const |
std::list< LMFTrigType > | getTriggerTypes () const |
LMFTrigType | getTrigType (std::string sname) const |
LMFTrigType | getTrigTypeFromID (int trigType_id) const |
int | getTrigTypeID (std::string sname) const |
void | initialize () noexcept(false) |
LMFDefFabric () | |
LMFDefFabric (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
LMFDefFabric (EcalDBConnection *c) | |
void | noDebug () |
~LMFDefFabric () 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 () |
Protected Attributes | |
bool | _debug |
std::list< LMFColor > | _lmfColors |
std::list< LMFCorrVers > | _lmfCorrVersions |
std::list< LMFPrimVers > | _lmfPrimVersions |
std::list< LMFRunTag > | _lmfRunTags |
std::list< LMFSeqVers > | _lmfSeqVersions |
std::list< LMFTrigType > | _lmfTrigTypes |
Protected Attributes inherited from IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
Additional Inherited Members | |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS = 1024 |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const noexcept(false) |
Definition at line 25 of file LMFDefFabric.h.
LMFDefFabric::LMFDefFabric | ( | ) |
LMFDefFabric::LMFDefFabric | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
Definition at line 12 of file LMFDefFabric.cc.
References G2GainsValidator::conn, web.browse_db::env, initialize(), noDebug(), and IDBObject::setConnection().
LMFDefFabric::LMFDefFabric | ( | EcalDBConnection * | c | ) |
Definition at line 18 of file LMFDefFabric.cc.
References DummyCfis::c, initialize(), noDebug(), and IDBObject::setConnection().
|
override |
Definition at line 24 of file LMFDefFabric.cc.
void LMFDefFabric::debug | ( | ) |
Definition at line 26 of file LMFDefFabric.cc.
References _debug.
Referenced by LMFRunIOV::operator=().
void LMFDefFabric::dump | ( | void | ) |
Definition at line 228 of file LMFDefFabric.cc.
References _lmfColors, _lmfCorrVersions, _lmfPrimVersions, _lmfRunTags, _lmfSeqVersions, _lmfTrigTypes, gather_cfg::cout, StorageManager_cfg::e1, SiPixelPhase1Clusters_cfi::e3, vertexPlots::e4, TrackValidation_cff::e5, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, and testProducerWithPsetDescEmpty_cfi::i3.
Referenced by LMFRunIOV::dump().
LMFColor LMFDefFabric::getColor | ( | std::string | name | ) | const |
Definition at line 36 of file LMFDefFabric.cc.
References _lmfColors, MillePedeFileConverter_cfg::e, mps_fire::i, heppy_loop::loop, mergeVDriftHistosByStation::name, and runTheMatrix::ret.
Referenced by getColorID().
LMFColor LMFDefFabric::getColor | ( | int | color_index | ) | const |
Definition at line 66 of file LMFDefFabric.cc.
References _lmfColors, MillePedeFileConverter_cfg::e, mps_fire::i, heppy_loop::loop, and runTheMatrix::ret.
LMFColor LMFDefFabric::getColorFromID | ( | int | color_id | ) | const |
Definition at line 51 of file LMFDefFabric.cc.
References _lmfColors, MillePedeFileConverter_cfg::e, mps_fire::i, EcalPhiSymFlatTableProducers_cfi::id, heppy_loop::loop, and runTheMatrix::ret.
int LMFDefFabric::getColorID | ( | std::string | name | ) | const |
Definition at line 81 of file LMFDefFabric.cc.
References getColor(), and LMFUnique::getID().
Referenced by LMFRunIOV::setColor(), and LMFRunIOV::setColorIndex().
int LMFDefFabric::getColorID | ( | int | color_index | ) | const |
std::list< LMFColor > LMFDefFabric::getColors | ( | ) | const |
LMFRunTag LMFDefFabric::getRunTag | ( | std::string | tag, |
int | version | ||
) | const |
Definition at line 117 of file LMFDefFabric.cc.
References _lmfRunTags, MillePedeFileConverter_cfg::e, mps_fire::i, heppy_loop::loop, hcal_runs::rt, makeGlobalPositionRcd_cfg::tag, and relval_steps::version.
Referenced by getRunTagID().
LMFRunTag LMFDefFabric::getRunTagFromID | ( | int | runTag_id | ) | const |
Definition at line 131 of file LMFDefFabric.cc.
References _lmfRunTags, MillePedeFileConverter_cfg::e, mps_fire::i, EcalPhiSymFlatTableProducers_cfi::id, heppy_loop::loop, and hcal_runs::rt.
int LMFDefFabric::getRunTagID | ( | std::string | tag, |
int | version | ||
) | const |
Definition at line 145 of file LMFDefFabric.cc.
References LMFUnique::getID(), getRunTag(), makeGlobalPositionRcd_cfg::tag, and relval_steps::version.
std::list< LMFRunTag > LMFDefFabric::getRunTags | ( | ) | const |
std::list< LMFTrigType > LMFDefFabric::getTriggerTypes | ( | ) | const |
LMFTrigType LMFDefFabric::getTrigType | ( | std::string | sname | ) | const |
Definition at line 87 of file LMFDefFabric.cc.
References _lmfTrigTypes, MillePedeFileConverter_cfg::e, mps_fire::i, heppy_loop::loop, and groupFilesInBlocks::tt.
Referenced by getTrigTypeID().
LMFTrigType LMFDefFabric::getTrigTypeFromID | ( | int | trigType_id | ) | const |
Definition at line 102 of file LMFDefFabric.cc.
References _lmfTrigTypes, MillePedeFileConverter_cfg::e, mps_fire::i, EcalPhiSymFlatTableProducers_cfi::id, heppy_loop::loop, and groupFilesInBlocks::tt.
int LMFDefFabric::getTrigTypeID | ( | std::string | sname | ) | const |
Definition at line 85 of file LMFDefFabric.cc.
References LMFUnique::getID(), and getTrigType().
Referenced by LMFRunIOV::setTriggerType().
|
noexcept |
Definition at line 152 of file LMFDefFabric.cc.
References _lmfColors, _lmfCorrVersions, _lmfPrimVersions, _lmfRunTags, _lmfSeqVersions, _lmfTrigTypes, DummyCfis::c, MillePedeFileConverter_cfg::e, LMFUnique::fetchAll(), mps_fire::i, IDBObject::m_conn, IDBObject::m_env, and unique_static_cast().
Referenced by LMFDefFabric().
void LMFDefFabric::noDebug | ( | ) |
|
protected |
Definition at line 55 of file LMFDefFabric.h.
|
protected |
Definition at line 57 of file LMFDefFabric.h.
Referenced by dump(), getColor(), getColorFromID(), getColors(), and initialize().
|
protected |
Definition at line 62 of file LMFDefFabric.h.
Referenced by dump(), and initialize().
|
protected |
Definition at line 60 of file LMFDefFabric.h.
Referenced by dump(), and initialize().
|
protected |
Definition at line 59 of file LMFDefFabric.h.
Referenced by dump(), getRunTag(), getRunTagFromID(), getRunTags(), and initialize().
|
protected |
Definition at line 61 of file LMFDefFabric.h.
Referenced by dump(), and initialize().
|
protected |
Definition at line 58 of file LMFDefFabric.h.
Referenced by dump(), getTriggerTypes(), getTrigType(), getTrigTypeFromID(), and initialize().