#include <CastorLEDMonitor.h>
Public Member Functions | |
CastorLEDMonitor () | |
void | done () |
void | processEvent (const CastorDigiCollection &cast, const CastorDbService &cond) |
void | reset () |
void | setup (const edm::ParameterSet &ps, DQMStore *dbe) |
~CastorLEDMonitor () | |
Public Member Functions inherited from CastorBaseMonitor | |
CastorBaseMonitor () | |
virtual void | clearME () |
bool | getDiagnostics () const |
int | getVerbosity () const |
void | setDiagnostics (bool myval) |
void | setVerbosity (int verb) |
bool | vetoCell (HcalCastorDetId id) |
virtual | ~CastorBaseMonitor () |
Private Member Functions | |
void | createFEDmap (unsigned int fed) |
void | perChanHists (const HcalCastorDetId DetID, float *vals, std::map< HcalCastorDetId, MonitorElement * > &tShape, std::map< HcalCastorDetId, MonitorElement * > &tTime, std::map< HcalCastorDetId, MonitorElement * > &tEnergy, std::string baseFolder) |
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 36 of file CastorLEDMonitor.h.
CastorLEDMonitor::CastorLEDMonitor | ( | ) |
CastorLEDMonitor::~CastorLEDMonitor | ( | ) |
Definition at line 24 of file CastorLEDMonitor.cc.
|
private |
Definition at line 90 of file CastorLEDMonitor.cc.
References CastorBaseMonitor::baseFolder_, DQMStore::book2D(), fedIter, CastorBaseMonitor::m_dbe, mean_energy, MEAN_MAP_ENERGY_DCC, MEAN_MAP_SHAPE_DCC, MEAN_MAP_TIME_DCC, mean_shape, mean_time, mergeVDriftHistosByStation::name, rms_energy, RMS_MAP_ENERGY_DCC, RMS_MAP_SHAPE_DCC, RMS_MAP_TIME_DCC, rms_shape, rms_time, and DQMStore::setCurrentFolder().
Referenced by reset().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 214 of file CastorLEDMonitor.cc.
Referenced by CastorMonitorModule::endJob().
|
private |
Definition at line 223 of file CastorLEDMonitor.cc.
References DQMStore::book1D(), energy, MonitorElement::Fill(), CastorBaseMonitor::fVerbosity, i, CastorBaseMonitor::m_dbe, meIter, HcalCastorDetId::module(), mergeVDriftHistosByStation::name, NULL, HcalCastorDetId::sector(), DQMStore::setCurrentFolder(), sigS0_, sigS1_, and HcalCastorDetId::zside().
Referenced by processEvent().
void CastorLEDMonitor::processEvent | ( | const CastorDigiCollection & | cast, |
const CastorDbService & | cond | ||
) |
Definition at line 143 of file CastorLEDMonitor.cc.
References HcalQIESample::adc(), adcThresh_, CastorBaseMonitor::baseFolder_, edm::SortedCollection< T, SORT >::begin(), calibs_, HcalQIESample::capid(), castHists, gather_cfg::cout, doPerChannel_, edm::SortedCollection< T, SORT >::end(), energy, MonitorElement::Fill(), CastorBaseMonitor::fVerbosity, i, CastorDataFrame::id(), ievt_, j, LedMonAdc2fc, CastorBaseMonitor::m_dbe, meEVT_, CastorCalibrations::pedestal(), perChanHists(), CastorDataFrame::sample(), sigS0_, sigS1_, CastorDataFrame::size(), edm::SortedCollection< T, SORT >::size(), tmp, and create_public_pileup_plots::vals.
void CastorLEDMonitor::reset | ( | void | ) |
Definition at line 126 of file CastorLEDMonitor.cc.
References b, createFEDmap(), DQMStore::get(), MonitorElement::getBinContent(), MonitorElement::getNbinsX(), and CastorBaseMonitor::m_dbe.
Referenced by CastorMonitorModule::reset().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 31 of file CastorLEDMonitor.cc.
References adcThresh_, CastorBaseMonitor::baseFolder_, DQMStore::book1D(), DQMStore::bookInt(), castHists, gather_cfg::cout, doPerChannel_, MonitorElement::Fill(), edm::ParameterSet::getUntrackedParameter(), ievt_, CastorBaseMonitor::m_dbe, meEVT_, CastorBaseMonitor::rootFolder_, DQMStore::setCurrentFolder(), CastorBaseMonitor::setup(), sigS0_, and sigS1_.
|
private |
Definition at line 70 of file CastorLEDMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 73 of file CastorLEDMonitor.h.
Referenced by processEvent().
struct { ... } CastorLEDMonitor::castHists |
Referenced by processEvent(), and setup().
|
private |
Definition at line 67 of file CastorLEDMonitor.h.
Referenced by CastorLEDMonitor(), processEvent(), and setup().
std::map<HcalCastorDetId,MonitorElement*> CastorLEDMonitor::energy |
Definition at line 82 of file CastorLEDMonitor.h.
Referenced by perChanHists(), and processEvent().
MonitorElement* CastorLEDMonitor::energyALL |
Definition at line 87 of file CastorLEDMonitor.h.
|
private |
Definition at line 65 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
|
private |
Definition at line 72 of file CastorLEDMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 72 of file CastorLEDMonitor.h.
MonitorElement* CastorLEDMonitor::mean_energy |
Definition at line 96 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
|
private |
Definition at line 115 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
|
private |
Definition at line 118 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
|
private |
Definition at line 121 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
|
private |
Definition at line 101 of file CastorLEDMonitor.h.
|
private |
Definition at line 104 of file CastorLEDMonitor.h.
|
private |
Definition at line 107 of file CastorLEDMonitor.h.
|
private |
Definition at line 110 of file CastorLEDMonitor.h.
MonitorElement* CastorLEDMonitor::mean_shape |
Definition at line 90 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
MonitorElement* CastorLEDMonitor::mean_time |
Definition at line 93 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
|
private |
Definition at line 77 of file CastorLEDMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 64 of file CastorLEDMonitor.h.
Referenced by perChanHists().
MonitorElement* CastorLEDMonitor::rms_energy |
Definition at line 95 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
|
private |
Definition at line 116 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
|
private |
Definition at line 119 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
|
private |
Definition at line 122 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
|
private |
Definition at line 102 of file CastorLEDMonitor.h.
|
private |
Definition at line 105 of file CastorLEDMonitor.h.
|
private |
Definition at line 108 of file CastorLEDMonitor.h.
|
private |
Definition at line 111 of file CastorLEDMonitor.h.
MonitorElement* CastorLEDMonitor::rms_shape |
Definition at line 89 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
MonitorElement* CastorLEDMonitor::rms_time |
Definition at line 92 of file CastorLEDMonitor.h.
Referenced by createFEDmap().
std::map<HcalCastorDetId,MonitorElement*> CastorLEDMonitor::shape |
Definition at line 80 of file CastorLEDMonitor.h.
MonitorElement* CastorLEDMonitor::shapeALL |
Definition at line 85 of file CastorLEDMonitor.h.
MonitorElement* CastorLEDMonitor::shapePED |
Definition at line 84 of file CastorLEDMonitor.h.
|
private |
Definition at line 69 of file CastorLEDMonitor.h.
Referenced by CastorLEDMonitor(), perChanHists(), processEvent(), and setup().
|
private |
Definition at line 69 of file CastorLEDMonitor.h.
Referenced by CastorLEDMonitor(), perChanHists(), processEvent(), and setup().
std::map<HcalCastorDetId,MonitorElement*> CastorLEDMonitor::time |
Definition at line 81 of file CastorLEDMonitor.h.
MonitorElement* CastorLEDMonitor::timeALL |
Definition at line 86 of file CastorLEDMonitor.h.