#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 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.
|
inlineoverridenoexcept |
|
privatedelete |
|
privatedelete |
void EcalCondDBInterface::dummy | ( | ) |
Definition at line 919 of file EcalCondDBInterface.cc.
Referenced by getDetId2LogicIdMap().
Return a Calibration IOV object
Definition at line 791 of file EcalCondDBInterface.cc.
References web.browse_db::env, CaliIOV::setByTm(), IDBObject::setConnection(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler().
|
inlinenoexcept |
Definition at line 557 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
Referenced by popcon::EcalChannelStatusHandler::daqOut(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGBadStripHandler::getNewObjects(), and popcon::EcalTPGBadXTHandler::getNewObjects().
|
inlinenoexcept |
Definition at line 448 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
Referenced by popcon::EcalChannelStatusHandler::daqOut(), popcon::EcalSRPHandler::getNewObjects(), and popcon::EcalDAQHandler::getNewObjects().
|
inlinenoexcept |
Definition at line 580 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalChannelStatusHandler::daqOut(), ecaldqm::fetchAndFill(), popcon::EcalSRPHandler::getNewObjects(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), popcon::EcalADCToGeVHandler::getNewObjects(), popcon::EcalDCSHandler::getNewObjects(), popcon::EcalChannelStatusHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), and popcon::EcalPedestalsHandler::getNewObjectsP5().
|
inlinenoexcept |
Definition at line 624 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
|
inlinenoexcept |
Definition at line 601 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, and EcalDBConnection::env.
|
noexcept |
Return a PTM Temp List
Definition at line 800 of file EcalCondDBInterface.cc.
References web.browse_db::env, DCSPTMTempList::fetchValuesForECID(), alignCSCRings::r, and IDBObject::setConnection().
Referenced by getDateHandler().
|
noexcept |
Definition at line 809 of file EcalCondDBInterface.cc.
References end, web.browse_db::env, DCSPTMTempList::fetchValuesForECIDAndTime(), alignCSCRings::r, and IDBObject::setConnection().
Return a DCU IOV object
Definition at line 736 of file EcalCondDBInterface.cc.
References 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 106 of file EcalCondDBInterface.cc.
References edmIntegrityCheck::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, mps_check::msg, dataset::name, noexcept, EcalLogicID::NULLID, IDBObject::setConnection(), ODFEDAQConfig::setId(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by getDateHandler().
|
noexcept |
Definition at line 861 of file EcalCondDBInterface.cc.
References 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::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), and popcon::EcalTPGSpikeThresholdHandler::getNewObjects().
|
inlinenoexcept |
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 web.browse_db::env, and LMFSeqDat::fetchLastRun().
Referenced by getDateHandler().
|
noexcept |
Return a laser monitoring farm run object
Definition at line 750 of file EcalCondDBInterface.cc.
References 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 760 of file EcalCondDBInterface.cc.
References gather_cfg::cout, web.browse_db::env, LMFRunIOV::fetchBySequence(), LMFRunIOV::fetchLastBeforeSequence(), LMFUnique::getID(), ntuplemaker::iovlist, alignCSCRings::s, and IDBObject::setConnection().
|
noexcept |
Return a monitoring run object
Definition at line 724 of file EcalCondDBInterface.cc.
References 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 884 of file EcalCondDBInterface.cc.
References 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 895 of file EcalCondDBInterface.cc.
References web.browse_db::env, MonRunList::fetchRuns(), alignCSCRings::r, IDBObject::setConnection(), MonRunList::setMonRunTag(), MonRunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
noexcept |
Definition at line 906 of file EcalCondDBInterface.cc.
References 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 844 of file EcalCondDBInterface.cc.
References 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 836 of file EcalCondDBInterface.cc.
References 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 666 of file EcalCondDBInterface.cc.
References 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 677 of file EcalCondDBInterface.cc.
References web.browse_db::env, writedatasetfile::run, RunIOV::setByRun(), and IDBObject::setConnection().
Definition at line 686 of file EcalCondDBInterface.cc.
References web.browse_db::env, RunIOV::setByTime(), IDBObject::setConnection(), and protons_cff::t.
Return a Run List
Definition at line 818 of file EcalCondDBInterface.cc.
References web.browse_db::env, RunList::fetchRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by getDateHandler().
Definition at line 828 of file EcalCondDBInterface.cc.
References web.browse_db::env, RunList::fetchRuns(), alignCSCRings::r, IDBObject::setConnection(), RunList::setRunTag(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
noexcept |
Definition at line 852 of file EcalCondDBInterface.cc.
References 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 870 of file EcalCondDBInterface.cc.
References 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 646 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 670 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, EcalDBConnection::env, 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 104 of file EcalCondDBInterface.h.
References create_public_lumi_plots::color, 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(), dataset::name, noexcept, EcalLogicID::NULLID, writedatasetfile::run, AlCaHLTBitMon_QueryRunRegistry::string, protons_cff::t, GlobalPosition_Frontier_DevDB_cff::tag, updateRunConfig(), updateRunIOV(), updateRunIOVEndTime(), and updateRunIOVStartTime().
|
inline |
Definition at line 715 of file EcalCondDBInterface.h.
References _detId2LogicId, _logicId2DetId, dummy(), and fillLogicId2DetIdMaps().
|
inline |
Definition at line 686 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 69 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, globals_cff::id1, globals_cff::id2, mps_check::msg, dataset::name, EcalLogicID::NULLID, and AlCaHLTBitMon_QueryRunRegistry::string.
std::map< int, int > EcalCondDBInterface::getEcalLogicID2LmrMap | ( | ) |
Definition at line 294 of file EcalCondDBInterface.cc.
References mps_fire::i, and EcalLogicID::NULLID.
Referenced by getDateHandler(), and popcon::EcalLaserHandler::getNewObjects().
std::vector< EcalLogicID > EcalCondDBInterface::getEcalLogicIDForLMPN | ( | int | lmr_logic_id | ) |
Definition at line 388 of file EcalCondDBInterface.cc.
Referenced by getDateHandler().
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.
Referenced by getDateHandler().
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 MillePedeFileConverter_cfg::e, IDBObject::ECALDB_NROWS, globals_cff::id1, globals_cff::id2, dataset::name, EcalLogicID::NULLID, 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 202 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, IDBObject::ECALDB_NROWS, mps_fire::i, globals_cff::id1, globals_cff::id2, dataset::name, EcalLogicID::NULLID, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by popcon::EcalChannelStatusHandler::daqOut(), and getDateHandler().
|
noexcept |
Definition at line 400 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, IDBObject::ECALDB_NROWS, mps_fire::i, globals_cff::id1, globals_cff::id2, dataset::name, EcalLogicID::NULLID, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EcalTPGParamBuilder::analyze(), getDateHandler(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalLaserHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), and popcon::EcalDCSHandler::getNewObjects().
|
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().
|
inlinenoexcept |
Definition at line 521 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 482 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, data, MillePedeFileConverter_cfg::e, EcalDBConnection::env, and AlCaHLTBitMon_ParallelJobs::p.
|
inlinenoexcept |
Definition at line 424 of file EcalCondDBInterface.h.
References EcalDBConnection::conn, gather_cfg::cout, MillePedeFileConverter_cfg::e, and EcalDBConnection::env.
Referenced by EcalDccWeightBuilder::writeWeightToDB().
|
inlinenoexcept |
Definition at line 347 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 307 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 382 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 708 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 570 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
Definition at line 583 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, web.browse_db::env, and mps_fire::i.
|
noexcept |
Definition at line 557 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 544 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 601 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 531 of file EcalCondDBInterface.cc.
References 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 695 of file EcalCondDBInterface.cc.
References 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 518 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by EcalCondDBWriter::dqmEndJob(), and getDateHandler().
|
noexcept |
Definition at line 653 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 614 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 627 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
noexcept |
Definition at line 640 of file EcalCondDBInterface.cc.
References MillePedeFileConverter_cfg::e, and web.browse_db::env.
Referenced by getDateHandler().
|
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().