#include <CastorChannelQualityMonitor.h>
Public Member Functions | |
void | beginRun (const edm::Run &iRun, const edm::EventSetup &iSetup) |
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 31 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::beginRun | ( | const edm::Run & | iRun, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 81 of file CastorChannelQualityMonitor.cc.
References DQMStore::book2D(), DQMStore::bookFloat(), gather_cfg::cout, MonitorElement::Fill(), fraction, CastorBaseMonitor::fVerbosity, MonitorElement::getTH2F(), h_reportSummaryMap, CastorBaseMonitor::m_dbe, NULL, offline_, overallStatus, reportSummary, reportSummaryMap, CastorBaseMonitor::rootFolder_, and DQMStore::setCurrentFolder().
Referenced by CastorMonitorModule::beginRun().
void CastorChannelQualityMonitor::processEvent | ( | const CastorRecHitCollection & | castorHits | ) |
Definition at line 123 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, cuy::col, counter1, counter2, gather_cfg::cout, dThreshold_, energyArray, fraction, CastorBaseMonitor::fVerbosity, edm::ParameterSet::getUntrackedParameter(), ievt_, iRecHit, nThreshold_, numOK, offline_, CastorBaseMonitor::setup(), status, wcounter1, and wcounter2.
Referenced by CastorMonitorModule::CastorMonitorModule().
|
private |
Definition at line 60 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 63 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 70 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 53 of file CastorChannelQualityMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 53 of file CastorChannelQualityMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 53 of file CastorChannelQualityMonitor.h.
Referenced by processEvent().
struct { ... } CastorChannelQualityMonitor::ChannelStatus |
|
private |
Definition at line 64 of file CastorChannelQualityMonitor.h.
Referenced by CastorChannelQualityMonitor(), processEvent(), and setup().
|
private |
Definition at line 65 of file CastorChannelQualityMonitor.h.
Referenced by CastorChannelQualityMonitor(), processEvent(), and setup().
|
private |
Definition at line 59 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
std::vector<float> CastorChannelQualityMonitor::energy |
Definition at line 46 of file CastorChannelQualityMonitor.h.
|
private |
Definition at line 62 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 76 of file CastorChannelQualityMonitor.h.
Referenced by beginRun(), processEvent(), and setup().
|
private |
Definition at line 74 of file CastorChannelQualityMonitor.h.
Referenced by beginRun().
|
private |
Definition at line 56 of file CastorChannelQualityMonitor.h.
|
private |
Definition at line 52 of file CastorChannelQualityMonitor.h.
Referenced by CastorChannelQualityMonitor(), processEvent(), and setup().
|
private |
Definition at line 72 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
int CastorChannelQualityMonitor::module |
Definition at line 44 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and TreeCrawler.Package::search().
|
private |
Definition at line 58 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 54 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 71 of file CastorChannelQualityMonitor.h.
Referenced by beginRun(), and setup().
|
private |
Definition at line 75 of file CastorChannelQualityMonitor.h.
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 73 of file CastorChannelQualityMonitor.h.
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 74 of file CastorChannelQualityMonitor.h.
Referenced by beginRun(), and processEvent().
int CastorChannelQualityMonitor::sector |
Definition at line 45 of file CastorChannelQualityMonitor.h.
Referenced by geometryXMLparser.DTAlignable::index(), and processEvent().
|
private |
Definition at line 54 of file CastorChannelQualityMonitor.h.
Referenced by dirstructure.Comparison::__make_image(), dirstructure.Comparison::__repr__(), processEvent(), and setup().
|
private |
Definition at line 66 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 67 of file CastorChannelQualityMonitor.h.
Referenced by processEvent(), and setup().