#include <CastorEventDisplay.h>
Public Member Functions | |
CastorEventDisplay () | |
void | processEvent (const CastorRecHitCollection &castorHits, const CaloGeometry &caloGeometry) |
void | reset () |
void | setup (const edm::ParameterSet &ps, DQMStore *dbe) |
~CastorEventDisplay () | |
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 | allEnergyEvent |
float | energy |
int | ievt_ |
float | maxEnergyEvent |
MonitorElement * | meCastor3Dhits |
MonitorElement * | meCastor3DhitsMaxEnergy |
MonitorElement * | meEVT_ |
bool | offline_ |
double | X_pos |
double | X_pos_maxE |
double | Y_pos |
double | Y_pos_maxE |
double | Z_pos |
double | Z_pos_maxE |
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 21 of file CastorEventDisplay.h.
CastorEventDisplay::CastorEventDisplay | ( | ) |
Definition at line 16 of file CastorEventDisplay.cc.
References ievt_.
CastorEventDisplay::~CastorEventDisplay | ( | ) |
Definition at line 23 of file CastorEventDisplay.cc.
void CastorEventDisplay::processEvent | ( | const CastorRecHitCollection & | castorHits, |
const CaloGeometry & | caloGeometry | ||
) |
Definition at line 93 of file CastorEventDisplay.cc.
References abs, allEnergyEvent, edm::SortedCollection< T, SORT >::begin(), gather_cfg::cout, CastorBaseMonitor::cpu_timer, edm::CPUTimer::cpuTime(), edm::SortedCollection< T, SORT >::end(), energy, MonitorElement::Fill(), CastorBaseMonitor::fVerbosity, CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), CaloGeometry::getSubdetectorGeometry(), MonitorElement::getTH3F(), ievt_, CastorBaseMonitor::m_dbe, maxEnergyEvent, meCastor3Dhits, meCastor3DhitsMaxEnergy, meEVT_, edm::CPUTimer::reset(), MonitorElement::Reset(), CastorBaseMonitor::showTiming, edm::SortedCollection< T, SORT >::size(), edm::CPUTimer::start(), edm::CPUTimer::stop(), MonitorElement::update(), PV3DBase< T, PVType, FrameType >::x(), X_pos, X_pos_maxE, PV3DBase< T, PVType, FrameType >::y(), Y_pos, Y_pos_maxE, PV3DBase< T, PVType, FrameType >::z(), Z_pos, and Z_pos_maxE.
Referenced by CastorMonitorModule::analyze().
void CastorEventDisplay::reset | ( | void | ) |
Definition at line 26 of file CastorEventDisplay.cc.
Referenced by CastorMonitorModule::reset().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 34 of file CastorEventDisplay.cc.
References allEnergyEvent, CastorBaseMonitor::baseFolder_, DQMStore::book3D(), DQMStore::bookInt(), gather_cfg::cout, CastorBaseMonitor::fVerbosity, MonitorElement::getTH3F(), edm::ParameterSet::getUntrackedParameter(), ievt_, CastorBaseMonitor::m_dbe, maxEnergyEvent, meCastor3Dhits, meCastor3DhitsMaxEnergy, meEVT_, NULL, offline_, CastorBaseMonitor::rootFolder_, DQMStore::setCurrentFolder(), CastorBaseMonitor::setup(), X_pos, X_pos_maxE, Y_pos, Y_pos_maxE, Z_pos, and Z_pos_maxE.
Referenced by CastorMonitorModule::CastorMonitorModule().
|
private |
Definition at line 44 of file CastorEventDisplay.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 43 of file CastorEventDisplay.h.
Referenced by processEvent().
|
private |
Definition at line 34 of file CastorEventDisplay.h.
Referenced by CastorEventDisplay(), processEvent(), and setup().
|
private |
Definition at line 45 of file CastorEventDisplay.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 48 of file CastorEventDisplay.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 49 of file CastorEventDisplay.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 50 of file CastorEventDisplay.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 42 of file CastorEventDisplay.h.
Referenced by setup().
|
private |
Definition at line 35 of file CastorEventDisplay.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 38 of file CastorEventDisplay.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 36 of file CastorEventDisplay.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 39 of file CastorEventDisplay.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 37 of file CastorEventDisplay.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 40 of file CastorEventDisplay.h.
Referenced by processEvent(), and setup().