#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_ |
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 27 of file CastorDigiMonitor.cc.
void CastorDigiMonitor::beginRun | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 75 of file CastorDigiMonitor.cc.
References CastorBaseMonitor::baseFolder_, DQMStore::book1D(), DQMStore::bookInt(), castHists, gather_cfg::cout, MonitorElement::Fill(), CastorBaseMonitor::fVerbosity, ievt_, CastorBaseMonitor::m_dbe, meEVT_, NULL, DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CastorMonitorModule::beginRun().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 219 of file CastorDigiMonitor.cc.
Referenced by CastorMonitorModule::endJob().
|
private |
baseFolder | /// std::map<HcalCastorDetId, std::map<int, MonitorElement*> > &toolS, |
Definition at line 230 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 117 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_, edm::SortedCollection< T, SORT >::end(), MonitorElement::Fill(), CastorBaseMonitor::fVerbosity, i, CastorDataFrame::id(), ievt_, j, CastorBaseMonitor::m_dbe, meEVT_, pedVals_, perChanHists(), edm::CPUTimer::reset(), CastorDataFrame::sample(), 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 36 of file CastorDigiMonitor.cc.
Referenced by CastorMonitorModule::reset().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 44 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 59 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 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 60 of file CastorDigiMonitor.h.
std::map<HcalCastorDetId,std::map<int, MonitorElement*> > CastorDigiMonitor::PEDVALS |
Definition at line 56 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 57 of file CastorDigiMonitor.h.
|
private |
Definition at line 53 of file CastorDigiMonitor.h.