#include <EcalDCSHandler.h>
Public Member Functions | |
int | detIDToLogicID (int, int, int) |
EcalDCSHandler (edm::ParameterSet const &) | |
void | getNewObjects () |
int * | HVEELogicIDToDetID (int, int) const |
int * | HVLogicIDToDetID (int, int) const |
std::string | id () const |
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 () | |
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) |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalDCSTowerStatus > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 52 of file EcalDCSHandler.h.
popcon::EcalDCSHandler::EcalDCSHandler | ( | edm::ParameterSet const & | ps | ) |
Definition at line 11 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.
popcon::EcalDCSHandler::~EcalDCSHandler | ( | ) |
Definition at line 26 of file EcalDCSHandler.cc.
int popcon::EcalDCSHandler::detIDToLogicID | ( | int | iz, |
int | i, | ||
int | j | ||
) |
Definition at line 324 of file EcalDCSHandler.cc.
|
virtual |
Implements popcon::PopConSourceHandler< EcalDCSTowerStatus >.
Definition at line 626 of file EcalDCSHandler.cc.
References gather_cfg::cout, dataset::dataset, EcalBarrel, edm::hlt::Exception, RunIOV::getRunNumber(), EcalTrigTowerDetId::hashedIndex(), i, j, gen::k, NULL, EcalLogicID::NULLID, alignCSCRings::r, 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 |
int * popcon::EcalDCSHandler::HVLogicIDToDetID | ( | int | sm, |
int | chan | ||
) | const |
Definition at line 400 of file EcalDCSHandler.cc.
References j, and query::result.
|
inlinevirtual |
Implements popcon::PopConSourceHandler< EcalDCSTowerStatus >.
Definition at line 66 of file EcalDCSHandler.h.
References m_name.
bool popcon::EcalDCSHandler::insertHVDataSetToOffline | ( | const std::map< EcalLogicID, RunDCSHVDat > * | dataset, |
EcalDCSTowerStatus * | dcs_temp | ||
) | const |
Definition at line 162 of file EcalDCSHandler.cc.
References gather_cfg::cout, EcalBarrel, EcalCondTowerObjectContainer< T >::end(), EcalCondTowerObjectContainer< T >::find(), RunDCSHVDat::getHV(), RunDCSHVDat::getHVNominal(), EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getName(), AnalysisDataFormats_SUSYBSMObjects::hv, j, ConfigFiles::l, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), query::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 504 of file EcalDCSHandler.cc.
References gather_cfg::cout, EcalBarrel, EcalCondTowerObjectContainer< T >::end(), EcalCondTowerObjectContainer< T >::find(), EcalLogicID::getID1(), EcalLogicID::getID2(), RunDCSLVDat::getLV(), RunDCSLVDat::getLVNominal(), EcalLogicID::getName(), j, n, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), query::result, EcalCondTowerObjectContainer< T >::setValue(), EcalTrigTowerDetId::validDetId(), and EcalScDetId::validDetId().
int * popcon::EcalDCSHandler::LVLogicIDToDetID | ( | int | sm, |
int | chan | ||
) | const |
uint16_t popcon::EcalDCSHandler::OffDBStatus | ( | uint16_t | dbStatus, |
int | pos | ||
) |
Definition at line 86 of file EcalDCSHandler.cc.
void popcon::EcalDCSHandler::printHVDataSet | ( | const std::map< EcalLogicID, RunDCSHVDat > * | dataset, |
int | limit = 0 |
||
) | const |
Definition at line 30 of file EcalDCSHandler.cc.
References prof2calltree::count, gather_cfg::cout, RunDCSHVDat::getHV(), RunDCSHVDat::getHVNominal(), EcalLogicID::getID1(), EcalLogicID::getID2(), RunDCSHVDat::getStatus(), AnalysisDataFormats_SUSYBSMObjects::hv, MessageLogger_cff::limit, and AlCaHLTBitMon_ParallelJobs::p.
void popcon::EcalDCSHandler::printLVDataSet | ( | const std::map< EcalLogicID, RunDCSLVDat > * | dataset, |
int | limit = 0 |
||
) | const |
Definition at line 58 of file EcalDCSHandler.cc.
References prof2calltree::count, gather_cfg::cout, EcalLogicID::getID1(), EcalLogicID::getID2(), RunDCSLVDat::getLV(), RunDCSLVDat::getLVNominal(), RunDCSLVDat::getStatus(), MessageLogger_cff::limit, and AlCaHLTBitMon_ParallelJobs::p.
uint16_t popcon::EcalDCSHandler::updateHV | ( | RunDCSHVDat * | hv, |
uint16_t | dbStatus, | ||
int | modo = 0 |
||
) | const |
Definition at line 92 of file EcalDCSHandler.cc.
References RunDCSHVDat::getStatus(), EcalDCSTowerStatusHelper::HVEEDNOMINALSTATUS, EcalDCSTowerStatusHelper::HVEEDSTATUS, EcalDCSTowerStatusHelper::HVNOMINALSTATUS, RunDCSHVDat::HVNOTNOMINAL, RunDCSHVDat::HVOFF, EcalDCSTowerStatusHelper::HVSTATUS, i, query::result, and groupFilesInBlocks::temp.
uint16_t popcon::EcalDCSHandler::updateLV | ( | RunDCSLVDat * | lv, |
uint16_t | dbStatus | ||
) | const |
Definition at line 132 of file EcalDCSHandler.cc.
References RunDCSLVDat::getStatus(), i, EcalDCSTowerStatusHelper::LVNOMINALSTATUS, RunDCSLVDat::LVNOTNOMINAL, RunDCSLVDat::LVOFF, EcalDCSTowerStatusHelper::LVSTATUS, query::result, and groupFilesInBlocks::temp.
EcalCondDBInterface* popcon::EcalDCSHandler::econn |
Definition at line 67 of file EcalDCSHandler.h.
|
private |
Definition at line 78 of file EcalDCSHandler.h.
Referenced by EcalDCSHandler().
|
private |
Definition at line 79 of file EcalDCSHandler.h.
Referenced by EcalDCSHandler().
|
private |
Definition at line 84 of file EcalDCSHandler.h.
Referenced by id().
|
private |
Definition at line 83 of file EcalDCSHandler.h.
Referenced by EcalDCSHandler().
|
private |
Definition at line 81 of file EcalDCSHandler.h.
Referenced by EcalDCSHandler().
|
private |
Definition at line 82 of file EcalDCSHandler.h.
Referenced by EcalDCSHandler().