#include <CastorChannelQualityMonitor.h>
Public Member Functions | |
CastorChannelQualityMonitor () | |
void | processEvent (const CastorRecHitCollection &castorHits) |
void | reset () |
void | setup (const edm::ParameterSet &ps, DQMStore *dbe) |
~CastorChannelQualityMonitor () | |
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 () |
Public Attributes | |
struct { | |
std::vector< float > energy | |
int module | |
int sector | |
} | ChannelStatus |
Private Types | |
typedef std::map< uint32_t, float, std::less< uint32_t > > | MapType |
Private Attributes | |
int | aboveNoisyThreshold [14][16] |
int | aboveThr [14][16] |
double | averageEnergy |
bool | averageEnergyMethod_ |
int | belowDThreshold [14][16] |
double | castorEnergy |
int | castorModule |
int | castorSector |
int | counter1 |
int | counter2 |
double | dThreshold_ |
double | energyArray [14][16] |
double | fraction |
TH2F * | h_reportSummaryMap |
std::string | histo |
int | ievt_ |
bool | iRecHit |
double | nThreshold_ |
int | numOK |
bool | offline_ |
MonitorElement * | overallStatus |
MonitorElement * | reportSummary |
MonitorElement * | reportSummaryMap |
int | status |
double | wcounter1 |
double | wcounter2 |
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 28 of file CastorChannelQualityMonitor.h.
|
private |
Definition at line 30 of file CastorChannelQualityMonitor.h.
CastorChannelQualityMonitor::CastorChannelQualityMonitor | ( | ) |
Definition at line 17 of file CastorChannelQualityMonitor.cc.
References counter1, counter2, and ievt_.
CastorChannelQualityMonitor::~CastorChannelQualityMonitor | ( | ) |
Definition at line 27 of file CastorChannelQualityMonitor.cc.
void CastorChannelQualityMonitor::processEvent | ( | const CastorRecHitCollection & | castorHits | ) |
Definition at line 103 of file CastorChannelQualityMonitor.cc.
References aboveNoisyThreshold, aboveThr, averageEnergy, averageEnergyMethod_, edm::SortedCollection< T, SORT >::begin(), belowDThreshold, castorEnergy, castorModule, castorSector, counter1, counter2, gather_cfg::cout, dThreshold_, edm::SortedCollection< T, SORT >::end(), energyArray, MonitorElement::Fill(), edm::SortedCollection< T, SORT >::find(), fraction, CastorBaseMonitor::fVerbosity, MonitorElement::getTH2F(), ievt_, iRecHit, CastorBaseMonitor::m_dbe, module, HcalCastorDetId::module(), nThreshold_, numOK, overallStatus, reportSummary, reportSummaryMap, sector, HcalCastorDetId::sector(), edm::SortedCollection< T, SORT >::size(), status, wcounter1, and wcounter2.
Referenced by CastorMonitorModule::analyze().
void CastorChannelQualityMonitor::reset | ( | void | ) |
Definition at line 31 of file CastorChannelQualityMonitor.cc.
Referenced by CastorMonitorModule::reset().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 39 of file CastorChannelQualityMonitor.cc.
References aboveNoisyThreshold, aboveThr, averageEnergy, averageEnergyMethod_, belowDThreshold, DQMStore::book2D(), DQMStore::bookFloat(), cuy::col, counter1, counter2, gather_cfg::cout, dThreshold_, energyArray, MonitorElement::Fill(), fraction, CastorBaseMonitor::fVerbosity, MonitorElement::getTH2F(), edm::ParameterSet::getUntrackedParameter(), h_reportSummaryMap, ievt_, iRecHit, CastorBaseMonitor::m_dbe, nThreshold_, NULL, numOK, offline_, overallStatus, reportSummary, reportSummaryMap, CastorBaseMonitor::rootFolder_, DQMStore::setCurrentFolder(), CastorBaseMonitor::setup(), status, wcounter1, and wcounter2.
Referenced by CastorMonitorModule::CastorMonitorModule().
|
private |
Definition at line 58 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 61 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 66 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 68 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 59 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 51 of file CastorChannelQualityMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 51 of file CastorChannelQualityMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 51 of file CastorChannelQualityMonitor.h.
Referenced by processEvent().
struct { ... } CastorChannelQualityMonitor::ChannelStatus |
|
private |
Definition at line 62 of file CastorChannelQualityMonitor.h.
Referenced by CastorChannelQualityMonitor(), processEvent(), and setup().
|
private |
Definition at line 63 of file CastorChannelQualityMonitor.h.
Referenced by CastorChannelQualityMonitor(), processEvent(), and setup().
|
private |
Definition at line 57 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
std::vector<float> CastorChannelQualityMonitor::energy |
Definition at line 44 of file CastorChannelQualityMonitor.h.
|
private |
Definition at line 60 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 74 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 72 of file CastorChannelQualityMonitor.h.
Referenced by setup().
|
private |
Definition at line 54 of file CastorChannelQualityMonitor.h.
|
private |
Definition at line 50 of file CastorChannelQualityMonitor.h.
Referenced by CastorChannelQualityMonitor(), processEvent(), and setup().
|
private |
Definition at line 70 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
int CastorChannelQualityMonitor::module |
Definition at line 42 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and TreeCrawler.Package::search().
|
private |
Definition at line 56 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 52 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 69 of file CastorChannelQualityMonitor.h.
Referenced by setup().
|
private |
Definition at line 73 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 71 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 72 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
int CastorChannelQualityMonitor::sector |
Definition at line 43 of file CastorChannelQualityMonitor.h.
Referenced by geometryXMLparser.DTAlignable::index(), and processEvent().
|
private |
Definition at line 52 of file CastorChannelQualityMonitor.h.
Referenced by dirstructure.Comparison::__make_image(), dirstructure.Comparison::__repr__(), processEvent(), and setup().
|
private |
Definition at line 64 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 65 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().