#include <CastorRecHitMonitor.h>
Public Member Functions | |
void | beginRun (const edm::EventSetup &iSetup) |
CastorRecHitMonitor () | |
void | processEvent (const CastorRecHitCollection &castorHits) |
void | reset () |
void | setup (const edm::ParameterSet &ps, DQMStore *dbe) |
~CastorRecHitMonitor () | |
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 | |
float | allEnergyModule [14] |
float | allEnergySector [16] |
struct { | |
MonitorElement * meCastorRecHitsOccupancy | |
std::map< HcalCastorDetId, MonitorElement * > meRECHIT_E | |
MonitorElement * meRECHIT_E_all | |
MonitorElement * meRECHIT_E_modules | |
MonitorElement * meRECHIT_E_relative_modules | |
MonitorElement * meRECHIT_E_relative_sectors | |
MonitorElement * meRECHIT_E_sectors | |
MonitorElement * meRECHIT_MAP_CHAN_E | |
MonitorElement * meRECHIT_N_event | |
MonitorElement * meRECHIT_N_modules | |
MonitorElement * meRECHIT_N_sectors | |
std::map< HcalCastorDetId, MonitorElement * > meRECHIT_T | |
MonitorElement * meRECHIT_T_all | |
} | castorHists |
float | channel |
bool | doPerChannel_ |
float | energy |
float | energyInEachChannel [14][16] |
int | ievt_ |
MonitorElement * | meEVT_ |
int | module |
int | sector |
float | time |
float | totEnergy |
int | zside |
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 9 of file CastorRecHitMonitor.h.
CastorRecHitMonitor::CastorRecHitMonitor | ( | ) |
CastorRecHitMonitor::~CastorRecHitMonitor | ( | ) |
Definition at line 28 of file CastorRecHitMonitor.cc.
void CastorRecHitMonitor::beginRun | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 80 of file CastorRecHitMonitor.cc.
References CastorBaseMonitor::baseFolder_, DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookInt(), castorHists, gather_cfg::cout, CastorBaseMonitor::fVerbosity, CastorBaseMonitor::m_dbe, meEVT_, NULL, and DQMStore::setCurrentFolder().
Referenced by CastorMonitorModule::beginRun().
void CastorRecHitMonitor::processEvent | ( | const CastorRecHitCollection & | castorHits | ) |
Definition at line 200 of file CastorRecHitMonitor.cc.
References allEnergyModule, allEnergySector, edm::SortedCollection< T, SORT >::begin(), castorHists, channel, gather_cfg::cout, CastorBaseMonitor::cpu_timer, edm::SortedCollection< T, SORT >::end(), energy, energyInEachChannel, MonitorElement::Fill(), CastorBaseMonitor::fVerbosity, ievt_, CastorBaseMonitor::m_dbe, meEVT_, mod(), module, edm::CPUTimer::reset(), sector, CastorBaseMonitor::showTiming, edm::SortedCollection< T, SORT >::size(), edm::CPUTimer::start(), time, and totEnergy.
Referenced by CastorMonitorModule::analyze().
void CastorRecHitMonitor::reset | ( | void | ) |
Definition at line 38 of file CastorRecHitMonitor.cc.
Referenced by CastorMonitorModule::reset().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 48 of file CastorRecHitMonitor.cc.
References allEnergyModule, allEnergySector, CastorBaseMonitor::baseFolder_, gather_cfg::cout, doPerChannel_, energyInEachChannel, CastorBaseMonitor::fVerbosity, edm::ParameterSet::getUntrackedParameter(), ievt_, mod(), CastorBaseMonitor::rootFolder_, sector, CastorBaseMonitor::setup(), totEnergy, and zside.
Referenced by CastorMonitorModule::CastorMonitorModule().
|
private |
Definition at line 38 of file CastorRecHitMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 39 of file CastorRecHitMonitor.h.
Referenced by processEvent(), and setup().
struct { ... } CastorRecHitMonitor::castorHists |
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 29 of file CastorRecHitMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 21 of file CastorRecHitMonitor.h.
Referenced by CastorRecHitMonitor(), and setup().
|
private |
Definition at line 32 of file CastorRecHitMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 34 of file CastorRecHitMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 23 of file CastorRecHitMonitor.h.
Referenced by CastorRecHitMonitor(), processEvent(), and setup().
MonitorElement* CastorRecHitMonitor::meCastorRecHitsOccupancy |
Definition at line 52 of file CastorRecHitMonitor.h.
|
private |
Definition at line 57 of file CastorRecHitMonitor.h.
Referenced by beginRun(), and processEvent().
std::map<HcalCastorDetId, MonitorElement*> CastorRecHitMonitor::meRECHIT_E |
Definition at line 54 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_E_all |
Definition at line 43 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_E_modules |
Definition at line 46 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_E_relative_modules |
Definition at line 48 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_E_relative_sectors |
Definition at line 49 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_E_sectors |
Definition at line 47 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_MAP_CHAN_E |
Definition at line 45 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_N_event |
Definition at line 53 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_N_modules |
Definition at line 50 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_N_sectors |
Definition at line 51 of file CastorRecHitMonitor.h.
std::map<HcalCastorDetId, MonitorElement*> CastorRecHitMonitor::meRECHIT_T |
Definition at line 54 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_T_all |
Definition at line 44 of file CastorRecHitMonitor.h.
|
private |
Definition at line 26 of file CastorRecHitMonitor.h.
Referenced by processEvent(), and TreeCrawler.Package::search().
|
private |
Definition at line 27 of file CastorRecHitMonitor.h.
Referenced by geometryXMLparser.DTAlignable::index(), processEvent(), and setup().
|
private |
Definition at line 33 of file CastorRecHitMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 35 of file CastorRecHitMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 28 of file CastorRecHitMonitor.h.
Referenced by setup().