#include <HcalDetDiagLEDMonitor.h>
Public Member Functions | |
void | analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
void | analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
void | cleanup () |
void | cleanup () |
void | done () |
void | endRun (const edm::Run &run, const edm::EventSetup &c) |
void | fillHistos () |
void | fillHistos () |
int | GetStatistics () |
int | GetStatistics () |
HcalDetDiagLEDMonitor (const edm::ParameterSet &ps) | |
HcalDetDiagLEDMonitor (const edm::ParameterSet &ps) | |
void | reset () |
void | reset () |
void | setup () |
void | setup () |
~HcalDetDiagLEDMonitor () | |
~HcalDetDiagLEDMonitor () | |
Public Member Functions inherited from HcalBaseDQMonitor | |
HcalBaseDQMonitor (const edm::ParameterSet &ps) | |
HcalBaseDQMonitor () | |
~HcalBaseDQMonitor () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
void | CheckStatus () |
void | CheckStatus () |
void | fill_channel_status (std::string subdet, int eta, int phi, int depth, int type, double status) |
void | fill_channel_status (std::string subdet, int eta, int phi, int depth, int type, double status) |
void | fill_energy (std::string subdet, int eta, int phi, int depth, double e, int type) |
void | fill_energy (std::string subdet, int eta, int phi, int depth, double e, int type) |
double | get_energy (std::string subdet, int eta, int phi, int depth, int type) |
double | get_energy (std::string subdet, int eta, int phi, int depth, int type) |
HcalDetDiagLEDData * | GetCalib (std::string sd, int eta, int phi) |
HcalDetDiagLEDData * | GetCalib (std::string sd, int eta, int phi) |
void | LoadReference () |
void | LoadReference () |
void | SaveReference () |
void | SaveReference () |
HcalDetDiagLEDMonitor::HcalDetDiagLEDMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 239 of file HcalDetDiagLEDMonitor.cc.
References HcalBaseDQMonitor::AllowedCalibTypes_, calibDigiLabel_, dataset_seq_number, HcalBaseDQMonitor::debug_, digiLabel_, HcalBaseDQMonitor::enableCleanup_, edm::ParameterSet::getUntrackedParameter(), ievt_, IsReference, LEDMeanTreshold, LEDRmsTreshold, HcalBaseDQMonitor::makeDiagnostics_, HcalBaseDQMonitor::mergeRuns_, HcalBaseDQMonitor::NLumiBlocks_, HcalBaseDQMonitor::Online_, OutputFilePath, HcalBaseDQMonitor::prefixME_, ReferenceData, run_number, HcalBaseDQMonitor::skipOutOfOrderLS_, HcalBaseDQMonitor::subdir_, and XmlFilePath.
HcalDetDiagLEDMonitor::~HcalDetDiagLEDMonitor | ( | ) |
Definition at line 272 of file HcalDetDiagLEDMonitor.cc.
HcalDetDiagLEDMonitor::HcalDetDiagLEDMonitor | ( | const edm::ParameterSet & | ps | ) |
HcalDetDiagLEDMonitor::~HcalDetDiagLEDMonitor | ( | ) |
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 377 of file HcalDetDiagLEDMonitor.cc.
References adc2fC, HcalDetDiagLEDData::add_statistics(), HcalBaseDQMonitor::analyze(), calib, calib_data, calibDigiLabel_, CheckStatus(), data, HcalBaseDQMonitor::dbe_, digiLabel_, alignCSCRings::e, eta(), MonitorElement::Fill(), fillHistos(), edm::Event::getByLabel(), edm::Event::getByType(), hb_data, HcalBarrel, HcalEndcap, he_data, hf_data, ho_data, i, edm::EventBase::id(), ievt_, edm::HandleBase::isValid(), meEVT_, meRUN_, phi, edm::EventID::run(), and run_number.
|
virtual |
Reimplemented from HcalBaseDQMonitor.
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 283 of file HcalDetDiagLEDMonitor.cc.
References HcalBaseDQMonitor::beginRun(), gather_cfg::cout, HcalBaseDQMonitor::debug_, edm::EventSetup::get(), HcalCondObjectContainer< Item >::getAllChannels(), reco::JetExtendedAssociation::getValue(), HcalCondObjectContainer< Item >::getValues(), DetId::Hcal, HcalChannelStatus::HcalCellMask, HcalChannelStatus::HcalCellOff, i, KnownBadCells_, HcalBaseDQMonitor::mergeRuns_, AlCaHLTBitMon_ParallelJobs::p, edm::ESHandle< class >::product(), reset(), setup(), ntuplemaker::status, and HcalBaseDQMonitor::tevt_.
|
virtual |
Reimplemented from HcalBaseDQMonitor.
|
private |
Definition at line 1046 of file HcalDetDiagLEDMonitor.cc.
References HcalElectronicsMap::allElectronicsIdPrecision(), HcalDetDiagLEDData::change_status(), ChannelStatusLEDMean, ChannelStatusLEDRMS, ChannelStatusMissingChannels, ChannelStatusTimeMean, ChannelStatusTimeRMS, ChannelStatusUnstableChannels, ChannelStatusUnstableLEDsignal, HcalDetId::depth(), EtaPhiHists::depth, DetId::det(), cond::rpcobgas::detid, emap, eta(), fill_channel_status(), HcalDetDiagLEDData::get_average_time(), HcalDetDiagLEDData::get_overflow(), HcalDetDiagLEDData::get_statistics(), HcalDetDiagLEDData::get_undeflow(), MonitorElement::getMean(), hb_data, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalGenericDetId::HcalGenBarrel, HcalGenericDetId::HcalGenEndcap, HcalGenericDetId::HcalGenForward, HcalGenericDetId::HcalGenOuter, HcalOuter, he_data, hf_data, ho_data, i, HcalDetId::ieta(), ievt_, HcalDetId::iphi(), KnownBadCells_, HcalElectronicsMap::lookup(), phi, plotscripts::rms(), DetId::subdetId(), Time, and TimeHF.
Referenced by analyze(), and endRun().
|
private |
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 274 of file HcalDetDiagLEDMonitor.cc.
References HcalBaseDQMonitor::dbe_, DQMStore::removeContents(), DQMStore::setCurrentFolder(), and HcalBaseDQMonitor::subdir_.
|
virtual |
Reimplemented from HcalBaseDQMonitor.
void HcalDetDiagLEDMonitor::done | ( | ) |
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 1227 of file HcalDetDiagLEDMonitor.cc.
References CheckStatus(), fillHistos(), ievt_, and SaveReference().
|
private |
Definition at line 1210 of file HcalDetDiagLEDMonitor.cc.
References CalcEtaBin(), ChannelStatusLEDMean, ChannelStatusLEDRMS, ChannelStatusMissingChannels, ChannelStatusTimeMean, ChannelStatusTimeRMS, ChannelStatusUnstableChannels, ChannelStatusUnstableLEDsignal, EtaPhiHists::depth, HcalBarrel, HcalEndcap, HcalForward, and HcalOuter.
Referenced by CheckStatus().
|
private |
|
private |
Definition at line 1183 of file HcalDetDiagLEDMonitor.cc.
References CalcEtaBin(), ChannelsLEDEnergy, ChannelsLEDEnergyRef, EtaPhiHists::depth, HcalBarrel, HcalEndcap, HcalForward, and HcalOuter.
Referenced by fillHistos().
|
private |
void HcalDetDiagLEDMonitor::fillHistos | ( | ) |
Definition at line 447 of file HcalDetDiagLEDMonitor.cc.
References abs, HcalElectronicsMap::allElectronicsIdPrecision(), HcalDetId::depth(), DetId::det(), cond::rpcobgas::detid, emap, Energy, Energy2Dhbhehf, Energy2Dho, EnergyCorr, EnergyHF, EnergyRMS, EnergyRMSHF, eta(), MonitorElement::Fill(), fill_energy(), HcalDetDiagLEDData::get_average_led(), HcalDetDiagLEDData::get_average_time(), get_energy(), GetCalib(), HcalLogicalMap::getHcalFrontEndId(), hb_data, HBMphi, HBPphi, DetId::Hcal, HcalGenericDetId::HcalGenBarrel, HcalGenericDetId::HcalGenEndcap, HcalGenericDetId::HcalGenForward, HcalGenericDetId::HcalGenOuter, he_data, HEMphi, HEPphi, hf_data, HFMphi, HFPphi, HO0phi, HO1Mphi, HO1Pphi, HO2Mphi, HO2Pphi, ho_data, i, HcalDetId::ieta(), HcalDetId::iphi(), isSiPM(), j, KnownBadCells_, lmap, HcalElectronicsMap::lookup(), phi, DetId::rawId(), HcalFrontEndId::rbx(), MonitorElement::Reset(), HcalFrontEndId::rm(), plotscripts::rms(), sd, cond::rpcobgas::time, Time, Time2Dhbhehf, Time2Dho, TimeHF, TimeRMS, and TimeRMSHF.
Referenced by analyze(), and endRun().
void HcalDetDiagLEDMonitor::fillHistos | ( | ) |
|
private |
Definition at line 1196 of file HcalDetDiagLEDMonitor.cc.
References CalcEtaBin(), ChannelsLEDEnergy, ChannelsLEDEnergyRef, EtaPhiHists::depth, HcalBarrel, HcalEndcap, HcalForward, and HcalOuter.
Referenced by fillHistos().
|
private |
|
inlineprivate |
Definition at line 51 of file HcalDetDiagLEDMonitor.h.
References abs, calib_data, ETA, and PHI.
Referenced by fillHistos().
|
inlineprivate |
Definition at line 129 of file HcalDetDiagLEDMonitor.cc.
References abs, calib_data, ETA, and PHI.
|
inline |
|
inline |
|
private |
Definition at line 1013 of file HcalDetDiagLEDMonitor.cc.
References calib_data, reco::tau::disc::Eta(), f, hb_data, he_data, hf_data, ho_data, IsReference, colinearityKinematic::Phi, ReferenceData, ReferenceRun, plotscripts::rms(), HcalDetDiagLEDData::set_reference(), and lumiQTWidget::t.
Referenced by setup().
|
private |
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 281 of file HcalDetDiagLEDMonitor.cc.
Referenced by beginRun().
|
virtual |
Reimplemented from HcalBaseDQMonitor.
|
private |
Definition at line 696 of file HcalDetDiagLEDMonitor.cc.
References HcalElectronicsMap::allElectronicsIdPrecision(), calib_data, dataset_seq_number, HcalDetId::depth(), DetId::det(), cond::rpcobgas::detid, alignCSCRings::e, emap, reco::tau::disc::Eta(), eta(), patZpeak::events, HcalDetDiagLEDData::get_average_led(), HcalDetDiagLEDData::get_average_time(), HcalDetDiagLEDData::get_statistics(), HcalDetDiagLEDData::get_status(), hb_data, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalGenericDetId::HcalGenBarrel, HcalGenericDetId::HcalGenEndcap, HcalGenericDetId::HcalGenForward, HcalGenericDetId::HcalGenOuter, HcalOuter, he_data, hf_data, ho_data, HcalDetId::ieta(), ievt_, HcalDetId::iphi(), HcalElectronicsMap::lookup(), OutputFilePath, phi, colinearityKinematic::Phi, plotscripts::rms(), DTTTrigCorrFirst::run, run_number, sd, step1_ZMM_7Tev::Status, DetId::subdetId(), lumiQTWidget::t, interactiveExample::theFile, cond::rpcobgas::time, Time, MainPageGenerator::tree, xmlFile(), and XmlFilePath.
Referenced by endRun().
|
private |
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 309 of file HcalDetDiagLEDMonitor.cc.
References DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookInt(), DQMStore::bookString(), ChannelsLEDEnergy, ChannelsLEDEnergyRef, ChannelStatusLEDMean, ChannelStatusLEDRMS, ChannelStatusMissingChannels, ChannelStatusTimeMean, ChannelStatusTimeRMS, ChannelStatusUnstableChannels, ChannelStatusUnstableLEDsignal, HcalLogicalMapGenerator::createMap(), HcalBaseDQMonitor::dbe_, emap, Energy, Energy2Dhbhehf, Energy2Dho, EnergyCorr, EnergyHF, EnergyRMS, EnergyRMSHF, gen, HcalLogicalMap::generateHcalElectronicsMap(), HBMphi, HBPphi, HEMphi, HEPphi, HFMphi, HFPphi, HO0phi, HO1Mphi, HO1Pphi, HO2Mphi, HO2Pphi, lmap, LoadReference(), meEVT_, meRUN_, mergeVDriftHistosByStation::name, ReferenceRun, RefRun_, DQMStore::setCurrentFolder(), EtaPhiHists::setup(), HcalBaseDQMonitor::setup(), HcalBaseDQMonitor::subdir_, Time, Time2Dhbhehf, Time2Dho, TimeHF, TimeRMS, and TimeRMSHF.
Referenced by beginRun().
|
virtual |
Reimplemented from HcalBaseDQMonitor.
|
private |
Definition at line 123 of file HcalDetDiagLEDMonitor.h.
Referenced by analyze(), GetCalib(), LoadReference(), and SaveReference().
|
private |
Definition at line 201 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 137 of file HcalDetDiagLEDMonitor.h.
Referenced by analyze(), and HcalDetDiagLEDMonitor().
|
private |
Definition at line 125 of file HcalDetDiagLEDMonitor.h.
Referenced by fill_energy(), get_energy(), and setup().
|
private |
Definition at line 203 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 126 of file HcalDetDiagLEDMonitor.h.
Referenced by fill_energy(), get_energy(), and setup().
|
private |
Definition at line 204 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 130 of file HcalDetDiagLEDMonitor.h.
Referenced by CheckStatus(), fill_channel_status(), and setup().
|
private |
Definition at line 208 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 131 of file HcalDetDiagLEDMonitor.h.
Referenced by CheckStatus(), fill_channel_status(), and setup().
|
private |
Definition at line 209 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 127 of file HcalDetDiagLEDMonitor.h.
Referenced by CheckStatus(), fill_channel_status(), and setup().
|
private |
Definition at line 205 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 132 of file HcalDetDiagLEDMonitor.h.
Referenced by CheckStatus(), fill_channel_status(), and setup().
|
private |
Definition at line 210 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 133 of file HcalDetDiagLEDMonitor.h.
Referenced by CheckStatus(), fill_channel_status(), and setup().
|
private |
Definition at line 211 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 128 of file HcalDetDiagLEDMonitor.h.
Referenced by CheckStatus(), fill_channel_status(), and setup().
|
private |
Definition at line 206 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 129 of file HcalDetDiagLEDMonitor.h.
Referenced by CheckStatus(), fill_channel_status(), and setup().
|
private |
Definition at line 207 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 81 of file HcalDetDiagLEDMonitor.h.
Referenced by HcalDetDiagLEDMonitor(), and SaveReference().
|
private |
Definition at line 135 of file HcalDetDiagLEDMonitor.h.
Referenced by analyze(), and HcalDetDiagLEDMonitor().
|
private |
Definition at line 44 of file HcalDetDiagLEDMonitor.h.
Referenced by CheckStatus(), fillHistos(), SaveReference(), and setup().
|
private |
Definition at line 94 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 100 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 101 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 106 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 96 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 102 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 104 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 43 of file HcalDetDiagLEDMonitor.h.
Referenced by setup().
|
private |
Definition at line 119 of file HcalDetDiagLEDMonitor.h.
Referenced by analyze(), CheckStatus(), fillHistos(), LoadReference(), and SaveReference().
|
private |
Definition at line 197 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 108 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 107 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 120 of file HcalDetDiagLEDMonitor.h.
Referenced by analyze(), CheckStatus(), fillHistos(), LoadReference(), and SaveReference().
|
private |
Definition at line 198 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 110 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 109 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 122 of file HcalDetDiagLEDMonitor.h.
Referenced by analyze(), CheckStatus(), fillHistos(), LoadReference(), and SaveReference().
|
private |
Definition at line 200 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 112 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 111 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 113 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 116 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 114 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 117 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 115 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 121 of file HcalDetDiagLEDMonitor.h.
Referenced by analyze(), CheckStatus(), fillHistos(), LoadReference(), and SaveReference().
|
private |
Definition at line 199 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 78 of file HcalDetDiagLEDMonitor.h.
Referenced by analyze(), CheckStatus(), endRun(), GetStatistics(), HcalDetDiagLEDMonitor(), and SaveReference().
|
private |
Definition at line 82 of file HcalDetDiagLEDMonitor.h.
Referenced by HcalDetDiagLEDMonitor(), and LoadReference().
|
private |
Definition at line 216 of file HcalDetDiagLEDMonitor.cc.
Referenced by beginRun(), CheckStatus(), and fillHistos().
|
private |
Definition at line 84 of file HcalDetDiagLEDMonitor.h.
Referenced by HcalDetDiagLEDMonitor().
|
private |
Definition at line 85 of file HcalDetDiagLEDMonitor.h.
Referenced by HcalDetDiagLEDMonitor().
|
private |
Definition at line 45 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 92 of file HcalDetDiagLEDMonitor.h.
|
private |
Definition at line 170 of file HcalDetDiagLEDMonitor.cc.
|
private |
Definition at line 90 of file HcalDetDiagLEDMonitor.h.
Referenced by HcalDetDiagLEDMonitor(), and SaveReference().
|
private |
Definition at line 88 of file HcalDetDiagLEDMonitor.h.
Referenced by HcalDetDiagLEDMonitor(), and LoadReference().
|
private |
Definition at line 89 of file HcalDetDiagLEDMonitor.h.
Referenced by LoadReference(), and setup().
|
private |
Definition at line 93 of file HcalDetDiagLEDMonitor.h.
Referenced by setup().
|
private |
Definition at line 80 of file HcalDetDiagLEDMonitor.h.
Referenced by analyze(), HcalDetDiagLEDMonitor(), and SaveReference().
|
private |
Definition at line 95 of file HcalDetDiagLEDMonitor.h.
Referenced by CheckStatus(), fillHistos(), SaveReference(), and setup().
|
private |
Definition at line 98 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 99 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 97 of file HcalDetDiagLEDMonitor.h.
Referenced by CheckStatus(), fillHistos(), and setup().
|
private |
Definition at line 103 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 105 of file HcalDetDiagLEDMonitor.h.
Referenced by fillHistos(), and setup().
|
private |
Definition at line 136 of file HcalDetDiagLEDMonitor.h.
|
private |
Definition at line 86 of file HcalDetDiagLEDMonitor.h.
|
private |
Definition at line 168 of file HcalDetDiagLEDMonitor.cc.
Referenced by HcalDetDiagLEDMonitor(), and SaveReference().