#include <CastorDigiMonitor.h>
Public Member Functions | |
void | beginRun (const edm::EventSetup &iSetup) |
CastorDigiMonitor () | |
void | done () |
void | processEvent (const CastorDigiCollection &cast, const CastorDbService &cond) |
void | reset () |
void | setup (const edm::ParameterSet &ps, DQMStore *dbe) |
~CastorDigiMonitor () | |
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 | perChanHists (const std::vector< HcalCastorDetId > &detID, const std::vector< int > &capID, const std::vector< float > &peds, std::map< HcalCastorDetId, std::map< int, MonitorElement * > > &toolP, std::string baseFolder) |
Private Attributes | |
std::vector< int > | capID_ |
struct { | |
MonitorElement * ALLPEDS | |
MonitorElement * PEDESTAL_REFS | |
MonitorElement * PEDRMS | |
std::map< HcalCastorDetId, std::map< int, MonitorElement * > > PEDVALS | |
std::map< HcalCastorDetId, std::map< int, MonitorElement * > > SUBVALS | |
MonitorElement * WIDTH_REFS | |
} | castHists |
const CastorQIECoder * | channelCoder_ |
std::vector< HcalCastorDetId > | detID_ |
bool | doFCpeds_ |
bool | doPerChannel_ |
MonitorElement * | h2digierr |
int | ievt_ |
MonitorElement * | meEVT_ |
std::map< HcalCastorDetId, std::map< int, MonitorElement * > >::iterator | meo_ |
std::string | outputFile_ |
MonitorElement * | PEDESTAL_REFS |
std::vector< float > | pedVals_ |
std::map< HcalCastorDetId, bool > | REG |
const CastorQIEShape * | shape_ |
MonitorElement * | WIDTH_REFS |
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 15 of file CastorDigiMonitor.h.
CastorDigiMonitor::CastorDigiMonitor | ( | ) |
CastorDigiMonitor::~CastorDigiMonitor | ( | ) |
Definition at line 28 of file CastorDigiMonitor.cc.
void CastorDigiMonitor::beginRun | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 76 of file CastorDigiMonitor.cc.
References CastorBaseMonitor::baseFolder_, DQMStore::book1D(), DQMStore::book2DD(), DQMStore::bookInt(), castHists, gather_cfg::cout, MonitorElement::Fill(), CastorBaseMonitor::fVerbosity, h2digierr, ievt_, CastorBaseMonitor::m_dbe, meEVT_, NULL, indexGen::s2, DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CastorMonitorModule::beginRun().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 239 of file CastorDigiMonitor.cc.
References gather_cfg::cout, CastorBaseMonitor::fVerbosity, MonitorElement::getEntries(), h2digierr, CastorBaseMonitor::m_dbe, and NULL.
Referenced by CastorMonitorModule::endJob().
|
private |
baseFolder | /// std::map<HcalCastorDetId, std::map<int, MonitorElement*> > &toolS, |
Definition at line 260 of file CastorDigiMonitor.cc.
References DQMStore::book1D(), gather_cfg::cout, cond::rpcobgas::detid, MonitorElement::Fill(), CastorBaseMonitor::fVerbosity, i, CastorBaseMonitor::m_dbe, mergeVDriftHistosByStation::name, NULL, REG, and DQMStore::setCurrentFolder().
Referenced by processEvent().
void CastorDigiMonitor::processEvent | ( | const CastorDigiCollection & | cast, |
const CastorDbService & | cond | ||
) |
Definition at line 122 of file CastorDigiMonitor.cc.
References HcalQIESample::adc(), CastorBaseMonitor::baseFolder_, edm::SortedCollection< T, SORT >::begin(), HcalQIESample::capid(), capID_, castHists, gather_cfg::cout, CastorBaseMonitor::cpu_timer, edm::CPUTimer::cpuTime(), detID_, doFCpeds_, doPerChannel_, HcalQIESample::dv(), edm::SortedCollection< T, SORT >::end(), HcalQIESample::er(), MonitorElement::Fill(), CastorBaseMonitor::fVerbosity, h2digierr, i, CastorDataFrame::id(), ievt_, j, CastorBaseMonitor::m_dbe, meEVT_, HcalCastorDetId::module(), pedVals_, perChanHists(), edm::CPUTimer::reset(), CastorDataFrame::sample(), HcalCastorDetId::sector(), CastorBaseMonitor::showTiming, CastorDataFrame::size(), edm::SortedCollection< T, SORT >::size(), edm::CPUTimer::start(), and edm::CPUTimer::stop().
Referenced by CastorMonitorModule::analyze().
void CastorDigiMonitor::reset | ( | void | ) |
Definition at line 37 of file CastorDigiMonitor.cc.
Referenced by CastorMonitorModule::reset().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 45 of file CastorDigiMonitor.cc.
References CastorBaseMonitor::baseFolder_, gather_cfg::cout, doFCpeds_, doPerChannel_, CastorBaseMonitor::fVerbosity, edm::ParameterSet::getUntrackedParameter(), ievt_, outputFile_, CastorBaseMonitor::rootFolder_, CastorBaseMonitor::setup(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CastorMonitorModule::CastorMonitorModule().
MonitorElement* CastorDigiMonitor::ALLPEDS |
Definition at line 61 of file CastorDigiMonitor.h.
|
private |
Definition at line 38 of file CastorDigiMonitor.h.
Referenced by processEvent().
struct { ... } CastorDigiMonitor::castHists |
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 44 of file CastorDigiMonitor.h.
|
private |
Definition at line 37 of file CastorDigiMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 35 of file CastorDigiMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 34 of file CastorDigiMonitor.h.
Referenced by CastorDigiMonitor(), processEvent(), and setup().
|
private |
Definition at line 55 of file CastorDigiMonitor.h.
Referenced by beginRun(), done(), and processEvent().
|
private |
Definition at line 49 of file CastorDigiMonitor.h.
Referenced by beginRun(), processEvent(), and setup().
|
private |
Definition at line 48 of file CastorDigiMonitor.h.
Referenced by beginRun(), and processEvent().
|
private |
Definition at line 36 of file CastorDigiMonitor.h.
|
private |
Definition at line 41 of file CastorDigiMonitor.h.
Referenced by setup().
|
private |
Definition at line 52 of file CastorDigiMonitor.h.
MonitorElement* CastorDigiMonitor::PEDRMS |
Definition at line 62 of file CastorDigiMonitor.h.
std::map<HcalCastorDetId,std::map<int, MonitorElement*> > CastorDigiMonitor::PEDVALS |
Definition at line 58 of file CastorDigiMonitor.h.
|
private |
Definition at line 39 of file CastorDigiMonitor.h.
Referenced by processEvent().
|
private |
Definition at line 51 of file CastorDigiMonitor.h.
Referenced by perChanHists().
|
private |
Definition at line 43 of file CastorDigiMonitor.h.
std::map<HcalCastorDetId,std::map<int, MonitorElement*> > CastorDigiMonitor::SUBVALS |
Definition at line 59 of file CastorDigiMonitor.h.
|
private |
Definition at line 53 of file CastorDigiMonitor.h.