#include <CastorPSMonitor.h>
Public Member Functions | |
CastorPSMonitor () | |
void | processEvent (const CastorDigiCollection &castorDigis, const CastorDbService &conditions, 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 48 of file CastorPSMonitor.cc.
References doPerChannel_, firstRegionThreshold_, ievt_, secondRegionThreshold_, status, statusRS, and statusSaturated.
CastorPSMonitor::~CastorPSMonitor | ( | ) |
Definition at line 61 of file CastorPSMonitor.cc.
void CastorPSMonitor::processEvent | ( | const CastorDigiCollection & | castorDigis, |
const CastorDbService & | conditions, | ||
std::vector< HcalGenericDetId > | listEMap, | ||
int | iBunch, | ||
float | PedSigmaInChannel[14][16] | ||
) |
Definition at line 153 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_, ExpressReco_HICollisions_FallBack::firstTS, fraction, CastorBaseMonitor::fVerbosity, CastorDbService::getCastorCalibrations(), CastorDbService::getCastorCoder(), CastorDbService::getCastorShape(), MonitorElement::getTH2F(), i, CastorDataFrame::id(), ievt_, j, gen::k, ExpressReco_HICollisions_FallBack::lastTS, CastorBaseMonitor::m_dbe, meEvt_, 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(), sumDigiForEachChannel, thirdRegionThreshold_, NewBunch::tsAdc, NewBunch::tsCapId, NewBunch::tsfC, and NewBunch::usedflag.
Referenced by CastorMonitorModule::analyze().
void CastorPSMonitor::reset | ( | void | ) |
Definition at line 64 of file CastorPSMonitor.cc.
Referenced by CastorMonitorModule::reset().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 71 of file CastorPSMonitor.cc.
References CastorBaseMonitor::baseFolder_, DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookFloat(), DQMStore::bookInt(), castorDigiHists, ChannelSummaryMap, gather_cfg::cout, DigiOccupancyMap, MonitorElement::Fill(), firstRegionThreshold_, firstTime_, fraction, CastorBaseMonitor::fVerbosity, MonitorElement::getTH2F(), edm::ParameterSet::getUntrackedParameter(), h_reportSummaryMap, i, ievt_, CastorBaseMonitor::m_dbe, meEvt_, AlCaRecoCosmics_cfg::name, NULL, numberSigma_, numOK, offline_, overallStatus, PSsector, reportSummary, reportSummaryMap, CastorBaseMonitor::rootFolder_, saturatedMap, saturatedThreshold_, SaturationSummaryMap, secondRegionThreshold_, DQMStore::setCurrentFolder(), CastorBaseMonitor::setup(), sumDigiForEachChannel, and thirdRegionThreshold_.
Referenced by CastorMonitorModule::CastorMonitorModule().
|
private |
Definition at line 60 of file CastorPSMonitor.h.
Referenced by processEvent().
struct { ... } CastorPSMonitor::castorDigiHists |
Referenced by processEvent(), and setup().
|
private |
Definition at line 41 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 37 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 25 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor().
|
private |
Definition at line 54 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor(), processEvent(), and setup().
|
private |
Definition at line 44 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 51 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 52 of file CastorPSMonitor.h.
Referenced by setup().
|
private |
Definition at line 27 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor(), processEvent(), and setup().
MonitorElement* CastorPSMonitor::meDigi_pulseBX |
Definition at line 31 of file CastorPSMonitor.h.
|
private |
Definition at line 34 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 46 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 47 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 45 of file CastorPSMonitor.h.
Referenced by setup().
|
private |
Definition at line 40 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 35 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 38 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 39 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
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().
|
private |
Definition at line 42 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 55 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor(), processEvent(), and setup().
|
private |
Definition at line 48 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor(), and processEvent().
|
private |
Definition at line 49 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor(), and processEvent().
|
private |
Definition at line 50 of file CastorPSMonitor.h.
Referenced by CastorPSMonitor(), and processEvent().
|
private |
Definition at line 58 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 56 of file CastorPSMonitor.h.
Referenced by processEvent(), and setup().