#include <CastorPSMonitor.h>
Public Member Functions | |
void | beginRun (const edm::Run &iRun, const edm::EventSetup &iSetup) |
CastorPSMonitor () | |
void | processEvent (const CastorDigiCollection &castorDigis, const CastorDbService &conditions, const std::vector< HcalGenericDetId > &listEMap, int iBunch, float PedSigmaInChannel[14][16]) |
void | reset () |
void | setup (const edm::ParameterSet &ps, DQMStore *dbe) |
~CastorPSMonitor () | |
Public Member Functions inherited from CastorBaseMonitor | |
CastorBaseMonitor () | |
virtual void | clearME () |
virtual void | done () |
bool | getDiagnostics () const |
int | getVerbosity () const |
void | setDiagnostics (bool myval) |
void | setVerbosity (int verb) |
bool | vetoCell (HcalCastorDetId id) |
virtual | ~CastorBaseMonitor () |
Private Attributes | |
std::vector< NewBunch > | Bunches_ |
struct { | |
MonitorElement * meDigi_pulseBX | |
} | castorDigiHists |
MonitorElement * | ChannelSummaryMap |
MonitorElement * | DigiOccupancyMap |
bool | doPerChannel_ |
double | firstRegionThreshold_ |
bool | firstTime_ |
double | fraction |
TH2F * | h_reportSummaryMap |
int | ievt_ |
MonitorElement * | meEvt_ |
double | numberSigma_ |
int | numOK |
bool | offline_ |
MonitorElement * | overallStatus |
std::map< int, MonitorElement * > | PSsector |
MonitorElement * | reportSummary |
MonitorElement * | reportSummaryMap |
int | saturatedMap [14][16] |
double | saturatedThreshold_ |
MonitorElement * | SaturationSummaryMap |
double | secondRegionThreshold_ |
double | status |
double | statusRS |
double | statusSaturated |
double | sumDigiForEachChannel [14][16] |
double | thirdRegionThreshold_ |
Additional Inherited Members | |
Protected Attributes inherited from CastorBaseMonitor | |
std::string | baseFolder_ |
edm::CPUTimer | cpu_timer |
int | fVerbosity |
DQMStore * | m_dbe |
bool | makeDiagnostics |
std::string | rootFolder_ |
bool | showTiming |
Definition at line 14 of file CastorPSMonitor.h.
CastorPSMonitor::CastorPSMonitor | ( | ) |
Definition at line 50 of file CastorPSMonitor.cc.
References doPerChannel_, firstRegionThreshold_, ievt_, secondRegionThreshold_, status, statusRS, and statusSaturated.
CastorPSMonitor::~CastorPSMonitor | ( | ) |
Definition at line 63 of file CastorPSMonitor.cc.
void CastorPSMonitor::beginRun | ( | const edm::Run & | iRun, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 113 of file CastorPSMonitor.cc.
References CastorBaseMonitor::baseFolder_, DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookFloat(), DQMStore::bookInt(), castorDigiHists, ChannelSummaryMap, gather_cfg::cout, DigiOccupancyMap, MonitorElement::Fill(), fraction, CastorBaseMonitor::fVerbosity, MonitorElement::getTH2F(), h_reportSummaryMap, i, CastorBaseMonitor::m_dbe, meEvt_, mergeVDriftHistosByStation::name, NULL, offline_, overallStatus, PSsector, reportSummary, reportSummaryMap, CastorBaseMonitor::rootFolder_, SaturationSummaryMap, and DQMStore::setCurrentFolder().
Referenced by CastorMonitorModule::beginRun().
void CastorPSMonitor::processEvent | ( | const CastorDigiCollection & | castorDigis, |
const CastorDbService & | conditions, | ||
const std::vector< HcalGenericDetId > & | listEMap, | ||
int | iBunch, | ||
float | PedSigmaInChannel[14][16] | ||
) |
Definition at line 173 of file CastorPSMonitor.cc.
References HcalQIESample::adc(), edm::SortedCollection< T, SORT >::begin(), Bunches_, HcalQIESample::capid(), castorDigiHists, ChannelSummaryMap, CastorQIECoder::charge(), gather_cfg::cout, CastorBaseMonitor::cpu_timer, edm::CPUTimer::cpuTime(), NewBunch::detid, DigiOccupancyMap, edm::SortedCollection< T, SORT >::end(), MonitorElement::Fill(), firstRegionThreshold_, firstTime_, fraction, CastorBaseMonitor::fVerbosity, CastorDbService::getCastorCalibrations(), CastorDbService::getCastorCoder(), CastorDbService::getCastorShape(), MonitorElement::getTH2F(), i, CastorDataFrame::id(), ievt_, j, gen::k, CastorBaseMonitor::m_dbe, meEvt_, python.rootplot.argparse::module, numberSigma_, numOK, overallStatus, CastorCalibrations::pedestal(), CastorDataFrame::presamples(), PSsector, DetId::rawId(), reportSummary, reportSummaryMap, edm::CPUTimer::reset(), CastorDataFrame::sample(), saturatedMap, saturatedThreshold_, SaturationSummaryMap, secondRegionThreshold_, CastorBaseMonitor::showTiming, CastorDataFrame::size(), edm::SortedCollection< T, SORT >::size(), edm::CPUTimer::start(), status, statusRS, statusSaturated, edm::CPUTimer::stop(), AlCaHLTBitMon_QueryRunRegistry::string, sumDigiForEachChannel, thirdRegionThreshold_, NewBunch::tsAdc, NewBunch::tsCapId, NewBunch::tsfC, and NewBunch::usedflag.
Referenced by CastorMonitorModule::analyze().
void CastorPSMonitor::reset | ( | void | ) |
Definition at line 66 of file CastorPSMonitor.cc.
Referenced by CastorMonitorModule::reset().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 75 of file CastorPSMonitor.cc.
References CastorBaseMonitor::baseFolder_, cuy::col, gather_cfg::cout, firstRegionThreshold_, firstTime_, fraction, CastorBaseMonitor::fVerbosity, edm::ParameterSet::getUntrackedParameter(), ievt_, numberSigma_, numOK, offline_, CastorBaseMonitor::rootFolder_, saturatedMap, saturatedThreshold_, secondRegionThreshold_, CastorBaseMonitor::setup(), sumDigiForEachChannel, and thirdRegionThreshold_.
Referenced by CastorMonitorModule::CastorMonitorModule().
|
private |
Definition at line 61 of file CastorPSMonitor.h.
Referenced by processEvent().
struct { ... } CastorPSMonitor::castorDigiHists |
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 42 of file CastorPSMonitor.h.
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 38 of file CastorPSMonitor.h.
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 26 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor().
|
private |
Definition at line 55 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor(), processEvent(), and setup().
|
private |
Definition at line 45 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 52 of file CastorPSMonitor.h.
Referenced by beginRun(), processEvent(), and setup().
|
private |
Definition at line 53 of file CastorPSMonitor.h.
Referenced by beginRun().
|
private |
Definition at line 28 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor(), processEvent(), and setup().
MonitorElement* CastorPSMonitor::meDigi_pulseBX |
Definition at line 32 of file CastorPSMonitor.h.
|
private |
Definition at line 35 of file CastorPSMonitor.h.
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 47 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 48 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 46 of file CastorPSMonitor.h.
Referenced by beginRun(), and setup().
|
private |
Definition at line 41 of file CastorPSMonitor.h.
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 36 of file CastorPSMonitor.h.
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 39 of file CastorPSMonitor.h.
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 40 of file CastorPSMonitor.h.
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 60 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 58 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 43 of file CastorPSMonitor.h.
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 56 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor(), processEvent(), and setup().
|
private |
Definition at line 49 of file CastorPSMonitor.h.
Referenced by dirstructure.Comparison::__make_image(), dirstructure.Comparison::__repr__(), CastorPSMonitor(), and processEvent().
|
private |
Definition at line 50 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor(), and processEvent().
|
private |
Definition at line 51 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor(), and processEvent().
|
private |
Definition at line 59 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 57 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().