#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 hcaldqm::constants::BAD, edm::BeginRun, fVerbosity, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), Qrms_DEAD, RatioThresh1, AlCaHLTBitMon_QueryRunRegistry::string, subsystemname_, and TS_MAX.
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(), funct::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, 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 366 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 375 of file CastorDigiMonitor.cc.
References edm::HLTGlobalStatus::accept(), edm::EventBase::bunchCrossing(), dqm::impl::MonitorElement::Fill(), fVerbosity, hpBXtrig, hpTrigRes, dqmiodumpmetadata::n, edm::HLTGlobalStatus::size(), edm::TriggerNames::triggerIndex(), edm::TriggerNames::triggerName(), and edm::TriggerNames::triggerNames().
Referenced by processEvent().
void CastorDigiMonitor::getDbData | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 401 of file CastorDigiMonitor.cc.
References castorChannelQualityToken_, fVerbosity, edm::EventSetup::getHandle(), CastorChannelStatus::getValue(), edm::ESHandleBase::isValid(), mod(), HcalCastorDetId::module(), quality, CastorChannelStatus::rawId(), HcalCastorDetId::sector(), and relativeConstraints::value.
Referenced by bookHistograms().
int CastorDigiMonitor::ModSecToIndex | ( | int | module, |
int | sector | ||
) |
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(), edm::SortedCollection< T, SORT >::begin(), edm::EventBase::bunchCrossing(), HcalQIESample::capid(), HcalQIESample::dv(), edm::SortedCollection< T, SORT >::empty(), edm::SortedCollection< T, SORT >::end(), HcalQIESample::er(), submitPVValidationJobs::err, dqm::impl::MonitorElement::Fill(), fillTrigRes(), 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(), HcalCastorDetId::sector(), dqm::impl::MonitorElement::setBinContent(), CastorDataFrame::size(), mathSSE::sqrt(), 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(), CastorDigiMonitor(), 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 CastorDigiMonitor(), and 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 CastorDigiMonitor(), and processEvent().
|
private |
Definition at line 42 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and CastorDigiMonitor().
|
private |
Definition at line 66 of file CastorDigiMonitor.h.
Referenced by CastorDigiMonitor(), and processEvent().
|
private |
Definition at line 70 of file CastorDigiMonitor.h.
Referenced by processEvent().