#include <CastorDigiMonitor.h>
Public Member Functions | |
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 (std::vector< HcalCastorDetId > detID, std::vector< int > capID, 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 22 of file CastorDigiMonitor.cc.
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 188 of file CastorDigiMonitor.cc.
Referenced by CastorMonitorModule::endJob().
|
private |
baseFolder | /// std::map<HcalCastorDetId, std::map<int, MonitorElement*> > &toolS, |
Definition at line 197 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 90 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 29 of file CastorDigiMonitor.cc.
Referenced by CastorMonitorModule::reset().
|
virtual |
Reimplemented from CastorBaseMonitor.
Definition at line 35 of file CastorDigiMonitor.cc.
References CastorBaseMonitor::baseFolder_, DQMStore::book1D(), DQMStore::bookInt(), castHists, gather_cfg::cout, doFCpeds_, doPerChannel_, MonitorElement::Fill(), CastorBaseMonitor::fVerbosity, edm::ParameterSet::getUntrackedParameter(), ievt_, CastorBaseMonitor::m_dbe, meEVT_, NULL, outputFile_, CastorBaseMonitor::rootFolder_, DQMStore::setCurrentFolder(), and CastorBaseMonitor::setup().
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 processEvent(), and setup().
|
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 processEvent(), and setup().
|
private |
Definition at line 48 of file CastorDigiMonitor.h.
Referenced by processEvent(), and setup().
|
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.