36 , inputLabelDigi_(ps.getParameter<edm::
InputTag>(
"digiLabel"))
37 , inputLabelRecHitZDC_(ps.getParameter<edm::
InputTag>(
"zdcRecHitLabel"))
66 if(debug_>1)
std::cout <<
"===>ZDCMonitor event prescale = " << prescaleEvt_ <<
" event(s)"<< std::endl;
69 if(debug_>1)
std::cout <<
"===>ZDCMonitor lumi section prescale = " <<
prescaleLS_ <<
" lumi section(s)"<< std::endl;
73 if(debug_>0)
std::cout <<
"===>ZDCMonitor name = " << subsystemname << std::endl;
207 std::cout <<
"ZDCMonitorModule::endRun(...) ievt = "<<
ievt_<<std::endl;
245 bool zdchitOK_ =
true;
257 const std::vector<int>
feds = (*report).getFedsUnpacked();
258 for(
unsigned int f=0;
f<feds.size();
f++){
315 if (
debug_>1)
std::cout <<
"<ZDCMonitorModule> COULDN'T GET ZDC DIGI"<<std::endl;
368 std::cout <<
"ZDCMonitorModule: processed " <<
ievt_ <<
" events" << std::endl;
372 std::cout <<
"ZDCMonitorModule: processed " <<
ievt_ <<
" events" << std::endl;
373 std::cout <<
" ZDC RAW Data ==> " << rawOK_<< std::endl;
374 std::cout <<
" ZDC Digis ==> " << digiOK_<< std::endl;
375 std::cout <<
" ZDC RecHits ==> " << zdchitOK_<< std::endl;
393 bool keepEvent=
false;
400 if (keepEvent)
return false;
EventNumber_t event() const
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< HcalUnpackerReport > tok_hcal_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::InputTag inputLabelDigi_
#define DEFINE_FWK_MODULE(type)
MonitorElement * meIEVTRECHIT_
edm::EDGetTokenT< ZDCRecHitCollection > tok_zdcrh_
edm::ESHandle< HcalDbService > conditions_
ZDCMonitorModule(const edm::ParameterSet &ps)
MonitorElement * bookInt(Args &&...args)
edm::LuminosityBlockNumber_t luminosityBlock() const
MonitorElement * meIEVTALL_
void analyze(const edm::Event &e, const edm::EventSetup &c)
int prescaleLS_
units of events
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
void setup(const edm::ParameterSet &ps, DQMStore::IBooker &ib)
LuminosityBlockNumber_t luminosityBlock() const
MonitorElement * meQuality_
edm::InputTag inputLabelRecHitZDC_
int debug_
Verbosity switch used for debugging or informational output.
void processEvent(const ZDCDigiCollection &digi, const ZDCRecHitCollection &rechit, const HcalUnpackerReport &report)
MonitorElement * meIEVTRAW_
void endRun(const edm::Run &run, const edm::EventSetup &c)
MonitorElement * book1D(Args &&...args)
struct ZDCMonitorModule::@278 psTime_
edm::EDGetTokenT< ZDCDigiCollection > tok_zdc_
void endLuminosityBlock(void)
const edm::ParameterSet & ps_
units of "updates", TBD
void beginLuminosityBlock(int lb)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * meIEVTDIGI_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
MonitorElement * meStatus_
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
edm::EventNumber_t ievent_
MonitorElement * meLatency_
TimeValue_t value() const
edm::Timestamp time() const
bool prescale()
Boolean prescale test for this event.