CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorMonitorModule.h
Go to the documentation of this file.
1 #ifndef CastorMonitorModule_H
2 #define CastorMonitorModule_H
3 
12 
16 
22 
27 
30 
34 
35 
45 
48 #include "DataFormats/HcalDigi/interface/HcalUnpackerReport.h" //-- no CastorUnpackerReport at the moment !
49 #include "DataFormats/HcalDetId/interface/HcalCastorDetId.h" //-- HcalCastorDetId
50 
51 //#include "DQM/CastorMonitor/interface/CastorMonitorSelector.h"
54 //#include "DQM/CastorMonitor/interface/CastorChannelQualityMonitor.h"
56 //#include "DQM/CastorMonitor/interface/CastorPSMonitor.h"
57 //#include "DQM/CastorMonitor/interface/CastorHIMonitor.h"
58 //#include "DQM/CastorMonitor/interface/CastorDataIntegrityMonitor.h"
59 //#include "DQM/CastorMonitor/interface/CastorTowerJetMonitor.h"
60 
61 #include "CalibCalorimetry/CastorCalib/interface/CastorDbASCIIIO.h" //-- use to get/dump Calib to DB
62 #include "CondFormats/CastorObjects/interface/CastorChannelQuality.h" //-- use to get/hold channel status
64 
65 
67 
68 #include <memory>
69 #include <iostream>
70 #include <fstream>
71 #include <vector>
72 #include <string>
73 #include <sys/time.h>
74 
75 
76 
78 
79 public:
80 
83 
84 protected:
85 
86  void analyze(const edm::Event& iEvent, const edm::EventSetup& eventSetup);
87 
88  void dqmBeginRun(const edm::Run &, const edm::EventSetup &);
89  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &);
90 
91  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
92  const edm::EventSetup& eventSetup) ;
93 
94  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
95  const edm::EventSetup& eventSetup);
96 
97  void endRun(const edm::Run& run, const edm::EventSetup& eventSetup);
98 
99 private:
100 
103  bool rawOK_ ;
104  bool reportOK_ ;
105  bool digiOK_ ;
106  bool rechitOK_ ;
107 
110 
111  int ievt_;
117 
121 
123 
125 
126  bool showTiming_;
129 
130 };
131 
132 #endif
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
void endRun(const edm::Run &run, const edm::EventSetup &eventSetup)
void analyze(const edm::Event &iEvent, const edm::EventSetup &eventSetup)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &eventSetup)
edm::ESHandle< CastorDbService > conditions_
CastorLEDMonitor * LedMon_
edm::ESHandle< CastorPedestals > dbPedestals
void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
edm::InputTag inputLabelRaw_
edm::InputTag inputLabelDigi_
int iEvent
Definition: GenABIO.cc:230
CastorMonitorModule(const edm::ParameterSet &ps)
edm::InputTag inputLabelRecHitCASTOR_
edm::InputTag inputLabelReport_
CastorDigiMonitor * DigiMon_
MonitorElement * CastorEventProduct
CastorRecHitMonitor * RecHitMon_
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &eventSetup)
Definition: Run.h:41