#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 | convertFromOld () |
Summary * | dummySummary (typename OldContainer::value_type const &) const |
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 () |
void | sort () |
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::vector< Triplet > | Container |
typedef std::vector< std::pair< EcalDCSTowerStatus *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< EcalDCSTowerStatus > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef EcalDCSTowerStatus | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalDCSTowerStatus > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalDCSTowerStatus > | |
OldContainer | 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 9 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 21 of file EcalDCSHandler.cc.
int popcon::EcalDCSHandler::detIDToLogicID | ( | int | iz, |
int | i, | ||
int | j | ||
) |
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalDCSTowerStatus >.
Definition at line 656 of file EcalDCSHandler.cc.
References gather_cfg::cout, writedatasetfile::dataset, EcalBarrel, test_db_connect::econn, Exception, RunIOV::getRunNumber(), EcalTrigTowerDetId::hashedIndex(), mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, EcalLogicID::NULLID, alignCSCRings::r, DetId::rawId(), EcalCondTowerObjectContainer< T >::setValue(), findQualityFiles::size, 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 378 of file EcalDCSHandler.cc.
References officialStyle::chan, and mps_fire::result.
int * popcon::EcalDCSHandler::HVLogicIDToDetID | ( | int | sm, |
int | chan | ||
) | const |
Definition at line 439 of file EcalDCSHandler.cc.
References officialStyle::chan, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, dqmiolumiharvest::j, and mps_fire::result.
|
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 159 of file EcalDCSHandler.cc.
References officialStyle::chan, gather_cfg::cout, EcalBarrel, EcalCondTowerObjectContainer< T >::end(), EcalCondTowerObjectContainer< T >::find(), RunDCSHVDat::getHV(), RunDCSHVDat::getHVNominal(), EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getName(), testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, dqmiolumiharvest::j, cmsLHEtoEOSManager::l, TH2PolyOfflineMaps::limits, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), mps_fire::result, EcalCondTowerObjectContainer< T >::setValue(), 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 546 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, dqmiolumiharvest::j, TH2PolyOfflineMaps::limits, dqmiodumpmetadata::n, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), mps_fire::result, EcalCondTowerObjectContainer< T >::setValue(), EcalTrigTowerDetId::validDetId(), and EcalScDetId::validDetId().
int * popcon::EcalDCSHandler::LVLogicIDToDetID | ( | int | sm, |
int | chan | ||
) | const |
Definition at line 485 of file EcalDCSHandler.cc.
References officialStyle::chan, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, and mps_fire::result.
uint16_t popcon::EcalDCSHandler::OffDBStatus | ( | uint16_t | dbStatus, |
int | pos | ||
) |
Definition at line 79 of file EcalDCSHandler.cc.
void popcon::EcalDCSHandler::printHVDataSet | ( | const std::map< EcalLogicID, RunDCSHVDat > * | dataset, |
int | limit = 0 |
||
) | const |
Definition at line 23 of file EcalDCSHandler.cc.
References submitPVResolutionJobs::count, gather_cfg::cout, RunDCSHVDat::getHV(), RunDCSHVDat::getHVNominal(), EcalLogicID::getID1(), EcalLogicID::getID2(), RunDCSHVDat::getStatus(), remoteMonitoring_LED_IterMethod_cfg::limit, and AlCaHLTBitMon_ParallelJobs::p.
void popcon::EcalDCSHandler::printLVDataSet | ( | const std::map< EcalLogicID, RunDCSLVDat > * | dataset, |
int | limit = 0 |
||
) | const |
Definition at line 51 of file EcalDCSHandler.cc.
References submitPVResolutionJobs::count, gather_cfg::cout, EcalLogicID::getID1(), EcalLogicID::getID2(), RunDCSLVDat::getLV(), RunDCSLVDat::getLVNominal(), RunDCSLVDat::getStatus(), remoteMonitoring_LED_IterMethod_cfg::limit, and AlCaHLTBitMon_ParallelJobs::p.
uint16_t popcon::EcalDCSHandler::updateHV | ( | RunDCSHVDat * | hv, |
uint16_t | dbStatus, | ||
int | modo = 0 |
||
) | const |
Definition at line 86 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 127 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().