#include <EcalDCSHandler.h>
Public Member Functions | |
int | detIDToLogicID (int, int, int) |
EcalDCSHandler (edm::ParameterSet const &) | |
void | getNewObjects () override |
int * | HVEELogicIDToDetID (int, int) const |
int * | HVLogicIDToDetID (int, int) const |
std::string | id () const override |
bool | insertHVDataSetToOffline (const std::map< EcalLogicID, RunDCSHVDat > *dataset, EcalDCSTowerStatus *dcs_temp) const |
bool | insertLVDataSetToOffline (const std::map< EcalLogicID, RunDCSLVDat > *dataset, EcalDCSTowerStatus *dcs_temp, const std::vector< EcalLogicID > &) const |
int * | LVLogicIDToDetID (int, int) const |
uint16_t | OffDBStatus (uint16_t dbStatus, int pos) |
void | printHVDataSet (const std::map< EcalLogicID, RunDCSHVDat > *dataset, int) const |
void | printLVDataSet (const std::map< EcalLogicID, RunDCSLVDat > *dataset, int) const |
uint16_t | updateHV (RunDCSHVDat *hv, uint16_t dbStatus, int modo=0) const |
uint16_t | updateLV (RunDCSLVDat *lv, uint16_t dbStatus) const |
~EcalDCSHandler () override | |
Public Member Functions inherited from popcon::PopConSourceHandler< EcalDCSTowerStatus > | |
void | initialize (const cond::persistency::Session &dbSession, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) |
Ref | lastPayload () const |
cond::LogDBEntry_t const & | logDBEntry () const |
std::pair< Container const *, std::string const > | operator() (const cond::persistency::Session &session, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) const |
PopConSourceHandler () | |
Container const & | returnData () |
cond::TagInfo_t const & | tagInfo () const |
std::string const & | userTextLog () const |
virtual | ~PopConSourceHandler () |
Public Attributes | |
EcalCondDBInterface * | econn |
Private Attributes | |
unsigned long | m_firstRun |
unsigned long | m_lastRun |
std::string | m_name |
std::string | m_pass |
std::string | m_sid |
std::string | m_user |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< EcalDCSTowerStatus > | |
typedef std::map< Time_t, std::shared_ptr< EcalDCSTowerStatus > > | Container |
typedef std::unique_ptr< EcalDCSTowerStatus > | Ref |
typedef PopConSourceHandler< EcalDCSTowerStatus > | self |
typedef cond::Time_t | Time_t |
typedef EcalDCSTowerStatus | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalDCSTowerStatus > | |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalDCSTowerStatus > | |
Container | m_iovs |
std::vector< std::pair< EcalDCSTowerStatus *, Time_t > > | m_to_transfer |
std::string | m_userTextLog |
Definition at line 48 of file EcalDCSHandler.h.
popcon::EcalDCSHandler::EcalDCSHandler | ( | edm::ParameterSet const & | ps | ) |
Definition at line 10 of file EcalDCSHandler.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), m_firstRun, m_lastRun, m_pass, m_sid, m_user, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 22 of file EcalDCSHandler.cc.
int popcon::EcalDCSHandler::detIDToLogicID | ( | int | iz, |
int | i, | ||
int | j | ||
) |
Definition at line 342 of file EcalDCSHandler.cc.
References mps_fire::i, dqmiolumiharvest::j, and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::sm().
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalDCSTowerStatus >.
Definition at line 652 of file EcalDCSHandler.cc.
References gather_cfg::cout, writedatasetfile::dataset, EcalBarrel, test_db_connect::econn, Exception, RunIOV::getRunNumber(), EcalTrigTowerDetId::hashedIndex(), mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, dqmiolumiharvest::j, isotrackApplyRegressor::k, EcalLogicID::NULLID, DetId::rawId(), EcalCondTowerObjectContainer< T >::setValue(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, dumpRecoGeometry_cfg::tagInfo, EcalTrigTowerDetId::validDetId(), and EcalScDetId::validDetId().
int * popcon::EcalDCSHandler::HVEELogicIDToDetID | ( | int | dee, |
int | chan | ||
) | const |
Definition at line 374 of file EcalDCSHandler.cc.
References officialStyle::chan, and mps_fire::result.
int * popcon::EcalDCSHandler::HVLogicIDToDetID | ( | int | sm, |
int | chan | ||
) | const |
Definition at line 435 of file EcalDCSHandler.cc.
References officialStyle::chan, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, dqmiolumiharvest::j, mps_fire::result, and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::sm().
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< EcalDCSTowerStatus >.
Definition at line 63 of file EcalDCSHandler.h.
References m_name.
bool popcon::EcalDCSHandler::insertHVDataSetToOffline | ( | const std::map< EcalLogicID, RunDCSHVDat > * | dataset, |
EcalDCSTowerStatus * | dcs_temp | ||
) | const |
Definition at line 153 of file EcalDCSHandler.cc.
References officialStyle::chan, gather_cfg::cout, EcalBarrel, EcalCondTowerObjectContainer< T >::end(), Exception, EcalCondTowerObjectContainer< T >::find(), RunDCSHVDat::getHV(), RunDCSHVDat::getHVNominal(), EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getName(), testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, dqmiolumiharvest::j, MainPageGenerator::l, TH2PolyOfflineMaps::limits, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), mps_fire::result, EcalCondTowerObjectContainer< T >::setValue(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::sm(), EcalTrigTowerDetId::validDetId(), and EcalScDetId::validDetId().
bool popcon::EcalDCSHandler::insertLVDataSetToOffline | ( | const std::map< EcalLogicID, RunDCSLVDat > * | dataset, |
EcalDCSTowerStatus * | dcs_temp, | ||
const std::vector< EcalLogicID > & | my_EELVchan | ||
) | const |
Definition at line 542 of file EcalDCSHandler.cc.
References officialStyle::chan, gather_cfg::cout, EcalBarrel, EcalCondTowerObjectContainer< T >::end(), EcalCondTowerObjectContainer< T >::find(), EcalLogicID::getID1(), EcalLogicID::getID2(), RunDCSLVDat::getLV(), RunDCSLVDat::getLVNominal(), EcalLogicID::getName(), testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, createfilelist::int, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), dqmiolumiharvest::j, TH2PolyOfflineMaps::limits, create_idmaps::n, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), mps_fire::result, EcalCondTowerObjectContainer< T >::setValue(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::sm(), EcalTrigTowerDetId::validDetId(), and EcalScDetId::validDetId().
int * popcon::EcalDCSHandler::LVLogicIDToDetID | ( | int | sm, |
int | chan | ||
) | const |
Definition at line 481 of file EcalDCSHandler.cc.
References officialStyle::chan, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, mps_fire::result, and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::sm().
uint16_t popcon::EcalDCSHandler::OffDBStatus | ( | uint16_t | dbStatus, |
int | pos | ||
) |
Definition at line 80 of file EcalDCSHandler.cc.
void popcon::EcalDCSHandler::printHVDataSet | ( | const std::map< EcalLogicID, RunDCSHVDat > * | dataset, |
int | limit = 0 |
||
) | const |
Definition at line 24 of file EcalDCSHandler.cc.
References submitPVResolutionJobs::count, gather_cfg::cout, RunDCSHVDat::getHV(), RunDCSHVDat::getHVNominal(), EcalLogicID::getID1(), EcalLogicID::getID2(), RunDCSHVDat::getStatus(), lut2db_cfg::limit, and AlCaHLTBitMon_ParallelJobs::p.
void popcon::EcalDCSHandler::printLVDataSet | ( | const std::map< EcalLogicID, RunDCSLVDat > * | dataset, |
int | limit = 0 |
||
) | const |
Definition at line 52 of file EcalDCSHandler.cc.
References submitPVResolutionJobs::count, gather_cfg::cout, EcalLogicID::getID1(), EcalLogicID::getID2(), RunDCSLVDat::getLV(), RunDCSLVDat::getLVNominal(), RunDCSLVDat::getStatus(), lut2db_cfg::limit, and AlCaHLTBitMon_ParallelJobs::p.
uint16_t popcon::EcalDCSHandler::updateHV | ( | RunDCSHVDat * | hv, |
uint16_t | dbStatus, | ||
int | modo = 0 |
||
) | const |
Definition at line 87 of file EcalDCSHandler.cc.
References RunDCSHVDat::getStatus(), EcalDCSTowerStatusHelper::HVEEDNOMINALSTATUS, EcalDCSTowerStatusHelper::HVEEDSTATUS, EcalDCSTowerStatusHelper::HVNOMINALSTATUS, RunDCSHVDat::HVNOTNOMINAL, RunDCSHVDat::HVOFF, EcalDCSTowerStatusHelper::HVSTATUS, mps_fire::i, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, mps_fire::result, and groupFilesInBlocks::temp.
uint16_t popcon::EcalDCSHandler::updateLV | ( | RunDCSLVDat * | lv, |
uint16_t | dbStatus | ||
) | const |
Definition at line 128 of file EcalDCSHandler.cc.
References RunDCSLVDat::getStatus(), mps_fire::i, EcalDCSTowerStatusHelper::LVNOMINALSTATUS, RunDCSLVDat::LVNOTNOMINAL, RunDCSLVDat::LVOFF, EcalDCSTowerStatusHelper::LVSTATUS, mps_fire::result, and groupFilesInBlocks::temp.
EcalCondDBInterface* popcon::EcalDCSHandler::econn |
Definition at line 64 of file EcalDCSHandler.h.
|
private |
Definition at line 74 of file EcalDCSHandler.h.
Referenced by EcalDCSHandler().
|
private |
Definition at line 75 of file EcalDCSHandler.h.
Referenced by EcalDCSHandler().
|
private |
Definition at line 80 of file EcalDCSHandler.h.
Referenced by id().
|
private |
Definition at line 79 of file EcalDCSHandler.h.
Referenced by EcalDCSHandler().
|
private |
Definition at line 77 of file EcalDCSHandler.h.
Referenced by EcalDCSHandler().
|
private |
Definition at line 78 of file EcalDCSHandler.h.
Referenced by EcalDCSHandler().