#include <CastorRecHitMonitor.h>
Public Member Functions | |
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 25 of file CastorRecHitMonitor.cc.
void CastorRecHitMonitor::processEvent | ( | const CastorRecHitCollection & | castorHits | ) |
Definition at line 172 of file CastorRecHitMonitor.cc.
References allEnergyModule, allEnergySector, CastorBaseMonitor::baseFolder_, edm::SortedCollection< T, SORT >::begin(), castorHists, channel, gather_cfg::cout, CastorBaseMonitor::cpu_timer, edm::CPUTimer::cpuTime(), doPerChannel_, edm::SortedCollection< T, SORT >::end(), energy, energyInEachChannel, MonitorElement::Fill(), CastorBaseMonitor::fVerbosity, errorMatrix2Lands_multiChannel::id, ievt_, CastorBaseMonitor::m_dbe, meEVT_, text2workspace::mod, module, edm::CPUTimer::reset(), sector, CastorBaseMonitor::showTiming, edm::SortedCollection< T, SORT >::size(), edm::CPUTimer::start(), edm::CPUTimer::stop(), time, and totEnergy.
Referenced by CastorMonitorModule::analyze().
void CastorRecHitMonitor::reset | ( | void | ) |
Definition at line 28 of file CastorRecHitMonitor.cc.
Referenced by CastorMonitorModule::reset().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 36 of file CastorRecHitMonitor.cc.
References allEnergyModule, allEnergySector, CastorBaseMonitor::baseFolder_, DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookInt(), castorHists, gather_cfg::cout, doPerChannel_, energyInEachChannel, CastorBaseMonitor::fVerbosity, edm::ParameterSet::getUntrackedParameter(), ievt_, CastorBaseMonitor::m_dbe, meEVT_, text2workspace::mod, NULL, CastorBaseMonitor::rootFolder_, sector, DQMStore::setCurrentFolder(), CastorBaseMonitor::setup(), totEnergy, and zside.
Referenced by CastorMonitorModule::CastorMonitorModule().
|
private |
Definition at line 37 of file CastorRecHitMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 38 of file CastorRecHitMonitor.h.
Referenced by processEvent(), and setup().
struct { ... } CastorRecHitMonitor::castorHists |
Referenced by processEvent(), and setup().
|
private |
Definition at line 28 of file CastorRecHitMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 20 of file CastorRecHitMonitor.h.
Referenced by CastorRecHitMonitor(), processEvent(), and setup().
|
private |
Definition at line 31 of file CastorRecHitMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 33 of file CastorRecHitMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 22 of file CastorRecHitMonitor.h.
Referenced by CastorRecHitMonitor(), processEvent(), and setup().
MonitorElement* CastorRecHitMonitor::meCastorRecHitsOccupancy |
Definition at line 51 of file CastorRecHitMonitor.h.
|
private |
Definition at line 56 of file CastorRecHitMonitor.h.
Referenced by processEvent(), and setup().
std::map<HcalCastorDetId, MonitorElement*> CastorRecHitMonitor::meRECHIT_E |
Definition at line 53 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_E_all |
Definition at line 42 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_E_modules |
Definition at line 45 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_E_relative_modules |
Definition at line 47 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_E_relative_sectors |
Definition at line 48 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_E_sectors |
Definition at line 46 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_MAP_CHAN_E |
Definition at line 44 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_N_event |
Definition at line 52 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_N_modules |
Definition at line 49 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_N_sectors |
Definition at line 50 of file CastorRecHitMonitor.h.
std::map<HcalCastorDetId, MonitorElement*> CastorRecHitMonitor::meRECHIT_T |
Definition at line 53 of file CastorRecHitMonitor.h.
MonitorElement* CastorRecHitMonitor::meRECHIT_T_all |
Definition at line 43 of file CastorRecHitMonitor.h.
|
private |
Definition at line 25 of file CastorRecHitMonitor.h.
Referenced by processEvent(), and TreeCrawler.Package::search().
|
private |
Definition at line 26 of file CastorRecHitMonitor.h.
Referenced by geometryXMLparser.DTAlignable::index(), processEvent(), 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 27 of file CastorRecHitMonitor.h.
Referenced by setup().