#include <EcalPedestalsHandler.h>
Public Attributes | |
EcalCondDBInterface * | econn |
Private Attributes | |
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 53 of file EcalPedestalsHandler.h.
popcon::EcalPedestalsHandler::EcalPedestalsHandler | ( | edm::ParameterSet const & | ) |
Definition at line 15 of file EcalPedestalsHandler.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), 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.
popcon::EcalPedestalsHandler::~EcalPedestalsHandler | ( | ) |
Definition at line 36 of file EcalPedestalsHandler.cc.
bool popcon::EcalPedestalsHandler::checkPedestal | ( | EcalPedestals::Item * | item | ) |
Definition at line 65 of file EcalPedestalsHandler.cc.
References EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, mps_fire::result, EcalPedestal::rms_x1, EcalPedestal::rms_x12, and EcalPedestal::rms_x6.
Referenced by getNewObjectsP5().
|
virtual |
Implements popcon::PopConSourceHandler< EcalPedestals >.
Definition at line 39 of file EcalPedestalsHandler.cc.
References gather_cfg::cout, cmsRelvalreport::exit, getNewObjectsH2(), getNewObjectsP5(), m_locationsource, readPedestal2017(), readPedestalFile(), readPedestalTimestamp(), and readPedestalTree().
void popcon::EcalPedestalsHandler::getNewObjectsH2 | ( | ) |
Definition at line 452 of file EcalPedestalsHandler.cc.
References gather_cfg::cout, econn, EcalCondObjectContainer< T >::endcap(), Exception, EcalCondDBInterface::fetchDataSet(), EcalCondDBInterface::fetchMonRunList(), EcalLogicID::getID2(), MonPedestalsDat::getPedMeanG1(), MonPedestalsDat::getPedMeanG12(), MonPedestalsDat::getPedMeanG6(), MonPedestalsDat::getPedRMSG1(), MonPedestalsDat::getPedRMSG12(), MonPedestalsDat::getPedRMSG6(), MonRunList::getRuns(), EEDetId::hashedIndex(), EcalCondObjectContainer< T >::insert(), cond::TagInfo_t::lastInterval, popcon::PopConSourceHandler< EcalPedestals >::lastPayload(), m_lastRun, m_pass, m_sid, popcon::PopConSourceHandler< EcalPedestals >::m_to_transfer, m_user, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, RunTag::setGeneralTag(), MonRunTag::setGeneralTag(), LocationDef::setLocation(), RunTag::setLocationDef(), MonVersionDef::setMonitoringVersion(), MonRunList::setMonRunTag(), MonRunTag::setMonVersionDef(), MonRunList::setRunTag(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), popcon::PopConSourceHandler< EcalPedestals >::tagInfo(), and EEDetId::validDetId().
Referenced by getNewObjects().
void popcon::EcalPedestalsHandler::getNewObjectsP5 | ( | ) |
Definition at line 77 of file EcalPedestalsHandler.cc.
References EcalCondObjectContainer< T >::barrel(), checkPedestal(), gather_cfg::cout, econn, EcalCondObjectContainer< T >::endcap(), EBDetId::ETAPHIMODE, EcalCondDBInterface::fetchDataSet(), EcalCondDBInterface::fetchMonRunList(), EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getID3(), EcalLogicID::getName(), MonPedestalsDat::getPedMeanG1(), MonPedestalsDat::getPedMeanG12(), MonPedestalsDat::getPedMeanG6(), MonPedestalsDat::getPedRMSG1(), MonPedestalsDat::getPedRMSG12(), MonPedestalsDat::getPedRMSG6(), MonRunList::getRuns(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), EcalCondObjectContainer< T >::insert(), EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, cond::TagInfo_t::lastInterval, popcon::PopConSourceHandler< EcalPedestals >::lastPayload(), m_firstRun, m_gentag, m_lastRun, m_location, m_pass, m_runtag, m_sid, popcon::PopConSourceHandler< EcalPedestals >::m_to_transfer, m_user, popcon::PopConSourceHandler< EcalPedestals >::m_userTextLog, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, min(), EBDetId::MIN_IPHI, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, RunTag::setGeneralTag(), MonRunTag::setGeneralTag(), LocationDef::setLocation(), RunTag::setLocationDef(), MonVersionDef::setMonitoringVersion(), MonRunList::setMonRunTag(), MonRunTag::setMonVersionDef(), MonRunList::setRunTag(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), EBDetId::SMCRYSTALMODE, popcon::PopConSourceHandler< EcalPedestals >::tagInfo(), EBDetId::validDetId(), EEDetId::validDetId(), and x().
Referenced by getNewObjects().
|
inlinevirtual |
Implements popcon::PopConSourceHandler< EcalPedestals >.
Definition at line 66 of file EcalPedestalsHandler.h.
Referenced by readPedestalTimestamp(), and readPedestalTree().
void popcon::EcalPedestalsHandler::readPedestal2017 | ( | ) |
Definition at line 743 of file EcalPedestalsHandler.cc.
References EcalCondObjectContainer< T >::barrel(), gather_cfg::cout, debug, EcalCondObjectContainer< T >::endcap(), EBDetId::ETAPHIMODE, cmsRelvalreport::exit, EBDetId::hashedIndex(), EEDetId::hashedIndex(), EcalCondObjectContainer< T >::insert(), EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, kEBChannels, kEEChannels, popcon::PopConSourceHandler< EcalPedestals >::lastPayload(), m_filename, m_firstRun, popcon::PopConSourceHandler< EcalPedestals >::m_to_transfer, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, EBDetId::MIN_IPHI, DetId::rawId(), EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, EBDetId::validDetId(), and EEDetId::validDetId().
Referenced by getNewObjects().
void popcon::EcalPedestalsHandler::readPedestalFile | ( | ) |
Definition at line 659 of file EcalPedestalsHandler.cc.
References gather_cfg::cout, cmsRelvalreport::exit, EBDetId::hashedIndex(), EEDetId::hashedIndex(), EcalCondObjectContainer< T >::insert(), EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, kEBChannels, kEEChannels, m_filename, m_firstRun, popcon::PopConSourceHandler< EcalPedestals >::m_to_transfer, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, EBDetId::MIN_IPHI, DetId::rawId(), EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, EBDetId::validDetId(), and EEDetId::validDetId().
Referenced by getNewObjects().
void popcon::EcalPedestalsHandler::readPedestalTimestamp | ( | ) |
Definition at line 1237 of file EcalPedestalsHandler.cc.
References funct::abs(), officialStyle::chan, gather_cfg::cout, debug, mps_splice::entry, cmsRelvalreport::exit, groupFilesInBlocks::fout, mps_fire::i, id(), EcalCondObjectContainer< T >::insert(), createfilelist::int, kChannels, kEBChannels, kEEChannels, csvLumiCalc::lumi, m_filename, popcon::PopConSourceHandler< EcalPedestals >::m_to_transfer, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, muonCSCDigis_cfi::pedestal, diffTwoXMLs::r1, DetId::rawId(), EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, findQualityFiles::run, AlCaHLTBitMon_QueryRunRegistry::string, ntuplemaker::time, EBDetId::unhashIndex(), and EEDetId::unhashIndex().
Referenced by getNewObjects().
void popcon::EcalPedestalsHandler::readPedestalTree | ( | ) |
Definition at line 911 of file EcalPedestalsHandler.cc.
References funct::abs(), officialStyle::chan, gather_cfg::cout, mps_splice::entry, cmsRelvalreport::exit, groupFilesInBlocks::fout, mps_fire::i, id(), EcalCondObjectContainer< T >::insert(), createfilelist::int, kChannels, kEBChannels, kEEChannels, csvLumiCalc::lumi, m_filename, m_firstRun, m_runtype, popcon::PopConSourceHandler< EcalPedestals >::m_to_transfer, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, muonCSCDigis_cfi::pedestal, diffTwoXMLs::r1, DetId::rawId(), EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, findQualityFiles::run, AlCaHLTBitMon_QueryRunRegistry::string, ntuplemaker::time, EBDetId::unhashIndex(), and EEDetId::unhashIndex().
Referenced by getNewObjects().
EcalCondDBInterface* popcon::EcalPedestalsHandler::econn |
Definition at line 67 of file EcalPedestalsHandler.h.
Referenced by getNewObjectsH2(), and getNewObjectsP5().
|
private |
Definition at line 83 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), readPedestal2017(), readPedestalFile(), readPedestalTimestamp(), and readPedestalTree().
|
private |
Definition at line 72 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), getNewObjectsP5(), readPedestal2017(), readPedestalFile(), and readPedestalTree().
|
private |
Definition at line 76 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), and getNewObjectsP5().
|
private |
Definition at line 73 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), getNewObjectsH2(), and getNewObjectsP5().
|
private |
Definition at line 75 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), and getNewObjectsP5().
|
private |
Definition at line 81 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), and getNewObjects().
|
private |
Definition at line 82 of file EcalPedestalsHandler.h.
|
private |
Definition at line 80 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), getNewObjectsH2(), and getNewObjectsP5().
|
private |
Definition at line 77 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), and getNewObjectsP5().
|
private |
Definition at line 84 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), and readPedestalTree().
|
private |
Definition at line 78 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), getNewObjectsH2(), and getNewObjectsP5().
|
private |
Definition at line 79 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), getNewObjectsH2(), and getNewObjectsP5().
|
private |
Definition at line 70 of file EcalPedestalsHandler.h.