#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 () throw (std::runtime_error) |
LMFDefFabric () | |
LMFDefFabric (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
LMFDefFabric (EcalDBConnection *c) | |
void | noDebug () |
~LMFDefFabric () | |
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 throw (std::runtime_error) |
Definition at line 25 of file LMFDefFabric.h.
LMFDefFabric::LMFDefFabric | ( | ) |
Definition at line 10 of file LMFDefFabric.cc.
References noDebug().
LMFDefFabric::LMFDefFabric | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
Definition at line 14 of file LMFDefFabric.cc.
References initialize(), noDebug(), and IDBObject::setConnection().
LMFDefFabric::LMFDefFabric | ( | EcalDBConnection * | c | ) |
Definition at line 21 of file LMFDefFabric.cc.
References EcalDBConnection::getConn(), EcalDBConnection::getEnv(), initialize(), noDebug(), and IDBObject::setConnection().
LMFDefFabric::~LMFDefFabric | ( | ) |
Definition at line 27 of file LMFDefFabric.cc.
void LMFDefFabric::debug | ( | ) |
Definition at line 30 of file LMFDefFabric.cc.
References _debug.
Referenced by LMFRunIOV::operator=().
void LMFDefFabric::dump | ( | void | ) |
Definition at line 247 of file LMFDefFabric.cc.
References _lmfColors, _lmfCorrVersions, _lmfPrimVersions, _lmfRunTags, _lmfSeqVersions, _lmfTrigTypes, gather_cfg::cout, reco::e1, and reco::e2.
Referenced by LMFRunIOV::dump().
LMFColor LMFDefFabric::getColor | ( | std::string | name | ) | const |
Definition at line 50 of file LMFDefFabric.cc.
References _lmfColors, alignCSCRings::e, i, cmsHarvester::loop, mergeVDriftHistosByStation::name, and run_regression::ret.
Referenced by getColorID().
LMFColor LMFDefFabric::getColor | ( | int | color_index | ) | const |
Definition at line 80 of file LMFDefFabric.cc.
References _lmfColors, alignCSCRings::e, i, cmsHarvester::index, cmsHarvester::loop, and run_regression::ret.
LMFColor LMFDefFabric::getColorFromID | ( | int | color_id | ) | const |
Definition at line 65 of file LMFDefFabric.cc.
References _lmfColors, alignCSCRings::e, i, cmsHarvester::loop, and run_regression::ret.
int LMFDefFabric::getColorID | ( | std::string | name | ) | const |
Definition at line 95 of file LMFDefFabric.cc.
References getColor(), and LMFUnique::getID().
Referenced by LMFRunIOV::setColor(), and LMFRunIOV::setColorIndex().
int LMFDefFabric::getColorID | ( | int | color_index | ) | const |
LMFRunTag LMFDefFabric::getRunTag | ( | std::string | tag, |
int | version | ||
) | const |
Definition at line 137 of file LMFDefFabric.cc.
References _lmfRunTags, alignCSCRings::e, i, cmsHarvester::loop, and BeamSplash_cfg::version.
Referenced by getRunTagID().
LMFRunTag LMFDefFabric::getRunTagFromID | ( | int | runTag_id | ) | const |
Definition at line 151 of file LMFDefFabric.cc.
References _lmfRunTags, alignCSCRings::e, i, and cmsHarvester::loop.
int LMFDefFabric::getRunTagID | ( | std::string | tag, |
int | version | ||
) | const |
Definition at line 165 of file LMFDefFabric.cc.
References LMFUnique::getID(), and getRunTag().
std::list< LMFTrigType > LMFDefFabric::getTriggerTypes | ( | ) | const |
LMFTrigType LMFDefFabric::getTrigType | ( | std::string | sname | ) | const |
Definition at line 107 of file LMFDefFabric.cc.
References _lmfTrigTypes, alignCSCRings::e, i, cmsHarvester::loop, lumiContext::sname, and groupFilesInBlocks::tt.
Referenced by getTrigTypeID().
LMFTrigType LMFDefFabric::getTrigTypeFromID | ( | int | trigType_id | ) | const |
Definition at line 122 of file LMFDefFabric.cc.
References _lmfTrigTypes, alignCSCRings::e, i, cmsHarvester::loop, and groupFilesInBlocks::tt.
int LMFDefFabric::getTrigTypeID | ( | std::string | sname | ) | const |
Definition at line 103 of file LMFDefFabric.cc.
References LMFUnique::getID(), and getTrigType().
Referenced by LMFRunIOV::setTriggerType().
void LMFDefFabric::initialize | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
Definition at line 169 of file LMFDefFabric.cc.
References _lmfColors, _lmfCorrVersions, _lmfPrimVersions, _lmfRunTags, _lmfSeqVersions, _lmfTrigTypes, trackerHits::c, alignCSCRings::e, LMFUnique::fetchAll(), i, IDBObject::m_conn, IDBObject::m_env, and NULL.
Referenced by LMFDefFabric().
void LMFDefFabric::noDebug | ( | ) |
|
protected |
Definition at line 57 of file LMFDefFabric.h.
Referenced by debug(), noDebug(), cmsPerfSuite.PerfSuite::optionParse(), and cmsPerfSuite.PerfSuite::runCmsReport().
Definition at line 59 of file LMFDefFabric.h.
Referenced by dump(), getColor(), getColorFromID(), getColors(), and initialize().
|
protected |
Definition at line 64 of file LMFDefFabric.h.
Referenced by dump(), and initialize().
|
protected |
Definition at line 62 of file LMFDefFabric.h.
Referenced by dump(), and initialize().
Definition at line 61 of file LMFDefFabric.h.
Referenced by dump(), getRunTag(), getRunTagFromID(), getRunTags(), and initialize().
|
protected |
Definition at line 63 of file LMFDefFabric.h.
Referenced by dump(), and initialize().
|
protected |
Definition at line 60 of file LMFDefFabric.h.
Referenced by dump(), getTriggerTypes(), getTrigType(), getTrigTypeFromID(), and initialize().