#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) noexcept(false) |
template<class DATT , class ICONF > | |
void | fetchConfigDataSet (std::vector< DATT > *fillMap, ICONF *iconf) noexcept(false) |
template<class ICONF > | |
void | fetchConfigSet (ICONF *iconf) noexcept(false) |
template<class DATT , class IOVT > | |
void | fetchDataSet (std::map< EcalLogicID, DATT > *fillMap, IOVT *iov) noexcept(false) |
template<class DATT , class IOVT > | |
void | fetchDataSetWithMap (std::map< EcalLogicID, DATT > *fillMap, IOVT *iov, std::string mapping_name) noexcept(false) |
template<class DATT > | |
void | fetchDCSDataSet (std::list< std::pair< Tm, std::map< EcalLogicID, DATT > > > *fillMap, const Tm &t) noexcept(false) |
DCSPTMTempList | fetchDCSPTMTempList (const EcalLogicID &ecid) noexcept(false) |
DCSPTMTempList | fetchDCSPTMTempList (const EcalLogicID &ecid, const Tm &start, const Tm &end) noexcept(false) |
DCUIOV | fetchDCUIOV (DCUTag *tag, const Tm &evenTm) noexcept(false) |
std::list< ODDelaysDat > | fetchFEDelaysForRun (RunIOV *iov) noexcept(false) |
RunList | fetchGlobalRunListByLocation (const RunTag &tag, int min_run, int max_run, const LocationDef &locDef) noexcept(false) |
template<class ICONF > | |
void | fetchLastConfigSet (ICONF *iconf) noexcept(false) |
RunIOV | fetchLMFLastRun () const |
LMFRunIOV | fetchLMFRunIOV (RunTag *runtag, LMFRunTag *lmftag, run_t run, subrun_t lmfrun) noexcept(false) |
bool | fetchLMFRunIOV (const LMFSeqDat &, LMFRunIOV &, int lmr, int type, int color) const |
MonRunIOV | fetchMonRunIOV (RunTag *runtag, MonRunTag *montag, run_t run, subrun_t monrun) noexcept(false) |
MonRunList | fetchMonRunList (const RunTag &tag, const MonRunTag &monruntag) noexcept(false) |
MonRunList | fetchMonRunList (const RunTag &tag, const MonRunTag &monruntag, int min_run, int max_run) noexcept(false) |
MonRunList | fetchMonRunListLastNRuns (const RunTag &tag, const MonRunTag &monruntag, int max_run, int n_runs) noexcept(false) |
RunList | fetchNonEmptyGlobalRunList (const RunTag &tag, int min_run, int max_run) noexcept(false) |
RunList | fetchNonEmptyRunList (const RunTag &tag, int min_run, int max_run) noexcept(false) |
RunIOV | fetchRunIOV (RunTag *tag, run_t run) noexcept(false) |
RunIOV | fetchRunIOV (std::string location, run_t run) noexcept(false) |
RunIOV | fetchRunIOV (std::string location, const Tm &t) noexcept(false) |
RunList | fetchRunList (const RunTag &tag) noexcept(false) |
RunList | fetchRunList (const RunTag &tag, int min_run, int max_run) noexcept(false) |
RunList | fetchRunListByLocation (const RunTag &tag, int min_run, int max_run, const LocationDef &locDef) noexcept(false) |
RunList | fetchRunListLastNRuns (const RunTag &tag, int max_run, int n_runs) noexcept(false) |
template<class DATT , class IOVT > | |
void | fetchValidDataSet (std::map< EcalLogicID, DATT > *fillMap, IOVT *fillIOV, RunTag *tag, run_t run=(unsigned int)-1) noexcept(false) |
template<class DATT , class IOVT > | |
void | fetchValidDataSet (std::map< EcalLogicID, DATT > *fillMap, IOVT *fillIOV, std::string location, run_t run=(unsigned int)-1) noexcept(false) |
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="") noexcept(false) |
EcalLogicID | getEcalLogicID (int logicID) noexcept(false) |
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="") noexcept(false) |
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) noexcept(false) |
std::map< int, int > | getLogicId2DetIdMap () |
int | getLogicIdFromDetId (int det_id) |
template<class DATT , class ICONF > | |
void | insertConfigDataArraySet (const std::vector< DATT > &data, ICONF *iconf) noexcept(false) |
template<class DATT , class ICONF > | |
void | insertConfigDataSet (const std::vector< DATT > data, ICONF *iconf) noexcept(false) |
template<class ICONF > | |
void | insertConfigSet (ICONF *iconf) noexcept(false) |
template<class DATT , class IOVT > | |
void | insertDataArraySet (const std::map< EcalLogicID, DATT > *data, IOVT *iov) noexcept(false) |
template<class DATT , class IOVT > | |
void | insertDataSet (const std::map< EcalLogicID, DATT > *data, IOVT *iov) noexcept(false) |
template<class DATT , class IOVT > | |
void | insertDataSetVector (const std::vector< EcalLogicID > &ecid, const std::vector< IOVT > &run_iov, const std::vector< DATT > &data) noexcept(false) |
void | insertDCUIOV (DCUIOV *iov) noexcept(false) |
void | insertLmfDat (LMFDat *dat) noexcept(false) |
void | insertLmfDat (std::list< LMFDat * > dat) noexcept(false) |
void | insertLmfIOV (LMFIOV *iov) noexcept(false) |
void | insertLmfLmrSubIOV (LMFLmrSubIOV *iov) noexcept(false) |
void | insertLmfRunIOV (LMFRunIOV *iov) noexcept(false) |
void | insertLmfSeq (LMFSeqDat *iov) noexcept(false) |
void | insertMonRunIOV (MonRunIOV *iov) noexcept(false) |
void | insertRunIOV (RunIOV *iov) noexcept(false) |
void | updateRunConfig (ODRunConfigInfo *od) noexcept(false) |
void | updateRunIOV (RunIOV *iov) noexcept(false) |
void | updateRunIOVEndTime (RunIOV *iov) noexcept(false) |
void | updateRunIOVStartTime (RunIOV *iov) noexcept(false) |
~EcalCondDBInterface () noexcept(false) override | |
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) noexcept( false) | |
EcalDBConnection (std::string sid, std::string user, std::string pass) noexcept(false) | |
oracle::occi::Clob | getClobLocator () |
oracle::occi::Connection * | getConn () const |
oracle::occi::Environment * | getEnv () const |
void | rollback () |
void | terminateStatement (oracle::occi::Statement *stmt) |
virtual | ~EcalDBConnection () noexcept(false) |
Private Member Functions | |
EcalCondDBInterface ()=delete | |
EcalCondDBInterface (const EcalCondDBInterface ©)=delete | |
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 37 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 52 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 67 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, dh, and EcalDBConnection::env.
|
inlineoverridenoexcept |
|
privatedelete |
|
privatedelete |
void EcalCondDBInterface::dummy | ( | ) |
Return a Calibration IOV object
Definition at line 738 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, CaliIOV::setByTm(), IDBObject::setConnection(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler().
|
inlinenoexcept |
Definition at line 482 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
Referenced by popcon::EcalChannelStatusHandler::daqOut(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalDAQHandler::getNewObjects(), and popcon::EcalTPGBadXTHandler::getNewObjects().
|
inlinenoexcept |
Definition at line 387 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalChannelStatusHandler::daqOut(), popcon::EcalSRPHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), and popcon::EcalTPGLutGroupHandler::getNewObjects().
|
inlinenoexcept |
Definition at line 495 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalChannelStatusHandler::daqOut(), ecaldqm::fetchAndFill(), popcon::EcalSRPHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalADCToGeVHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), popcon::EcalDCSHandler::getNewObjects(), popcon::EcalChannelStatusHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), and popcon::EcalPedestalsHandler::getNewObjectsP5().
|
inlinenoexcept |
Definition at line 526 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
|
inlinenoexcept |
Definition at line 510 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
|
noexcept |
Return a PTM Temp List
Definition at line 745 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, DCSPTMTempList::fetchValuesForECID(), alignCSCRings::r, and IDBObject::setConnection().
Referenced by getDateHandler().
|
noexcept |
Definition at line 752 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, end, web.browse_db::env, DCSPTMTempList::fetchValuesForECIDAndTime(), alignCSCRings::r, and IDBObject::setConnection().
Return a DCU IOV object
Definition at line 685 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, DCUIOV::setByTm(), IDBObject::setConnection(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler().
|
noexcept |
Return run Fe Config Dat objects for a given run
Definition at line 102 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, ztail::d, MillePedeFileConverter_cfg::e, web.browse_db::env, RunFEConfigDat::fetchData(), ODDelaysDat::fetchData(), ODFEDAQConfig::fetchData(), ODFEDAQConfig::getDelayId(), getEcalLogicID(), mps_fire::i, globals_cff::id1, globals_cff::id2, dqmiolumiharvest::j, mps_check::msg, Skims_PA_cff::name, noexcept, EcalLogicID::NULLID, runTheMatrix::ret, IDBObject::setConnection(), ODFEDAQConfig::setId(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by getDateHandler().
|
noexcept |
Definition at line 804 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, RunList::fetchGlobalRunsByLocation(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), and popcon::EcalTPGSpikeThresholdHandler::getNewObjects().
|
inlinenoexcept |
Definition at line 399 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
RunIOV EcalCondDBInterface::fetchLMFLastRun | ( | ) | const |
Definition at line 692 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, and LMFSeqDat::fetchLastRun().
Referenced by getDateHandler().
|
noexcept |
Return a laser monitoring farm run object
Definition at line 697 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, writedatasetfile::run, and IDBObject::setConnection().
Referenced by getDateHandler().
bool EcalCondDBInterface::fetchLMFRunIOV | ( | const LMFSeqDat & | seq, |
LMFRunIOV & | iov, | ||
int | lmr, | ||
int | type, | ||
int | color | ||
) | const |
Definition at line 708 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, gather_cfg::cout, web.browse_db::env, LMFRunIOV::fetchBySequence(), LMFRunIOV::fetchLastBeforeSequence(), LMFUnique::getID(), ntuplemaker::iovlist, runTheMatrix::ret, alignCSCRings::s, and IDBObject::setConnection().
|
noexcept |
Return a monitoring run object
Definition at line 674 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, writedatasetfile::run, MonRunIOV::setByRun(), and IDBObject::setConnection().
Referenced by EcalCondDBWriter::dqmEndJob(), EcalCondDBReader::EcalCondDBReader(), getDateHandler(), and EcalPedOffset::writeDb().
|
noexcept |
Definition at line 825 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, MonRunList::fetchRuns(), alignCSCRings::r, IDBObject::setConnection(), MonRunList::setMonRunTag(), MonRunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler(), popcon::EcalChannelStatusHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), and popcon::EcalPedestalsHandler::getNewObjectsP5().
|
noexcept |
Definition at line 834 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, MonRunList::fetchRuns(), alignCSCRings::r, IDBObject::setConnection(), MonRunList::setMonRunTag(), MonRunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
noexcept |
Definition at line 846 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, MonRunList::fetchLastNRuns(), alignCSCRings::r, IDBObject::setConnection(), MonRunList::setMonRunTag(), MonRunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler().
|
noexcept |
Definition at line 785 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, RunList::fetchNonEmptyGlobalRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler().
|
noexcept |
Definition at line 777 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, RunList::fetchNonEmptyRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler().
Return a run IOV object for a given tag
Definition at line 631 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, writedatasetfile::run, RunIOV::setByRun(), IDBObject::setConnection(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EcalCondDBWriter::dqmEndJob(), EcalCondDBReader::EcalCondDBReader(), getDateHandler(), and EcalPedOffset::writeDb().
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 638 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, EcalCondDBWriter_cfi::location, writedatasetfile::run, RunIOV::setByRun(), and IDBObject::setConnection().
Definition at line 645 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, EcalCondDBWriter_cfi::location, RunIOV::setByTime(), IDBObject::setConnection(), and OrderedSet::t.
Return a Run List
Definition at line 761 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, RunList::fetchRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler().
Definition at line 769 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, RunList::fetchRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
noexcept |
Definition at line 793 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, RunList::fetchRunsByLocation(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler(), popcon::EcalSRPHandler::getNewObjects(), and popcon::EcalDAQHandler::getNewObjects().
|
noexcept |
Definition at line 815 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, web.browse_db::env, RunList::fetchLastNRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler().
|
inlinenoexcept |
Definition at line 545 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, writedatasetfile::run, IDBObject::setConnection(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by popcon::EcalADCToGeVHandler::getNewObjects(), and popcon::EcalDCSHandler::getNewObjects().
|
inlinenoexcept |
Definition at line 568 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, EcalCondDBWriter_cfi::location, writedatasetfile::run, and IDBObject::setConnection().
|
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 87 of file EcalCondDBInterface.h.
References dh, end, fetchCaliIOV(), fetchDCSPTMTempList(), fetchDCUIOV(), fetchFEDelaysForRun(), fetchGlobalRunListByLocation(), fetchLMFLastRun(), fetchLMFRunIOV(), fetchMonRunIOV(), fetchMonRunList(), fetchMonRunListLastNRuns(), fetchNonEmptyGlobalRunList(), fetchNonEmptyRunList(), fetchRunIOV(), fetchRunList(), fetchRunListByLocation(), fetchRunListLastNRuns(), getEcalLogicID(), getEcalLogicID2LmrMap(), getEcalLogicIDForLMPN(), getEcalLogicIDForLMR(), getEcalLogicIDMappedTo(), getEcalLogicIDSet(), getEcalLogicIDSetOrdered(), globals_cff::id1, globals_cff::id2, insertDCUIOV(), insertLmfDat(), insertLmfIOV(), insertLmfLmrSubIOV(), insertLmfRunIOV(), insertLmfSeq(), insertMonRunIOV(), insertRunIOV(), EcalCondDBWriter_cfi::location, Skims_PA_cff::name, noexcept, EcalLogicID::NULLID, writedatasetfile::run, AlCaHLTBitMon_QueryRunRegistry::string, OrderedSet::t, GlobalPosition_Frontier_DevDB_cff::tag, updateRunConfig(), updateRunIOV(), updateRunIOVEndTime(), and updateRunIOVStartTime().
|
inline |
Definition at line 612 of file EcalCondDBInterface.h.
References _detId2LogicId, _logicId2DetId, dummy(), and fillLogicId2DetIdMaps().
|
inline |
Definition at line 583 of file EcalCondDBInterface.h.
References _logicId2DetId, and fillLogicId2DetIdMaps().
|
noexcept |
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(), fetchFEDelaysForRun(), getDateHandler(), and EcalPedOffset::writeDb().
|
noexcept |
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 61 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, globals_cff::id1, globals_cff::id2, mps_check::msg, Skims_PA_cff::name, EcalLogicID::NULLID, and AlCaHLTBitMon_QueryRunRegistry::string.
std::map< int, int > EcalCondDBInterface::getEcalLogicID2LmrMap | ( | ) |
Definition at line 280 of file EcalCondDBInterface.cc.
References mps_fire::i, EcalLogicID::NULLID, and runTheMatrix::ret.
Referenced by getDateHandler(), and popcon::EcalLaserHandler::getNewObjects().
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMPN | ( | int | lmr_logic_id | ) |
Definition at line 376 of file EcalCondDBInterface.cc.
Referenced by getDateHandler().
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMPN | ( | const EcalLogicID & | lmr_logic_id | ) |
Definition at line 384 of file EcalCondDBInterface.cc.
References EcalLogicID::getLogicID().
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMR | ( | int | lmr_logic_id | ) |
Definition at line 368 of file EcalCondDBInterface.cc.
Referenced by getDateHandler().
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMR | ( | const EcalLogicID & | lmr_logic_id | ) |
Definition at line 372 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 314 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, IDBObject::ECALDB_NROWS, globals_cff::id1, globals_cff::id2, Skims_PA_cff::name, EcalLogicID::NULLID, runTheMatrix::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getDateHandler().
|
noexcept |
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 188 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, IDBObject::ECALDB_NROWS, mps_fire::i, globals_cff::id1, globals_cff::id2, dqmiolumiharvest::j, Skims_PA_cff::name, EcalLogicID::NULLID, mps_fire::result, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by popcon::EcalChannelStatusHandler::daqOut(), and getDateHandler().
|
noexcept |
Definition at line 388 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, IDBObject::ECALDB_NROWS, mps_fire::i, globals_cff::id1, globals_cff::id2, dqmiolumiharvest::j, Skims_PA_cff::name, EcalLogicID::NULLID, mps_fire::result, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EcalTPGParamBuilder::analyze(), getDateHandler(), popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalLaserHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), and popcon::EcalDCSHandler::getNewObjects().
|
inline |
Definition at line 605 of file EcalCondDBInterface.h.
References _logicId2DetId, and fillLogicId2DetIdMaps().
|
inline |
Definition at line 594 of file EcalCondDBInterface.h.
References _detId2LogicId, _logicId2DetId, and fillLogicId2DetIdMaps().
|
inlinenoexcept |
Definition at line 448 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, data, MillePedeFileConverter_cfg::e, and EcalDBConnection::env.
Referenced by EcalDccWeightBuilder::writeWeightToDB().
|
inlinenoexcept |
Definition at line 411 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, data, MillePedeFileConverter_cfg::e, EcalDBConnection::env, and AlCaHLTBitMon_ParallelJobs::p.
|
inlinenoexcept |
Definition at line 365 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, MillePedeFileConverter_cfg::e, and EcalDBConnection::env.
Referenced by EcalDccWeightBuilder::writeWeightToDB().
|
inlinenoexcept |
Definition at line 298 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, data, MillePedeFileConverter_cfg::e, EcalDBConnection::env, DCUIOV::fetchID(), DCUIOV::getID(), IDBObject::setConnection(), and DCUIOV::writeDB().
Referenced by ecaldqm::IntegrityWriter::run(), ecaldqm::LaserWriter::run(), ecaldqm::PedestalWriter::run(), ecaldqm::PresampleWriter::run(), ecaldqm::TestPulseWriter::run(), ecaldqm::TimingWriter::run(), ecaldqm::LedWriter::run(), and ecaldqm::OccupancyWriter::run().
|
inlinenoexcept |
Definition at line 260 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, data, MillePedeFileConverter_cfg::e, EcalDBConnection::env, DCUIOV::fetchID(), DCUIOV::getID(), AlCaHLTBitMon_ParallelJobs::p, IDBObject::setConnection(), and DCUIOV::writeDB().
Referenced by ecaldqm::TestPulseWriter::run(), ecaldqm::SummaryWriter::run(), and EcalPedOffset::writeDb().
|
inlinenoexcept |
Definition at line 331 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, data, MillePedeFileConverter_cfg::e, EcalDBConnection::env, and mps_fire::i.
|
noexcept |
Insert a DCU IOV object. Nothing is committed in the event of an exception
Definition at line 663 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 549 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
Definition at line 560 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, web.browse_db::env, and mps_fire::i.
|
noexcept |
Definition at line 538 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 527 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 576 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 516 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Insert a monitoring run object. Nothing is committed in the event of an exception
Definition at line 652 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by EcalCondDBWriter::dqmEndJob(), and getDateHandler().
|
noexcept |
Insert a run IOV object. Nothing is committed in the event of an exception
Definition at line 505 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by EcalCondDBWriter::dqmEndJob(), and getDateHandler().
|
noexcept |
Definition at line 620 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 587 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 598 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 609 of file EcalCondDBInterface.cc.
References SiStripCommissioningClient_cfg::conn, MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
private |
Definition at line 637 of file EcalCondDBInterface.h.
Referenced by getDetId2LogicIdMap(), and getLogicIdFromDetId().
|
private |
Definition at line 636 of file EcalCondDBInterface.h.
Referenced by getDetId2LogicIdMap(), getDetIdFromLogicId(), getLogicId2DetIdMap(), and getLogicIdFromDetId().
|
private |
Definition at line 631 of file EcalCondDBInterface.h.
Referenced by EcalCondDBInterface(), getDateHandler(), and ~EcalCondDBInterface().