#include <ZDCMonitorModule.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginJob () |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
void | endJob (void) |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | endRun (const edm::Run &run, const edm::EventSetup &c) |
bool | prescale () |
Boolean prescale test for this event. More... | |
void | reset (void) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 36 of file ZDCMonitorModule.h.
ZDCMonitorModule::ZDCMonitorModule | ( | const edm::ParameterSet & | ps | ) |
get time in milliseconds, convert to minutes
Definition at line 35 of file ZDCMonitorModule.cc.
References checkZDC_, gather_cfg::cout, dbe_, debug_, dump2database_, fedsListed_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ievent_, ilumisec, inputLabelDigi_, inputLabelRecHitZDC_, irun_, itime_, meFEDS_, meLatency_, meQuality_, meStatus_, NULL, Online_, cppFunctionSkipper::operator, prescaleEvt_, prescaleLS_, psTime_, rootFolder_, HcalZDCMonitor::setup(), showTiming_, AlCaHLTBitMon_QueryRunRegistry::string, tok_hcal_, tok_zdc_, tok_zdcrh_, zdcMon_, and ZDCpresent_.
ZDCMonitorModule::~ZDCMonitorModule | ( | ) |
Definition at line 91 of file ZDCMonitorModule.cc.
References checkZDC_, HcalBaseMonitor::clearME(), dbe_, DQMStore::removeContents(), rootFolder_, DQMStore::setCurrentFolder(), and zdcMon_.
|
protectedvirtual |
See if our products are in the event...
Implements edm::EDAnalyzer.
Definition at line 255 of file ZDCMonitorModule.cc.
References checkZDC_, gather_cfg::cout, cpu_timer, edm::CPUTimer::cpuTime(), debug_, edm::EventID::event(), f, fedsListed_, fedss, MonitorElement::Fill(), edm::Event::getByToken(), edm::EventBase::id(), ievent_, ievt_, ievt_digi_, ievt_pre_, ievt_rawdata_, ievt_rechit_, ilumisec, inputLabelDigi_, inputLabelRecHitZDC_, irun_, edm::HandleBase::isValid(), itime_, edm::EventBase::luminosityBlock(), meFEDS_, meIEVTALL_, meIEVTDIGI_, meIEVTRAW_, meIEVTRECHIT_, meLatency_, meStatus_, meZDC_, nevt_, NULL, Online_, prescale(), prescaleEvt_, HcalZDCMonitor::processEvent(), psTime_, zeeHLT_cff::report, edm::CPUTimer::reset(), edm::EventID::run(), showTiming_, edm::CPUTimer::start(), edm::CPUTimer::stop(), edm::EventBase::time(), tok_hcal_, tok_zdc_, tok_zdcrh_, edm::Timestamp::value(), zdcMon_, and ZDCpresent_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 109 of file ZDCMonitorModule.cc.
References checkZDC_, ievt_, ievt_digi_, ievt_pre_, ievt_rawdata_, and ievt_rechit_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 179 of file ZDCMonitorModule.cc.
References HcalBaseMonitor::beginLuminosityBlock(), checkZDC_, ilumisec, edm::LuminosityBlockBase::luminosityBlock(), Online_, and zdcMon_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 124 of file ZDCMonitorModule.cc.
References HcalBaseMonitor::beginRun(), DQMStore::book1D(), DQMStore::bookInt(), checkZDC_, conditions_, dbe_, fedsListed_, MonitorElement::Fill(), edm::EventSetup::get(), ievt_, ievt_digi_, ievt_rawdata_, ievt_rechit_, FEDNumbering::MAXHCALFEDID, meFEDS_, meIEVTALL_, meIEVTDIGI_, meIEVTRAW_, meIEVTRECHIT_, meLatency_, meQuality_, meStatus_, meZDC_, FEDNumbering::MINHCALFEDID, NULL, reset(), rootFolder_, DQMStore::setCurrentFolder(), zdcMon_, and ZDCpresent_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 231 of file ZDCMonitorModule.cc.
References checkZDC_, dbe_, HcalBaseMonitor::done(), MonitorElement::Fill(), DQMStore::get(), meStatus_, NULL, rootFolder_, and zdcMon_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 198 of file ZDCMonitorModule.cc.
References checkZDC_, HcalZDCMonitor::endLuminosityBlock(), ilumisec, edm::LuminosityBlockBase::luminosityBlock(), Online_, prescale(), prescaleLS_, and zdcMon_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 216 of file ZDCMonitorModule.cc.
References checkZDC_, gather_cfg::cout, debug_, HcalZDCMonitor::endLuminosityBlock(), ievt_, and zdcMon_.
|
protected |
Boolean prescale test for this event.
Return true if this event should be skipped according to the prescale condition... Accommodate a logical "OR" of the possible tests
Definition at line 412 of file ZDCMonitorModule.cc.
References checkZDC_, gather_cfg::cout, debug_, ievt_, ilumisec, prescaleEvt_, and prescaleLS_.
Referenced by analyze(), and endLuminosityBlock().
|
protected |
Definition at line 248 of file ZDCMonitorModule.cc.
References checkZDC_, NULL, HcalZDCMonitor::reset(), and zdcMon_.
Referenced by beginRun().
|
private |
Definition at line 161 of file ZDCMonitorModule.h.
Referenced by analyze(), beginJob(), beginLuminosityBlock(), beginRun(), endJob(), endLuminosityBlock(), endRun(), prescale(), reset(), ZDCMonitorModule(), and ~ZDCMonitorModule().
|
private |
Definition at line 163 of file ZDCMonitorModule.h.
Referenced by beginRun().
|
private |
Definition at line 110 of file ZDCMonitorModule.h.
Referenced by analyze().
|
private |
Connection to the DQM backend.
Definition at line 123 of file ZDCMonitorModule.h.
Referenced by beginRun(), endJob(), ZDCMonitorModule(), and ~ZDCMonitorModule().
|
private |
Verbosity switch used for debugging or informational output.
Definition at line 106 of file ZDCMonitorModule.h.
Referenced by analyze(), endRun(), prescale(), and ZDCMonitorModule().
|
private |
Definition at line 173 of file ZDCMonitorModule.h.
Referenced by ZDCMonitorModule().
double ZDCMonitorModule::elapsedTime |
Definition at line 117 of file ZDCMonitorModule.h.
|
private |
Definition at line 141 of file ZDCMonitorModule.h.
|
private |
Definition at line 136 of file ZDCMonitorModule.h.
Referenced by analyze(), beginRun(), and ZDCMonitorModule().
|
private |
Definition at line 85 of file ZDCMonitorModule.h.
Referenced by analyze().
|
private |
Definition at line 126 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 131 of file ZDCMonitorModule.h.
Referenced by analyze(), beginJob(), beginRun(), endRun(), and prescale().
|
private |
Definition at line 133 of file ZDCMonitorModule.h.
Referenced by analyze(), beginJob(), and beginRun().
|
private |
Definition at line 135 of file ZDCMonitorModule.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 132 of file ZDCMonitorModule.h.
Referenced by analyze(), beginJob(), and beginRun().
|
private |
Definition at line 134 of file ZDCMonitorModule.h.
Referenced by analyze(), beginJob(), and beginRun().
|
private |
Definition at line 127 of file ZDCMonitorModule.h.
Referenced by analyze(), beginLuminosityBlock(), endLuminosityBlock(), prescale(), and ZDCMonitorModule().
|
private |
Definition at line 138 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 139 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 126 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 126 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 166 of file ZDCMonitorModule.h.
|
private |
Definition at line 152 of file ZDCMonitorModule.h.
Referenced by analyze(), beginRun(), and ZDCMonitorModule().
|
private |
Definition at line 147 of file ZDCMonitorModule.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 149 of file ZDCMonitorModule.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 148 of file ZDCMonitorModule.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 150 of file ZDCMonitorModule.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 155 of file ZDCMonitorModule.h.
Referenced by analyze(), beginRun(), and ZDCMonitorModule().
|
private |
Definition at line 156 of file ZDCMonitorModule.h.
Referenced by beginRun(), and ZDCMonitorModule().
|
private |
Definition at line 153 of file ZDCMonitorModule.h.
Referenced by analyze(), beginRun(), endJob(), and ZDCMonitorModule().
|
private |
Definition at line 154 of file ZDCMonitorModule.h.
|
private |
Definition at line 170 of file ZDCMonitorModule.h.
Referenced by analyze(), and beginRun().
|
private |
units of "updates", TBD
The name of the monitoring process which derives from this class, used to standardize filename and file structure
Definition at line 103 of file ZDCMonitorModule.h.
|
private |
Definition at line 113 of file ZDCMonitorModule.h.
Referenced by analyze().
|
private |
Definition at line 128 of file ZDCMonitorModule.h.
Referenced by analyze(), beginLuminosityBlock(), endLuminosityBlock(), and ZDCMonitorModule().
|
private |
Prescale variables for restricting the frequency of analyzer behavior. The base class does not implement prescales. Set to -1 to be ignored.
Definition at line 94 of file ZDCMonitorModule.h.
Referenced by analyze(), prescale(), and ZDCMonitorModule().
|
private |
units of events
Definition at line 95 of file ZDCMonitorModule.h.
Referenced by endLuminosityBlock(), prescale(), and ZDCMonitorModule().
|
private |
units of lumi sections
Definition at line 96 of file ZDCMonitorModule.h.
|
private |
units of minutes
Definition at line 97 of file ZDCMonitorModule.h.
struct { ... } ZDCMonitorModule::psTime_ |
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 164 of file ZDCMonitorModule.h.
|
private |
Definition at line 129 of file ZDCMonitorModule.h.
Referenced by beginRun(), endJob(), ZDCMonitorModule(), and ~ZDCMonitorModule().
|
private |
Definition at line 109 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
timeval ZDCMonitorModule::startTV |
Definition at line 116 of file ZDCMonitorModule.h.
|
private |
Definition at line 143 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 144 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 145 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
double ZDCMonitorModule::updateTime |
Definition at line 119 of file ZDCMonitorModule.h.
timeval ZDCMonitorModule::updateTV |
Definition at line 116 of file ZDCMonitorModule.h.
double ZDCMonitorModule::vetoTime |
Definition at line 118 of file ZDCMonitorModule.h.
|
private |
Definition at line 158 of file ZDCMonitorModule.h.
Referenced by analyze(), beginLuminosityBlock(), beginRun(), endJob(), endLuminosityBlock(), endRun(), reset(), ZDCMonitorModule(), and ~ZDCMonitorModule().
|
private |
Definition at line 169 of file ZDCMonitorModule.h.
Referenced by analyze(), beginRun(), and ZDCMonitorModule().