#include <CastorDigiMonitor.h>
Public Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) |
CastorDigiMonitor (const edm::ParameterSet &ps) | |
int | ModSecToIndex (int module, int sector) |
void | processEvent (const CastorDigiCollection &cast, const CastorDbService &cond) |
void | setup (const edm::ParameterSet &ps) |
~CastorDigiMonitor () | |
Public Member Functions inherited from CastorBaseMonitor | |
CastorBaseMonitor () | |
virtual | ~CastorBaseMonitor () |
Private Attributes | |
int | fVerbosity |
MonitorElement * | h2digierr |
MonitorElement * | h2QmeanMap |
MonitorElement * | h2QmeantsvsCh |
MonitorElement * | h2QrmsTSvsCh |
MonitorElement * | h2QtsvsCh |
MonitorElement * | h2reportMap |
MonitorElement * | h2status |
MonitorElement * | h2TSratio |
MonitorElement * | hdigisize |
MonitorElement * | hModule |
MonitorElement * | hQIErms [10] |
MonitorElement * | hReport |
MonitorElement * | hSector |
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 |
Additional Inherited Members | |
Protected Attributes inherited from CastorBaseMonitor | |
std::string | baseFolder_ |
edm::CPUTimer | cpu_timer |
int | fVerbosity |
std::string | rootFolder_ |
bool | showTiming |
Definition at line 16 of file CastorDigiMonitor.h.
CastorDigiMonitor::CastorDigiMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 18 of file CastorDigiMonitor.cc.
References fVerbosity, edm::ParameterSet::getUntrackedParameter(), Qrms_DEAD, RatioThresh1, AlCaHLTBitMon_QueryRunRegistry::string, subsystemname_, and TS_MAX.
CastorDigiMonitor::~CastorDigiMonitor | ( | ) |
Definition at line 29 of file CastorDigiMonitor.cc.
void CastorDigiMonitor::bookHistograms | ( | DQMStore::IBooker & | ibooker, |
edm::Run const & | iRun, | ||
edm::EventSetup const & | iSetup | ||
) |
Definition at line 42 of file CastorDigiMonitor.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookFloat(), DQMStore::IBooker::bookProfile2D(), gather_cfg::cout, fVerbosity, MonitorElement::getTH1F(), MonitorElement::getTH2F(), MonitorElement::getTProfile2D(), h2digierr, h2QmeanMap, h2QmeantsvsCh, h2QrmsTSvsCh, h2QtsvsCh, h2reportMap, h2status, h2TSratio, hdigisize, hModule, hQIErms, hReport, hSector, hTSratio, ievt_, QIEerrThreshold, QmeanTS, QrmsTS, alignCSCRings::s, indexGen::s2, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and subsystemname_.
Referenced by CastorMonitorModule::bookHistograms().
int CastorDigiMonitor::ModSecToIndex | ( | int | module, |
int | sector | ||
) |
Definition at line 253 of file CastorDigiMonitor.cc.
Referenced by processEvent().
void CastorDigiMonitor::processEvent | ( | const CastorDigiCollection & | cast, |
const CastorDbService & | cond | ||
) |
Definition at line 135 of file CastorDigiMonitor.cc.
References a, HcalQIESample::adc(), edm::SortedCollection< T, SORT >::begin(), HcalQIESample::capid(), gather_cfg::cout, HcalQIESample::dv(), edm::SortedCollection< T, SORT >::end(), HcalQIESample::er(), MonitorElement::Fill(), fVerbosity, MonitorElement::getTH1F(), MonitorElement::getTH2F(), MonitorElement::getTProfile2D(), h2digierr, h2QmeanMap, h2QmeantsvsCh, h2QrmsTSvsCh, h2QtsvsCh, h2reportMap, h2status, h2TSratio, hdigisize, hModule, hQIErms, hReport, hSector, hTSratio, i, CastorDataFrame::id(), ievt_, isum, j, LedMonAdc2fc, visualization-live-secondInstance_cfg::m, mod(), ModSecToIndex(), HcalCastorDetId::module(), lumiQueryAPI::q, QIEerrThreshold, QmeanTS, Qrms_DEAD, QrmsTS, alignCSCRings::r, RatioThresh1, alignCSCRings::s, CastorDataFrame::sample(), HcalCastorDetId::sector(), CastorDataFrame::size(), edm::SortedCollection< T, SORT >::size(), mathSSE::sqrt(), TS_MAX, and TSped.
Referenced by CastorMonitorModule::analyze().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 32 of file CastorDigiMonitor.cc.
References gather_cfg::cout, fVerbosity, edm::ParameterSet::getUntrackedParameter(), CastorBaseMonitor::setup(), AlCaHLTBitMon_QueryRunRegistry::string, and subsystemname_.
Referenced by CastorMonitorModule::CastorMonitorModule().
|
private |
Definition at line 28 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), CastorDigiMonitor(), processEvent(), and setup().
|
private |
Definition at line 37 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 42 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 41 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 32 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 40 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 38 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 36 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 35 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 45 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 43 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 33 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 39 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 34 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 29 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 50 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 30 of file CastorDigiMonitor.h.
Referenced by CastorDigiMonitor(), and processEvent().
|
private |
Definition at line 51 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), and processEvent().
|
private |
Definition at line 49 of file CastorDigiMonitor.h.
Referenced by CastorDigiMonitor(), and processEvent().
|
private |
Definition at line 27 of file CastorDigiMonitor.h.
Referenced by bookHistograms(), CastorDigiMonitor(), and setup().
|
private |
Definition at line 48 of file CastorDigiMonitor.h.
Referenced by CastorDigiMonitor(), and processEvent().
|
private |
Definition at line 52 of file CastorDigiMonitor.h.
Referenced by processEvent().