#include <ZDCMonitorModule.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
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 37 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, debug_, dump2database_, fedsListed_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ievent_, ievt_, ievt_digi_, ievt_pre_, ievt_rawdata_, ievt_rechit_, ilumisec, inputLabelDigi_, inputLabelRecHitZDC_, irun_, itime_, meFEDS_, meLatency_, meQuality_, meStatus_, NULL, Online_, prescaleEvt_, prescaleLS_, psTime_, rootFolder_, showTiming_, AlCaHLTBitMon_QueryRunRegistry::string, tok_hcal_, tok_zdc_, tok_zdcrh_, zdcMon_, and ZDCpresent_.
ZDCMonitorModule::~ZDCMonitorModule | ( | ) |
|
protectedvirtual |
See if our products are in the event...
Implements edm::EDAnalyzer.
Definition at line 226 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 167 of file ZDCMonitorModule.cc.
References HcalBaseMonitor::beginLuminosityBlock(), checkZDC_, ilumisec, edm::LuminosityBlockBase::luminosityBlock(), Online_, and zdcMon_.
|
virtual |
Implements thread_unsafe::DQMEDAnalyzer.
Definition at line 109 of file ZDCMonitorModule.cc.
References HcalBaseMonitor::beginRun(), DQMStore::IBooker::book1D(), DQMStore::IBooker::bookInt(), checkZDC_, conditions_, 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, ps_, reset(), rootFolder_, DQMStore::IBooker::setCurrentFolder(), HcalZDCMonitor::setup(), zdcMon_, and ZDCpresent_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 186 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 204 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 383 of file ZDCMonitorModule.cc.
References checkZDC_, gather_cfg::cout, debug_, ievt_, ilumisec, prescaleEvt_, and prescaleLS_.
Referenced by analyze(), and endLuminosityBlock().
|
protected |
Definition at line 219 of file ZDCMonitorModule.cc.
References checkZDC_, NULL, HcalZDCMonitor::reset(), and zdcMon_.
Referenced by bookHistograms().
|
private |
Definition at line 159 of file ZDCMonitorModule.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistograms(), endLuminosityBlock(), endRun(), prescale(), reset(), ZDCMonitorModule(), and ~ZDCMonitorModule().
|
private |
Definition at line 161 of file ZDCMonitorModule.h.
Referenced by bookHistograms().
|
private |
Definition at line 109 of file ZDCMonitorModule.h.
Referenced by analyze().
|
private |
Verbosity switch used for debugging or informational output.
Definition at line 105 of file ZDCMonitorModule.h.
Referenced by analyze(), endRun(), prescale(), and ZDCMonitorModule().
|
private |
Definition at line 171 of file ZDCMonitorModule.h.
Referenced by ZDCMonitorModule().
double ZDCMonitorModule::elapsedTime |
Definition at line 116 of file ZDCMonitorModule.h.
|
private |
Definition at line 139 of file ZDCMonitorModule.h.
|
private |
Definition at line 134 of file ZDCMonitorModule.h.
Referenced by analyze(), bookHistograms(), and ZDCMonitorModule().
|
private |
Definition at line 79 of file ZDCMonitorModule.h.
Referenced by analyze().
|
private |
Definition at line 123 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 129 of file ZDCMonitorModule.h.
Referenced by analyze(), bookHistograms(), endRun(), prescale(), and ZDCMonitorModule().
|
private |
Definition at line 131 of file ZDCMonitorModule.h.
Referenced by analyze(), bookHistograms(), and ZDCMonitorModule().
|
private |
Definition at line 133 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 130 of file ZDCMonitorModule.h.
Referenced by analyze(), bookHistograms(), and ZDCMonitorModule().
|
private |
Definition at line 132 of file ZDCMonitorModule.h.
Referenced by analyze(), bookHistograms(), and ZDCMonitorModule().
|
private |
Definition at line 125 of file ZDCMonitorModule.h.
Referenced by analyze(), beginLuminosityBlock(), endLuminosityBlock(), prescale(), and ZDCMonitorModule().
|
private |
Definition at line 136 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 137 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 122 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 124 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 164 of file ZDCMonitorModule.h.
|
private |
Definition at line 150 of file ZDCMonitorModule.h.
Referenced by analyze(), bookHistograms(), and ZDCMonitorModule().
|
private |
Definition at line 145 of file ZDCMonitorModule.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 147 of file ZDCMonitorModule.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 146 of file ZDCMonitorModule.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 148 of file ZDCMonitorModule.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 153 of file ZDCMonitorModule.h.
Referenced by analyze(), bookHistograms(), and ZDCMonitorModule().
|
private |
Definition at line 154 of file ZDCMonitorModule.h.
Referenced by bookHistograms(), and ZDCMonitorModule().
|
private |
Definition at line 151 of file ZDCMonitorModule.h.
Referenced by analyze(), bookHistograms(), and ZDCMonitorModule().
|
private |
Definition at line 152 of file ZDCMonitorModule.h.
|
private |
Definition at line 168 of file ZDCMonitorModule.h.
Referenced by analyze(), and bookHistograms().
|
private |
The name of the monitoring process which derives from this class, used to standardize filename and file structure
Definition at line 102 of file ZDCMonitorModule.h.
|
private |
Definition at line 112 of file ZDCMonitorModule.h.
Referenced by analyze().
|
private |
Definition at line 126 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 88 of file ZDCMonitorModule.h.
Referenced by analyze(), prescale(), and ZDCMonitorModule().
|
private |
units of events
Definition at line 89 of file ZDCMonitorModule.h.
Referenced by endLuminosityBlock(), prescale(), and ZDCMonitorModule().
|
private |
units of lumi sections
Definition at line 90 of file ZDCMonitorModule.h.
|
private |
units of minutes
Definition at line 91 of file ZDCMonitorModule.h.
|
private |
units of "updates", TBD
keep a reference to the paramter set. This is needed to pass the
Definition at line 98 of file ZDCMonitorModule.h.
Referenced by bookHistograms().
struct { ... } ZDCMonitorModule::psTime_ |
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 162 of file ZDCMonitorModule.h.
|
private |
Definition at line 127 of file ZDCMonitorModule.h.
Referenced by bookHistograms(), and ZDCMonitorModule().
|
private |
Definition at line 108 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
timeval ZDCMonitorModule::startTV |
Definition at line 115 of file ZDCMonitorModule.h.
|
private |
Definition at line 141 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 142 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
|
private |
Definition at line 143 of file ZDCMonitorModule.h.
Referenced by analyze(), and ZDCMonitorModule().
double ZDCMonitorModule::updateTime |
Definition at line 118 of file ZDCMonitorModule.h.
timeval ZDCMonitorModule::updateTV |
Definition at line 115 of file ZDCMonitorModule.h.
double ZDCMonitorModule::vetoTime |
Definition at line 117 of file ZDCMonitorModule.h.
|
private |
Definition at line 156 of file ZDCMonitorModule.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistograms(), endLuminosityBlock(), endRun(), reset(), ZDCMonitorModule(), and ~ZDCMonitorModule().
|
private |
Definition at line 167 of file ZDCMonitorModule.h.
Referenced by analyze(), bookHistograms(), and ZDCMonitorModule().