#include <EcalPedestalsHandler.h>
Public Attributes | |
EcalCondDBInterface * | econn |
Private Attributes | |
bool | m_corrected |
std::string | m_filename |
unsigned int | m_firstRun |
std::string | m_gentag |
unsigned int | m_lastRun |
std::string | m_location |
std::string | m_locationsource |
std::string | m_name |
std::string | m_pass |
std::string | m_runtag |
int | m_runtype |
std::string | m_sid |
std::string | m_user |
const EcalPedestals * | mypedestals |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< EcalPedestals > | |
typedef std::vector< Triplet > | Container |
typedef std::vector< std::pair< EcalPedestals *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< EcalPedestals > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef EcalPedestals | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalPedestals > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalPedestals > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 50 of file EcalPedestalsHandler.h.
popcon::EcalPedestalsHandler::EcalPedestalsHandler | ( | edm::ParameterSet const & | ps | ) |
Definition at line 17 of file EcalPedestalsHandler.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_corrected, m_filename, m_firstRun, m_gentag, m_lastRun, m_location, m_locationsource, m_pass, m_runtag, m_runtype, m_sid, m_user, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 37 of file EcalPedestalsHandler.cc.
bool popcon::EcalPedestalsHandler::checkPedestal | ( | EcalPedestals::Item * | item | ) |
Definition at line 61 of file EcalPedestalsHandler.cc.
References B2GTnPMonitor_cfi::item, and mps_fire::result.
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalPedestals >.
Definition at line 39 of file EcalPedestalsHandler.cc.
References beamvalidation::exit().
void popcon::EcalPedestalsHandler::getNewObjectsH2 | ( | ) |
Definition at line 468 of file EcalPedestalsHandler.cc.
References gather_cfg::cout, test_db_connect::econn, EcalCondObjectContainer< T >::endcap(), Exception, EcalLogicID::getID2(), MonPedestalsDat::getPedMeanG1(), MonPedestalsDat::getPedMeanG12(), MonPedestalsDat::getPedMeanG6(), MonPedestalsDat::getPedRMSG1(), MonPedestalsDat::getPedRMSG12(), MonPedestalsDat::getPedRMSG6(), DeadROCCounter::getRunNumber(), MonRunList::getRuns(), EEDetId::hashedIndex(), EcalCondObjectContainer< T >::insert(), B2GTnPMonitor_cfi::item, test_db_connect::my_locdef, test_db_connect::my_rundef, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), MonRunTag::setGeneralTag(), RunTag::setGeneralTag(), RunTag::setLocationDef(), MonVersionDef::setMonitoringVersion(), MonRunList::setMonRunTag(), MonRunTag::setMonVersionDef(), MonRunList::setRunTag(), RunTag::setRunTypeDef(), dumpRecoGeometry_cfg::tagInfo, and EEDetId::validDetId().
void popcon::EcalPedestalsHandler::getNewObjectsP5 | ( | ) |
Definition at line 81 of file EcalPedestalsHandler.cc.
References EcalCondObjectContainer< T >::barrel(), gather_cfg::cout, test_db_connect::econn, EcalCondObjectContainer< T >::endcap(), EBDetId::ETAPHIMODE, EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getID3(), EcalLogicID::getName(), MonPedestalsDat::getPedMeanG1(), MonPedestalsDat::getPedMeanG12(), MonPedestalsDat::getPedMeanG6(), MonPedestalsDat::getPedRMSG1(), MonPedestalsDat::getPedRMSG12(), MonPedestalsDat::getPedRMSG6(), DeadROCCounter::getRunNumber(), MonRunList::getRuns(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), L1TowerCalibrationProducer_cfi::iEta, EcalCondObjectContainer< T >::insert(), B2GTnPMonitor_cfi::item, EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, min(), EBDetId::MIN_IPHI, test_db_connect::my_locdef, test_db_connect::my_rundef, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), RunTag::setGeneralTag(), MonRunTag::setGeneralTag(), RunTag::setLocationDef(), MonVersionDef::setMonitoringVersion(), MonRunList::setMonRunTag(), MonRunTag::setMonVersionDef(), MonRunList::setRunTag(), RunTag::setRunTypeDef(), EBDetId::SMCRYSTALMODE, contentValuesCheck::ss, dumpRecoGeometry_cfg::tagInfo, EBDetId::validDetId(), EEDetId::validDetId(), and x.
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< EcalPedestals >.
Definition at line 63 of file EcalPedestalsHandler.h.
References m_name.
void popcon::EcalPedestalsHandler::readPedestal2017 | ( | ) |
Definition at line 1050 of file EcalPedestalsHandler.cc.
References EcalCondObjectContainer< T >::barrel(), debug, EcalCondObjectContainer< T >::endcap(), EBDetId::ETAPHIMODE, beamvalidation::exit(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), L1TowerCalibrationProducer_cfi::iEta, EcalCondObjectContainer< T >::insert(), B2GTnPMonitor_cfi::item, EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, kEBChannels, kEEChannels, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, DetId::rawId(), EBDetId::validDetId(), and EEDetId::validDetId().
void popcon::EcalPedestalsHandler::readPedestalFile | ( | ) |
Definition at line 661 of file EcalPedestalsHandler.cc.
References beamvalidation::exit(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), L1TowerCalibrationProducer_cfi::iEta, EcalCondObjectContainer< T >::insert(), B2GTnPMonitor_cfi::item, EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, kEBChannels, kEEChannels, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, DetId::rawId(), EBDetId::validDetId(), and EEDetId::validDetId().
void popcon::EcalPedestalsHandler::readPedestalMC | ( | ) |
Definition at line 749 of file EcalPedestalsHandler.cc.
References funct::abs(), beamvalidation::exit(), groupFilesInBlocks::fout, PedestalClient_cfi::gain, gainValues, EBDetId::hashedIndex(), EEDetId::hashedIndex(), mps_fire::i, EBDetId::ieta(), L1TowerCalibrationProducer_cfi::iEta, LEDCalibrationChannels::ieta, EcalCondObjectContainer< T >::insert(), B2GTnPMonitor_cfi::item, EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, kEBChannels, kEEChannels, kGains, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, diffTwoXMLs::r1, DetId::rawId(), relativeConstraints::ring, SiStripPI::rms, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, EBDetId::unhashIndex(), EBDetId::validDetId(), EEDetId::validDetId(), and x.
void popcon::EcalPedestalsHandler::readPedestalTimestamp | ( | ) |
Definition at line 1682 of file EcalPedestalsHandler.cc.
References funct::abs(), officialStyle::chan, debug, mps_splice::entry, beamvalidation::exit(), groupFilesInBlocks::fout, mps_fire::i, triggerObjects_cff::id, createfilelist::int, B2GTnPMonitor_cfi::item, kChannels, kEBChannels, kEEChannels, BXlumiParameters_cfi::lumi, Nbpedxml, cmsHarvester::nevents, EcalCondDBWriter_cfi::pedestal, diffTwoXMLs::r1, DetId::rawId(), writedatasetfile::run, AlCaHLTBitMon_QueryRunRegistry::string, ntuplemaker::time, EBDetId::unhashIndex(), and EEDetId::unhashIndex().
void popcon::EcalPedestalsHandler::readPedestalTree | ( | ) |
Definition at line 1249 of file EcalPedestalsHandler.cc.
References funct::abs(), officialStyle::chan, mps_splice::entry, beamvalidation::exit(), groupFilesInBlocks::fout, mps_fire::i, triggerObjects_cff::id, createfilelist::int, B2GTnPMonitor_cfi::item, kChannels, kEBChannels, kEEChannels, BXlumiParameters_cfi::lumi, Nbpedxml, cmsHarvester::nevents, EcalCondDBWriter_cfi::pedestal, diffTwoXMLs::r1, DetId::rawId(), writedatasetfile::run, AlCaHLTBitMon_QueryRunRegistry::string, ntuplemaker::time, EBDetId::unhashIndex(), and EEDetId::unhashIndex().
EcalCondDBInterface* popcon::EcalPedestalsHandler::econn |
Definition at line 64 of file EcalPedestalsHandler.h.
|
private |
Definition at line 82 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 80 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 69 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 73 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 70 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 72 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 78 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 79 of file EcalPedestalsHandler.h.
Referenced by id().
|
private |
Definition at line 77 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 74 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 81 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 75 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 76 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 67 of file EcalPedestalsHandler.h.