#include <EcalCondDBInterface.h>
Public Member Functions | |
void | dummy () |
EcalCondDBInterface (std::string host, std::string sid, std::string user, std::string pass, int port=1521) | |
EcalCondDBInterface (std::string sid, std::string user, std::string pass) | |
CaliIOV | fetchCaliIOV (CaliTag *tag, const Tm &evenTm) throw (std::runtime_error) |
template<class DATT , class ICONF > | |
void | fetchConfigDataSet (std::vector< DATT > *fillMap, ICONF *iconf) throw (std::runtime_error) |
template<class ICONF > | |
void | fetchConfigSet (ICONF *iconf) throw (std::runtime_error) |
template<class DATT , class IOVT > | |
void | fetchDataSet (std::map< EcalLogicID, DATT > *fillMap, IOVT *iov) throw (std::runtime_error) |
template<class DATT , class IOVT > | |
void | fetchDataSetWithMap (std::map< EcalLogicID, DATT > *fillMap, IOVT *iov, std::string mapping_name) throw (std::runtime_error) |
template<class DATT > | |
void | fetchDCSDataSet (std::list< std::pair< Tm, std::map< EcalLogicID, DATT > > > *fillMap, const Tm &t) throw (std::runtime_error) |
DCSPTMTempList | fetchDCSPTMTempList (const EcalLogicID &ecid) throw (std::runtime_error) |
DCSPTMTempList | fetchDCSPTMTempList (const EcalLogicID &ecid, const Tm &start, const Tm &end) throw (std::runtime_error) |
DCUIOV | fetchDCUIOV (DCUTag *tag, const Tm &evenTm) throw (std::runtime_error) |
std::list< ODDelaysDat > | fetchFEDelaysForRun (RunIOV *iov) throw (std::runtime_error) |
RunList | fetchGlobalRunListByLocation (const RunTag &tag, int min_run, int max_run, const LocationDef &locDef) throw (std::runtime_error) |
template<class ICONF > | |
void | fetchLastConfigSet (ICONF *iconf) throw (std::runtime_error) |
RunIOV | fetchLMFLastRun () const |
LMFRunIOV | fetchLMFRunIOV (RunTag *runtag, LMFRunTag *lmftag, run_t run, subrun_t lmfrun) throw (std::runtime_error) |
bool | fetchLMFRunIOV (const LMFSeqDat &, LMFRunIOV &, int lmr, int type, int color) const |
MonRunIOV | fetchMonRunIOV (RunTag *runtag, MonRunTag *montag, run_t run, subrun_t monrun) throw (std::runtime_error) |
MonRunList | fetchMonRunList (const RunTag &tag, const MonRunTag &monruntag) throw (std::runtime_error) |
MonRunList | fetchMonRunList (const RunTag &tag, const MonRunTag &monruntag, int min_run, int max_run) throw (std::runtime_error) |
MonRunList | fetchMonRunListLastNRuns (const RunTag &tag, const MonRunTag &monruntag, int max_run, int n_runs) throw (std::runtime_error) |
RunList | fetchNonEmptyGlobalRunList (const RunTag &tag, int min_run, int max_run) throw (std::runtime_error) |
RunList | fetchNonEmptyRunList (const RunTag &tag, int min_run, int max_run) throw (std::runtime_error) |
RunIOV | fetchRunIOV (RunTag *tag, run_t run) throw (std::runtime_error) |
RunIOV | fetchRunIOV (std::string location, run_t run) throw (std::runtime_error) |
RunIOV | fetchRunIOV (std::string location, const Tm &t) throw (std::runtime_error) |
RunList | fetchRunList (const RunTag &tag) throw (std::runtime_error) |
RunList | fetchRunList (const RunTag &tag, int min_run, int max_run) throw (std::runtime_error) |
RunList | fetchRunListByLocation (const RunTag &tag, int min_run, int max_run, const LocationDef &locDef) throw (std::runtime_error) |
RunList | fetchRunListLastNRuns (const RunTag &tag, int max_run, int n_runs) throw (std::runtime_error) |
template<class DATT , class IOVT > | |
void | fetchValidDataSet (std::map< EcalLogicID, DATT > *fillMap, IOVT *fillIOV, RunTag *tag, run_t run=(unsigned int)-1) throw (std::runtime_error) |
template<class DATT , class IOVT > | |
void | fetchValidDataSet (std::map< EcalLogicID, DATT > *fillMap, IOVT *fillIOV, std::string location, run_t run=(unsigned int)-1) throw (std::runtime_error) |
DateHandler * | getDateHandler () |
std::map< int, int > | getDetId2LogicIdMap () |
int | getDetIdFromLogicId (int logic_id) |
EcalLogicID | getEcalLogicID (std::string name, int id1=EcalLogicID::NULLID, int id2=EcalLogicID::NULLID, int id3=EcalLogicID::NULLID, std::string mapsTo="") throw (std::runtime_error) |
EcalLogicID | getEcalLogicID (int logicID) throw (std::runtime_error) |
std::map< int, int > | getEcalLogicID2LmrMap () |
std::vector< EcalLogicID > | getEcalLogicIDForLMPN (int lmr_logic_id) |
std::vector< EcalLogicID > | getEcalLogicIDForLMPN (const EcalLogicID &lmr_logic_id) |
std::vector< EcalLogicID > | getEcalLogicIDForLMR (int lmr_logic_id) |
std::vector< EcalLogicID > | getEcalLogicIDForLMR (const EcalLogicID &lmr_logic_id) |
std::vector< EcalLogicID > | getEcalLogicIDMappedTo (int logic_id, std::string maps_to) |
std::vector< EcalLogicID > | getEcalLogicIDSet (std::string name, int fromId1=EcalLogicID::NULLID, int toId1=EcalLogicID::NULLID, int fromId2=EcalLogicID::NULLID, int toId2=EcalLogicID::NULLID, int fromId3=EcalLogicID::NULLID, int toId3=EcalLogicID::NULLID, std::string mapsTo="") throw (std::runtime_error) |
std::vector< EcalLogicID > | getEcalLogicIDSetOrdered (std::string name, int fromId1, int toId1, int fromId2=EcalLogicID::NULLID, int toId2=EcalLogicID::NULLID, int fromId3=EcalLogicID::NULLID, int toId3=EcalLogicID::NULLID, std::string mapsTo="", int orderedBy=EcalLogicID::NULLID) throw (std::runtime_error) |
std::map< int, int > | getLogicId2DetIdMap () |
int | getLogicIdFromDetId (int det_id) |
template<class DATT , class ICONF > | |
void | insertConfigDataArraySet (const std::vector< DATT > &data, ICONF *iconf) throw (std::runtime_error) |
template<class DATT , class ICONF > | |
void | insertConfigDataSet (const std::vector< DATT > data, ICONF *iconf) throw (std::runtime_error) |
template<class ICONF > | |
void | insertConfigSet (ICONF *iconf) throw (std::runtime_error) |
template<class DATT , class IOVT > | |
void | insertDataArraySet (const std::map< EcalLogicID, DATT > *data, IOVT *iov) throw (std::runtime_error) |
template<class DATT , class IOVT > | |
void | insertDataSet (const std::map< EcalLogicID, DATT > *data, IOVT *iov) throw (std::runtime_error) |
template<class DATT , class IOVT > | |
void | insertDataSetVector (const std::vector< EcalLogicID > &ecid, const std::vector< IOVT > &run_iov, const std::vector< DATT > &data) throw (std::runtime_error) |
void | insertDCUIOV (DCUIOV *iov) throw (std::runtime_error) |
void | insertLmfDat (LMFDat *dat) throw (std::runtime_error) |
void | insertLmfDat (std::list< LMFDat * > dat) throw (std::runtime_error) |
void | insertLmfIOV (LMFIOV *iov) throw (std::runtime_error) |
void | insertLmfLmrSubIOV (LMFLmrSubIOV *iov) throw (std::runtime_error) |
void | insertLmfRunIOV (LMFRunIOV *iov) throw (std::runtime_error) |
void | insertLmfSeq (LMFSeqDat *iov) throw (std::runtime_error) |
void | insertMonRunIOV (MonRunIOV *iov) throw (std::runtime_error) |
void | insertRunIOV (RunIOV *iov) throw (std::runtime_error) |
void | updateRunConfig (ODRunConfigInfo *od) throw (std::runtime_error) |
void | updateRunIOV (RunIOV *iov) throw (std::runtime_error) |
void | updateRunIOVEndTime (RunIOV *iov) throw (std::runtime_error) |
void | updateRunIOVStartTime (RunIOV *iov) throw (std::runtime_error) |
virtual | ~EcalCondDBInterface () throw (std::runtime_error) |
Public Member Functions inherited from EcalDBConnection | |
void | commit () |
oracle::occi::Statement * | createStatement () |
EcalDBConnection (std::string host, std::string sid, std::string user, std::string pass, int port=1521) throw (std::runtime_error) | |
EcalDBConnection (std::string sid, std::string user, std::string pass) throw (std::runtime_error) | |
oracle::occi::Clob | getClobLocator () |
oracle::occi::Connection * | getConn () const |
oracle::occi::Environment * | getEnv () const |
void | rollback () |
void | terminateStatement (oracle::occi::Statement *stmt) |
virtual | ~EcalDBConnection () throw (std::runtime_error) |
Private Member Functions | |
EcalCondDBInterface () | |
EcalCondDBInterface (const EcalCondDBInterface ©) | |
void | fillLogicId2DetIdMaps () |
Private Attributes | |
std::map< int, int > | _detId2LogicId |
std::map< int, int > | _logicId2DetId |
DateHandler * | dh |
Additional Inherited Members | |
Protected Attributes inherited from EcalDBConnection | |
oracle::occi::Connection * | conn |
oracle::occi::Environment * | env |
std::string | host |
std::string | pass |
int | port |
std::string | sid |
oracle::occi::Statement * | stmt |
std::string | user |
Definition at line 38 of file EcalCondDBInterface.h.
|
inline |
Constructor, makes connection to DB without TNS_ADMIN === Parameters === host: DB host machine sid: DB SID (name) user: User to connect pass: Password for user port: port number to connect, default 1521
Definition at line 54 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, dh, and EcalDBConnection::env.
|
inline |
Constructor, makes connection to DB with TNS_ADMIN === Parameters === sid: DB SID (name) user: User to connect pass: Password for user
Definition at line 76 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, dh, and EcalDBConnection::env.
|
inlinevirtual |
|
private |
|
private |
void EcalCondDBInterface::dummy | ( | ) |
Definition at line 919 of file EcalCondDBInterface.cc.
CaliIOV EcalCondDBInterface::fetchCaliIOV | ( | CaliTag * | tag, |
const Tm & | evenTm | ||
) | |||
throw | ( | std::runtime_error | |
) |
Return a Calibration IOV object
Definition at line 791 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, CaliIOV::setByTm(), IDBObject::setConnection(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
inline |
Definition at line 557 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
|
inline |
Definition at line 448 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
Referenced by EcalTPGDBApp::readFromConfDB_TPGPedestals().
|
inline |
Definition at line 580 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, and o2o::iov.
Referenced by EcalTPGParamBuilder::analyze(), ecaldqm::fetchAndFill(), EcalTPGDBApp::readFromCondDB_Pedestals(), and EcalTPGDBApp::readFromConfDB_TPGPedestals().
|
inline |
Definition at line 624 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, and o2o::iov.
|
inline |
Definition at line 601 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, and tree::t.
DCSPTMTempList EcalCondDBInterface::fetchDCSPTMTempList | ( | const EcalLogicID & | ecid | ) | |
throw | ( | std::runtime_error | |||
) |
Return a PTM Temp List
Definition at line 800 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, DCSPTMTempList::fetchValuesForECID(), alignCSCRings::r, and IDBObject::setConnection().
DCSPTMTempList EcalCondDBInterface::fetchDCSPTMTempList | ( | const EcalLogicID & | ecid, |
const Tm & | start, | ||
const Tm & | end | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 809 of file EcalCondDBInterface.cc.
References results_mgr::conn, end, web.browse_db::env, DCSPTMTempList::fetchValuesForECIDAndTime(), alignCSCRings::r, IDBObject::setConnection(), and dqm_diff::start.
DCUIOV EcalCondDBInterface::fetchDCUIOV | ( | DCUTag * | tag, |
const Tm & | evenTm | ||
) | |||
throw | ( | std::runtime_error | |
) |
Return a DCU IOV object
Definition at line 736 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, DCUIOV::setByTm(), IDBObject::setConnection(), and GlobalPosition_Frontier_DevDB_cff::tag.
std::list< ODDelaysDat > EcalCondDBInterface::fetchFEDelaysForRun | ( | RunIOV * | iov | ) | |
throw | ( | std::runtime_error | |||
) |
Return run Fe Config Dat objects for a given run
Definition at line 106 of file EcalCondDBInterface.cc.
References results_mgr::conn, ztail::d, alignCSCRings::e, web.browse_db::env, RunFEConfigDat::fetchData(), ODDelaysDat::fetchData(), ODFEDAQConfig::fetchData(), ODFEDAQConfig::getDelayId(), i, o2o::iov, run_regression::ret, IDBObject::setConnection(), ODFEDAQConfig::setId(), and groupFilesInBlocks::temp.
RunList EcalCondDBInterface::fetchGlobalRunListByLocation | ( | const RunTag & | tag, |
int | min_run, | ||
int | max_run, | ||
const LocationDef & | locDef | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 861 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, RunList::fetchGlobalRunsByLocation(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
inline |
Definition at line 464 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
RunIOV EcalCondDBInterface::fetchLMFLastRun | ( | ) | const |
Definition at line 745 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and LMFSeqDat::fetchLastRun().
LMFRunIOV EcalCondDBInterface::fetchLMFRunIOV | ( | RunTag * | runtag, |
LMFRunTag * | lmftag, | ||
run_t | run, | ||
subrun_t | lmfrun | ||
) | |||
throw | ( | std::runtime_error | |
) |
Return a laser monitoring farm run object
Definition at line 750 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, DTTTrigCorrFirst::run, and IDBObject::setConnection().
bool EcalCondDBInterface::fetchLMFRunIOV | ( | const LMFSeqDat & | seq, |
LMFRunIOV & | iov, | ||
int | lmr, | ||
int | type, | ||
int | color | ||
) | const |
Definition at line 760 of file EcalCondDBInterface.cc.
References results_mgr::conn, gather_cfg::cout, web.browse_db::env, LMFRunIOV::fetchBySequence(), LMFRunIOV::fetchLastBeforeSequence(), LMFUnique::getID(), ntuplemaker::iovlist, run_regression::ret, alignCSCRings::s, and IDBObject::setConnection().
MonRunIOV EcalCondDBInterface::fetchMonRunIOV | ( | RunTag * | runtag, |
MonRunTag * | montag, | ||
run_t | run, | ||
subrun_t | monrun | ||
) | |||
throw | ( | std::runtime_error | |
) |
Return a monitoring run object
Definition at line 724 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, DTTTrigCorrFirst::run, MonRunIOV::setByRun(), and IDBObject::setConnection().
Referenced by EcalCondDBWriter::dqmEndJob(), EcalCondDBReader::EcalCondDBReader(), and EcalPedOffset::writeDb().
MonRunList EcalCondDBInterface::fetchMonRunList | ( | const RunTag & | tag, |
const MonRunTag & | monruntag | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 884 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, MonRunList::fetchRuns(), alignCSCRings::r, IDBObject::setConnection(), MonRunList::setMonRunTag(), MonRunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
MonRunList EcalCondDBInterface::fetchMonRunList | ( | const RunTag & | tag, |
const MonRunTag & | monruntag, | ||
int | min_run, | ||
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 895 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, MonRunList::fetchRuns(), alignCSCRings::r, IDBObject::setConnection(), MonRunList::setMonRunTag(), MonRunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
MonRunList EcalCondDBInterface::fetchMonRunListLastNRuns | ( | const RunTag & | tag, |
const MonRunTag & | monruntag, | ||
int | max_run, | ||
int | n_runs | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 906 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, MonRunList::fetchLastNRuns(), alignCSCRings::r, IDBObject::setConnection(), MonRunList::setMonRunTag(), MonRunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EcalTPGDBApp::readFromCondDB_Pedestals().
RunList EcalCondDBInterface::fetchNonEmptyGlobalRunList | ( | const RunTag & | tag, |
int | min_run, | ||
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 844 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, RunList::fetchNonEmptyGlobalRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
RunList EcalCondDBInterface::fetchNonEmptyRunList | ( | const RunTag & | tag, |
int | min_run, | ||
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 836 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, RunList::fetchNonEmptyRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
Return a run IOV object for a given tag
Definition at line 666 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, o2o::iov, DTTTrigCorrFirst::run, RunIOV::setByRun(), IDBObject::setConnection(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EcalCondDBWriter::dqmEndJob(), EcalCondDBReader::EcalCondDBReader(), and EcalPedOffset::writeDb().
RunIOV EcalCondDBInterface::fetchRunIOV | ( | std::string | location, |
run_t | run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Return a run IOV object for a given location. It is not guarunteed that a run is unique for a location only, so an exception is thrown if more than one result exists.
Definition at line 677 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, o2o::iov, DTTTrigCorrFirst::run, RunIOV::setByRun(), and IDBObject::setConnection().
RunIOV EcalCondDBInterface::fetchRunIOV | ( | std::string | location, |
const Tm & | t | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 686 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, o2o::iov, RunIOV::setByTime(), IDBObject::setConnection(), and tree::t.
Return a Run List
Definition at line 818 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, RunList::fetchRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
RunList EcalCondDBInterface::fetchRunList | ( | const RunTag & | tag, |
int | min_run, | ||
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 828 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, RunList::fetchRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
RunList EcalCondDBInterface::fetchRunListByLocation | ( | const RunTag & | tag, |
int | min_run, | ||
int | max_run, | ||
const LocationDef & | locDef | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 852 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, RunList::fetchRunsByLocation(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
RunList EcalCondDBInterface::fetchRunListLastNRuns | ( | const RunTag & | tag, |
int | max_run, | ||
int | n_runs | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 870 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, RunList::fetchLastNRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
inline |
Definition at line 646 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, DTTTrigCorrFirst::run, and GlobalPosition_Frontier_DevDB_cff::tag.
|
inline |
Definition at line 670 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, and DTTTrigCorrFirst::run.
|
private |
Private method: fill a private map used to associate logicIds to DetIds
Definition at line 28 of file EcalCondDBInterface.cc.
References EcalLogicID::NULLID.
Referenced by getDetId2LogicIdMap(), getDetIdFromLogicId(), getLogicId2DetIdMap(), and getLogicIdFromDetId().
|
inline |
Return a date handler associated with this connection
Definition at line 104 of file EcalCondDBInterface.h.
References dh.
|
inline |
Definition at line 715 of file EcalCondDBInterface.h.
References _detId2LogicId, _logicId2DetId, and fillLogicId2DetIdMaps().
|
inline |
Definition at line 686 of file EcalCondDBInterface.h.
References _logicId2DetId, cond::rpcobgas::detid, and fillLogicId2DetIdMaps().
EcalLogicID EcalCondDBInterface::getEcalLogicID | ( | std::string | name, |
int | id1 = EcalLogicID::NULLID , |
||
int | id2 = EcalLogicID::NULLID , |
||
int | id3 = EcalLogicID::NULLID , |
||
std::string | mapsTo = "" |
||
) | |||
throw | ( | std::runtime_error | |
) |
Look up the "human readable" ids and return an EcalLogicID object which contains the "database readable" logic_id === Parameters === name: name of the channel type you are specifying id1, id2, id3: ids of the channel type mapsTo: name of the channel type you are mapping to
Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalLaserHandler::dumpBarrelPayload(), popcon::EcalLaserHandler::dumpEndcapPayload(), and EcalPedOffset::writeDb().
EcalLogicID EcalCondDBInterface::getEcalLogicID | ( | int | logicID | ) | |
throw | ( | std::runtime_error | |||
) |
Look up the database logic_id and return the EcalLogicID object which contains the "human readable" ids === Parameters === logicID: DB logic_id
Definition at line 69 of file EcalCondDBInterface.cc.
References alignCSCRings::e, visualization-live-secondInstance_cfg::msg, mergeVDriftHistosByStation::name, and EcalLogicID::NULLID.
std::map< int, int > EcalCondDBInterface::getEcalLogicID2LmrMap | ( | ) |
Definition at line 294 of file EcalCondDBInterface.cc.
References i, EcalLogicID::NULLID, and run_regression::ret.
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMPN | ( | int | lmr_logic_id | ) |
Definition at line 388 of file EcalCondDBInterface.cc.
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMPN | ( | const EcalLogicID & | lmr_logic_id | ) |
Definition at line 396 of file EcalCondDBInterface.cc.
References EcalLogicID::getLogicID().
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMR | ( | int | lmr_logic_id | ) |
Definition at line 380 of file EcalCondDBInterface.cc.
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMR | ( | const EcalLogicID & | lmr_logic_id | ) |
Definition at line 384 of file EcalCondDBInterface.cc.
References EcalLogicID::getLogicID().
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDMappedTo | ( | int | logic_id, |
std::string | maps_to | ||
) |
Build various reverse maps Map an LMR, or a Ex_LM_PN into the set of components
Definition at line 333 of file EcalCondDBInterface.cc.
References IDBObject::ECALDB_NROWS, mergeVDriftHistosByStation::name, EcalLogicID::NULLID, run_regression::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDSet | ( | std::string | name, |
int | fromId1 = EcalLogicID::NULLID , |
||
int | toId1 = EcalLogicID::NULLID , |
||
int | fromId2 = EcalLogicID::NULLID , |
||
int | toId2 = EcalLogicID::NULLID , |
||
int | fromId3 = EcalLogicID::NULLID , |
||
int | toId3 = EcalLogicID::NULLID , |
||
std::string | mapsTo = "" |
||
) | |||
throw | ( | std::runtime_error | |
) |
Get a set of EcalLogicID in one transaction === Parameters === name: name of the channel type you are specifying fromId1, toId1: Range of id1 in the DB to retrieve fromId2, toId2: Range of id2 in the DB to retrieve fromId3, toId3: Range of id3 in the DB to retrieve string mapsTo: channel type name these ids map to
Definition at line 202 of file EcalCondDBInterface.cc.
References IDBObject::ECALDB_NROWS, i, mergeVDriftHistosByStation::name, EcalLogicID::NULLID, query::result, and contentValuesCheck::ss.
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDSetOrdered | ( | std::string | name, |
int | fromId1, | ||
int | toId1, | ||
int | fromId2 = EcalLogicID::NULLID , |
||
int | toId2 = EcalLogicID::NULLID , |
||
int | fromId3 = EcalLogicID::NULLID , |
||
int | toId3 = EcalLogicID::NULLID , |
||
std::string | mapsTo = "" , |
||
int | orderedBy = EcalLogicID::NULLID |
||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 400 of file EcalCondDBInterface.cc.
References IDBObject::ECALDB_NROWS, i, mergeVDriftHistosByStation::name, EcalLogicID::NULLID, query::result, and contentValuesCheck::ss.
Referenced by EcalTPGParamBuilder::analyze().
|
inline |
Definition at line 708 of file EcalCondDBInterface.h.
References _logicId2DetId, and fillLogicId2DetIdMaps().
|
inline |
Definition at line 697 of file EcalCondDBInterface.h.
References _detId2LogicId, _logicId2DetId, and fillLogicId2DetIdMaps().
|
inline |
Definition at line 521 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, data, alignCSCRings::e, and EcalDBConnection::env.
Referenced by EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 482 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, data, alignCSCRings::e, EcalDBConnection::env, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 424 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, alignCSCRings::e, and EcalDBConnection::env.
Referenced by EcalTPGDBApp::writeToConfDB_Delay(), EcalTPGDBApp::writeToConfDB_Spike(), EcalTPGDBApp::writeToConfDB_TPGFgr(), EcalTPGDBApp::writeToConfDB_TPGLinearCoef(), EcalTPGDBApp::writeToConfDB_TPGLUT(), EcalTPGDBApp::writeToConfDB_TPGMain(), EcalTPGDBApp::writeToConfDB_TPGPedestals(), EcalTPGDBApp::writeToConfDB_TPGSliding(), EcalTPGDBApp::writeToConfDB_TPGWeight(), and EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 347 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, data, alignCSCRings::e, EcalDBConnection::env, and o2o::iov.
Referenced by ecaldqm::IntegrityWriter::run(), ecaldqm::LaserWriter::run(), ecaldqm::PedestalWriter::run(), ecaldqm::PresampleWriter::run(), ecaldqm::TestPulseWriter::run(), ecaldqm::TimingWriter::run(), ecaldqm::LedWriter::run(), ecaldqm::OccupancyWriter::run(), EcalTPGDBApp::writeToConfDB_Delay(), EcalTPGDBApp::writeToConfDB_Spike(), EcalTPGDBApp::writeToConfDB_TPGFgr(), EcalTPGDBApp::writeToConfDB_TPGLinearCoef(), EcalTPGDBApp::writeToConfDB_TPGLUT(), EcalTPGDBApp::writeToConfDB_TPGPedestals(), EcalTPGDBApp::writeToConfDB_TPGSliding(), and EcalTPGDBApp::writeToConfDB_TPGWeight().
|
inline |
Definition at line 307 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, alignCSCRings::e, EcalDBConnection::env, o2o::iov, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by ecaldqm::TestPulseWriter::run(), ecaldqm::SummaryWriter::run(), and EcalPedOffset::writeDb().
|
inline |
Definition at line 382 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, data, alignCSCRings::e, EcalDBConnection::env, and i.
void EcalCondDBInterface::insertDCUIOV | ( | DCUIOV * | iov | ) | |
throw | ( | std::runtime_error | |||
) |
Insert a DCU IOV object. Nothing is committed in the event of an exception
Definition at line 708 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
void EcalCondDBInterface::insertLmfDat | ( | LMFDat * | dat | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 570 of file EcalCondDBInterface.cc.
References results_mgr::conn, and web.browse_db::env.
Definition at line 583 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and i.
void EcalCondDBInterface::insertLmfIOV | ( | LMFIOV * | iov | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 557 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
void EcalCondDBInterface::insertLmfLmrSubIOV | ( | LMFLmrSubIOV * | iov | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 544 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
void EcalCondDBInterface::insertLmfRunIOV | ( | LMFRunIOV * | iov | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 601 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
void EcalCondDBInterface::insertLmfSeq | ( | LMFSeqDat * | iov | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 531 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
void EcalCondDBInterface::insertMonRunIOV | ( | MonRunIOV * | iov | ) | |
throw | ( | std::runtime_error | |||
) |
Insert a monitoring run object. Nothing is committed in the event of an exception
Definition at line 695 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
Referenced by EcalCondDBWriter::dqmEndJob().
void EcalCondDBInterface::insertRunIOV | ( | RunIOV * | iov | ) | |
throw | ( | std::runtime_error | |||
) |
Insert a run IOV object. Nothing is committed in the event of an exception
Definition at line 518 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
Referenced by EcalCondDBWriter::dqmEndJob().
void EcalCondDBInterface::updateRunConfig | ( | ODRunConfigInfo * | od | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 653 of file EcalCondDBInterface.cc.
References results_mgr::conn, and web.browse_db::env.
void EcalCondDBInterface::updateRunIOV | ( | RunIOV * | iov | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 614 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
void EcalCondDBInterface::updateRunIOVEndTime | ( | RunIOV * | iov | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 627 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
void EcalCondDBInterface::updateRunIOVStartTime | ( | RunIOV * | iov | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 640 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
|
private |
Definition at line 742 of file EcalCondDBInterface.h.
Referenced by getDetId2LogicIdMap(), and getLogicIdFromDetId().
|
private |
Definition at line 741 of file EcalCondDBInterface.h.
Referenced by getDetId2LogicIdMap(), getDetIdFromLogicId(), getLogicId2DetIdMap(), and getLogicIdFromDetId().
|
private |
Definition at line 736 of file EcalCondDBInterface.h.
Referenced by EcalCondDBInterface(), getDateHandler(), and ~EcalCondDBInterface().