#include <CastorDigiMonitor.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, const edm::EventSetup &) |
CastorDigiMonitor (const edm::ParameterSet &ps, edm::ConsumesCollector &&) | |
void | endRun () |
void | fillTrigRes (edm::Event const &event, const edm::TriggerResults &TrigResults, double Etot) |
void | getDbData (const edm::EventSetup &) |
int | ModSecToIndex (int module, int sector) |
void | processEvent (edm::Event const &event, const CastorDigiCollection &cast, const edm::TriggerResults &trig, const CastorDbService &cond) |
~CastorDigiMonitor () | |
Private Attributes | |
edm::ESGetToken< CastorChannelQuality, CastorChannelQualityRcd > | castorChannelQualityToken_ |
int | fVerbosity |
MonitorElement * | h2digierr |
MonitorElement * | h2QmeanMap |
MonitorElement * | h2QmeantsvsCh |
MonitorElement * | h2QrmsTSvsCh |
MonitorElement * | h2qualityMap |
MonitorElement * | h2repsum |
MonitorElement * | h2status |
MonitorElement * | h2towEMvsHAD |
MonitorElement * | h2TSratio |
MonitorElement * | hBX |
MonitorElement * | hdigisize |
MonitorElement * | hModule |
MonitorElement * | hpBXtrig |
MonitorElement * | hpTrigRes |
MonitorElement * | hQIErms [10] |
MonitorElement * | hReport |
MonitorElement * | hSector |
MonitorElement * | htowE |
MonitorElement * | hTSratio |
int | ievt_ |
float | QIEerrThreshold = 0.0001 |
double | QmeanTS [224][10] |
float | Qrms_DEAD |
double | QrmsTS [224][10] |
float | RatioThresh1 = 0. |
std::string | subsystemname_ |
int | TS_MAX = 10 |
const int | TSped = 0 |
Definition at line 23 of file CastorDigiMonitor.h.
Definition at line 25 of file CastorDigiMonitor.h.
Definition at line 26 of file CastorDigiMonitor.h.
CastorDigiMonitor::CastorDigiMonitor | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 36 of file CastorDigiMonitor.cc.
References edm::BeginRun.
CastorDigiMonitor::~CastorDigiMonitor | ( | ) |
Definition at line 54 of file CastorDigiMonitor.cc.
void CastorDigiMonitor::bookHistograms | ( | DQMStore::IBooker & | ibooker, |
edm::Run const & | iRun, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 56 of file CastorDigiMonitor.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book1DD(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookFloat(), dqm::implementation::IBooker::bookProfile(), dqm::implementation::IBooker::bookProfile2D(), JetChargeProducer_cfi::exp, fVerbosity, getDbData(), dqm::legacy::MonitorElement::getTProfile(), dqm::legacy::MonitorElement::getTProfile2D(), h2digierr, h2QmeanMap, h2QmeantsvsCh, h2QrmsTSvsCh, h2qualityMap, h2repsum, h2status, h2towEMvsHAD, h2TSratio, hBX, hdigisize, hModule, hpBXtrig, hpTrigRes, hQIErms, hReport, hSector, htowE, hTSratio, ievt_, dqmiolumiharvest::j, dqm-mbProfile::log, QIEerrThreshold, QmeanTS, QrmsTS, alignCSCRings::s, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), dqm::impl::MonitorElement::setOption(), AlCaHLTBitMon_QueryRunRegistry::string, and subsystemname_.
void CastorDigiMonitor::endRun | ( | ) |
Definition at line 364 of file CastorDigiMonitor.cc.
References fVerbosity, dqm::legacy::MonitorElement::getTProfile(), hpTrigRes, and mps_fire::i.
void CastorDigiMonitor::fillTrigRes | ( | edm::Event const & | event, |
const edm::TriggerResults & | TrigResults, | ||
double | Etot | ||
) |
Definition at line 373 of file CastorDigiMonitor.cc.
References dqm::impl::MonitorElement::Fill(), fVerbosity, hpBXtrig, hpTrigRes, createfilelist::int, dqmiodumpmetadata::n, cscTnPEfficiencyTask_cfi::trigName, and EgHLTOfflineSource_cfi::TrigResults.
Referenced by processEvent().
void CastorDigiMonitor::getDbData | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 399 of file CastorDigiMonitor.cc.
References castorChannelQualityToken_, ewkTauDQM_cfi::channels, hlt_dqm_sourceclient-live_cfg::ChannelStatus, fVerbosity, CastorCondObjectContainer< Item >::getAllChannels(), edm::EventSetup::getHandle(), CastorCondObjectContainer< Item >::getValues(), edm::ESHandleBase::isValid(), mod(), HcalCastorDetId::module(), quality, nano_mu_digi_cff::rawId, fileinputsource_cfi::sec, HcalCastorDetId::sector(), and relativeConstraints::value.
Referenced by bookHistograms().
int CastorDigiMonitor::ModSecToIndex | ( | int | module, |
int | sector | ||
) |
Definition at line 429 of file CastorDigiMonitor.cc.
References nano_mu_digi_cff::sector.
Referenced by processEvent().
void CastorDigiMonitor::processEvent | ( | edm::Event const & | event, |
const CastorDigiCollection & | cast, | ||
const edm::TriggerResults & | trig, | ||
const CastorDbService & | cond | ||
) |
Definition at line 200 of file CastorDigiMonitor.cc.
References a, HcalQIESample::adc(), HcalQIESample::capid(), RawToDigi_cff::castorDigis, hlt_dqm_sourceclient-live_cfg::ChannelStatus, HcalQIESample::dv(), HcalQIESample::er(), submitPVResolutionJobs::err, dqm::impl::MonitorElement::Fill(), fillTrigRes(), nano_mu_digi_cff::float, fVerbosity, dqm::legacy::MonitorElement::getTProfile2D(), h2digierr, h2QmeanMap, h2QmeantsvsCh, h2QrmsTSvsCh, h2qualityMap, h2repsum, h2status, h2towEMvsHAD, h2TSratio, hBX, hdigisize, hModule, hQIErms, hReport, hSector, htowE, hTSratio, mps_fire::i, CastorDataFrame::id(), ievt_, isum, dqmiolumiharvest::j, LedMonAdc2fc, visualization-live-secondInstance_cfg::m, mod(), ModSecToIndex(), HcalCastorDetId::module(), callgraph::module, submitPVResolutionJobs::q, QmeanTS, Qrms_DEAD, QrmsTS, alignCSCRings::r, RatioThresh1, dqm::impl::MonitorElement::Reset(), alignCSCRings::s, CastorDataFrame::sample(), fileinputsource_cfi::sec, nano_mu_digi_cff::sector, HcalCastorDetId::sector(), dqm::impl::MonitorElement::setBinContent(), CastorDataFrame::size(), mathSSE::sqrt(), EgHLTOfflineSource_cfi::TrigResults, TS_MAX, and TSped.
|
private |
Definition at line 41 of file CastorDigiMonitor.h.
Referenced by getDbData().
|
private |
Definition at line 43 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), endRun(), fillTrigRes(), getDbData(), and processEvent().
|
private |
Definition at line 54 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 59 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 58 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 49 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 56 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 55 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 53 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 63 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 52 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 47 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 62 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 60 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 47 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and fillTrigRes().
|
private |
Definition at line 48 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), endRun(), and fillTrigRes().
|
private |
Definition at line 50 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 57 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 61 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 64 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 51 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 44 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 68 of file CastorDigiMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 69 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 45 of file CastorDigiMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 69 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 67 of file CastorDigiMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 42 of file CastorDigiMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 66 of file CastorDigiMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 70 of file CastorDigiMonitor.h.
Referenced by processEvent().