![]() |
![]() |
#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, 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, Tm t) throw (std::runtime_error) |
DCSPTMTempList | fetchDCSPTMTempList (EcalLogicID ecid) throw (std::runtime_error) |
DCSPTMTempList | fetchDCSPTMTempList (EcalLogicID ecid, Tm start, Tm end) throw (std::runtime_error) |
DCUIOV | fetchDCUIOV (DCUTag *tag, Tm evenTm) throw (std::runtime_error) |
std::list< ODDelaysDat > | fetchFEDelaysForRun (RunIOV *iov) throw (std::runtime_error) |
RunList | fetchGlobalRunListByLocation (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 (RunTag tag, MonRunTag monruntag) throw (std::runtime_error) |
MonRunList | fetchMonRunList (RunTag tag, MonRunTag monruntag, int min_run, int max_run) throw (std::runtime_error) |
MonRunList | fetchMonRunListLastNRuns (RunTag tag, MonRunTag monruntag, int max_run, int n_runs) throw (std::runtime_error) |
RunList | fetchNonEmptyGlobalRunList (RunTag tag, int min_run, int max_run) throw (std::runtime_error) |
RunList | fetchNonEmptyRunList (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 (RunTag tag) throw (std::runtime_error) |
RunList | fetchRunList (RunTag tag, int min_run, int max_run) throw (std::runtime_error) |
RunList | fetchRunListByLocation (RunTag tag, int min_run, int max_run, const LocationDef locDef) throw (std::runtime_error) |
RunList | fetchRunListLastNRuns (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 (std::vector< EcalLogicID > ecid, std::vector< IOVT > run_iov, 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) |
![]() | |
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 | |
![]() | |
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 39 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 55 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 77 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, dh, and EcalDBConnection::env.
|
inlinevirtual |
|
private |
|
private |
void EcalCondDBInterface::dummy | ( | ) |
Definition at line 920 of file EcalCondDBInterface.cc.
Return a Calibration IOV object
Definition at line 792 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 558 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, and edm::pset::fillMap().
|
inline |
Definition at line 449 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
Referenced by EcalTPGDBApp::readFromConfDB_TPGPedestals().
|
inline |
Definition at line 581 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, edm::pset::fillMap(), and o2o::iov.
Referenced by EcalTPGParamBuilder::analyze(), EcalEndcapMonitorClient::endRunDb(), EcalBarrelMonitorClient::endRunDb(), EcalTPGDBApp::readFromCondDB_Pedestals(), and EcalTPGDBApp::readFromConfDB_TPGPedestals().
|
inline |
Definition at line 625 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, edm::pset::fillMap(), and o2o::iov.
|
inline |
Definition at line 602 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, edm::pset::fillMap(), and lumiQTWidget::t.
DCSPTMTempList EcalCondDBInterface::fetchDCSPTMTempList | ( | EcalLogicID | ecid | ) | |
throw | ( | std::runtime_error | |||
) |
Return a PTM Temp List
Definition at line 801 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, DCSPTMTempList::fetchValuesForECID(), alignCSCRings::r, and IDBObject::setConnection().
DCSPTMTempList EcalCondDBInterface::fetchDCSPTMTempList | ( | EcalLogicID | ecid, |
Tm | start, | ||
Tm | end | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 810 of file EcalCondDBInterface.cc.
References results_mgr::conn, end, web.browse_db::env, DCSPTMTempList::fetchValuesForECIDAndTime(), alignCSCRings::r, IDBObject::setConnection(), and errorMatrix2Lands_multiChannel::start.
Return a DCU IOV object
Definition at line 737 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 107 of file EcalCondDBInterface.cc.
References results_mgr::conn, alignCSCRings::e, web.browse_db::env, RunFEConfigDat::fetchData(), ODDelaysDat::fetchData(), ODFEDAQConfig::fetchData(), edm::pset::fillMap(), ODFEDAQConfig::getDelayId(), i, o2o::iov, run_regression::ret, IDBObject::setConnection(), ODFEDAQConfig::setId(), and groupFilesInBlocks::temp.
RunList EcalCondDBInterface::fetchGlobalRunListByLocation | ( | RunTag | tag, |
int | min_run, | ||
int | max_run, | ||
const LocationDef | locDef | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 862 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 465 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
RunIOV EcalCondDBInterface::fetchLMFLastRun | ( | ) | const |
Definition at line 746 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 751 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 761 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 725 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, DTTTrigCorrFirst::run, MonRunIOV::setByRun(), and IDBObject::setConnection().
Referenced by EcalPedOffset::writeDb(), EcalEndcapMonitorClient::writeDb(), and EcalBarrelMonitorClient::writeDb().
MonRunList EcalCondDBInterface::fetchMonRunList | ( | RunTag | tag, |
MonRunTag | monruntag | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 885 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 | ( | RunTag | tag, |
MonRunTag | monruntag, | ||
int | min_run, | ||
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 896 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 | ( | RunTag | tag, |
MonRunTag | monruntag, | ||
int | max_run, | ||
int | n_runs | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 907 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 | ( | RunTag | tag, |
int | min_run, | ||
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 845 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 | ( | RunTag | tag, |
int | min_run, | ||
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 837 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 667 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 EcalBarrelMonitorClient::beginRunDb(), EcalEndcapMonitorClient::beginRunDb(), 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 678 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 687 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, o2o::iov, RunIOV::setByTime(), IDBObject::setConnection(), and lumiQTWidget::t.
Return a Run List
Definition at line 819 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 | ( | RunTag | tag, |
int | min_run, | ||
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 829 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 | ( | RunTag | tag, |
int | min_run, | ||
int | max_run, | ||
const LocationDef | locDef | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 853 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 | ( | RunTag | tag, |
int | max_run, | ||
int | n_runs | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 871 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 647 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, DTTTrigCorrFirst::run, and GlobalPosition_Frontier_DevDB_cff::tag.
|
inline |
Definition at line 671 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 29 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 105 of file EcalCondDBInterface.h.
References dh.
|
inline |
Definition at line 716 of file EcalCondDBInterface.h.
References _detId2LogicId, _logicId2DetId, and fillLogicId2DetIdMaps().
|
inline |
Definition at line 687 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 70 of file EcalCondDBInterface.cc.
References alignCSCRings::e, lumiQueryAPI::msg, mergeVDriftHistosByStation::name, and EcalLogicID::NULLID.
std::map< int, int > EcalCondDBInterface::getEcalLogicID2LmrMap | ( | ) |
Definition at line 295 of file EcalCondDBInterface.cc.
References i, EcalLogicID::NULLID, and run_regression::ret.
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMPN | ( | int | lmr_logic_id | ) |
Definition at line 389 of file EcalCondDBInterface.cc.
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMPN | ( | const EcalLogicID & | lmr_logic_id | ) |
Definition at line 397 of file EcalCondDBInterface.cc.
References EcalLogicID::getLogicID().
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMR | ( | int | lmr_logic_id | ) |
Definition at line 381 of file EcalCondDBInterface.cc.
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMR | ( | const EcalLogicID & | lmr_logic_id | ) |
Definition at line 385 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 334 of file EcalCondDBInterface.cc.
References IDBObject::ECALDB_NROWS, mergeVDriftHistosByStation::name, EcalLogicID::NULLID, and run_regression::ret.
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 203 of file EcalCondDBInterface.cc.
References IDBObject::ECALDB_NROWS, Capri::details::from(), i, mergeVDriftHistosByStation::name, EcalLogicID::NULLID, and query::result.
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 401 of file EcalCondDBInterface.cc.
References IDBObject::ECALDB_NROWS, Capri::details::from(), i, mergeVDriftHistosByStation::name, EcalLogicID::NULLID, and query::result.
Referenced by EcalTPGParamBuilder::analyze().
|
inline |
Definition at line 709 of file EcalCondDBInterface.h.
References _logicId2DetId, and fillLogicId2DetIdMaps().
|
inline |
Definition at line 698 of file EcalCondDBInterface.h.
References _detId2LogicId, _logicId2DetId, and fillLogicId2DetIdMaps().
|
inline |
Definition at line 522 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, data, alignCSCRings::e, and EcalDBConnection::env.
Referenced by EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 483 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, data, alignCSCRings::e, EcalDBConnection::env, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 425 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 348 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, data, alignCSCRings::e, EcalDBConnection::env, and o2o::iov.
Referenced by 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 308 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, alignCSCRings::e, EcalDBConnection::env, o2o::iov, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by EcalBarrelMonitorClient::endRunDb(), EcalEndcapMonitorClient::endRunDb(), EcalPedOffset::writeDb(), EcalEndcapMonitorClient::writeDb(), and EcalBarrelMonitorClient::writeDb().
|
inline |
Definition at line 383 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 709 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 571 of file EcalCondDBInterface.cc.
References results_mgr::conn, and web.browse_db::env.
Definition at line 584 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 558 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 545 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 602 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 532 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 696 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
Referenced by EcalBarrelMonitorClient::writeDb(), and EcalEndcapMonitorClient::writeDb().
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 519 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
Referenced by EcalBarrelMonitorClient::beginRunDb(), and EcalEndcapMonitorClient::beginRunDb().
void EcalCondDBInterface::updateRunConfig | ( | ODRunConfigInfo * | od | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 654 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 615 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 628 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 641 of file EcalCondDBInterface.cc.
References results_mgr::conn, web.browse_db::env, and o2o::iov.
|
private |
Definition at line 743 of file EcalCondDBInterface.h.
Referenced by getDetId2LogicIdMap(), and getLogicIdFromDetId().
|
private |
Definition at line 742 of file EcalCondDBInterface.h.
Referenced by getDetId2LogicIdMap(), getDetIdFromLogicId(), getLogicId2DetIdMap(), and getLogicIdFromDetId().
|
private |
Definition at line 737 of file EcalCondDBInterface.h.
Referenced by EcalCondDBInterface(), getDateHandler(), and ~EcalCondDBInterface().