CMS 3D CMS Logo

ESIntegrityTask.h
Go to the documentation of this file.
1 #ifndef ESIntegrityTask_H
2 #define ESIntegrityTask_H
3 
6 
8 
11 
12 struct ESLSCache {
13  int ievtLS_;
14  int DIErrorsLS_[2][2][40][40];
15 };
16 
17 class ESIntegrityTask : public DQMOneEDAnalyzer<edm::LuminosityBlockCache<ESLSCache>> {
18 public:
20  ~ESIntegrityTask() override {}
21 
22 protected:
23  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
24 
26  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
27 
29  void endJob(void) override;
30 
32  void dqmEndRun(const edm::Run& r, const edm::EventSetup& c) override;
33 
35  std::shared_ptr<ESLSCache> globalBeginLuminosityBlock(const edm::LuminosityBlock& lumi,
36  const edm::EventSetup& c) const override;
37 
40 
43 
44 private:
45  int ievt_;
46 
48 
51 
70 
72 
75  int fed_[2][2][40][40], kchip_[2][2][40][40], fiber_[2][2][40][40];
77 };
78 
79 #endif
MonitorElement * meGain_
std::shared_ptr< ESLSCache > globalBeginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &c) const override
Begin Lumi.
MonitorElement * meDCCErr_
MonitorElement * meKEC_
MonitorElement * meDIFraction_
MonitorElement * meDCCCRCErr_
~ESIntegrityTask() override
MonitorElement * meFED_
MonitorElement * meFiberBadStatus_
edm::EDGetTokenT< ESRawDataCollection > dccCollections_
MonitorElement * meFiberOff_
void dqmEndRun(const edm::Run &r, const edm::EventSetup &c) override
EndRun.
int fed_[2][2][40][40]
MonitorElement * meDIErrorsLS_[2][2]
MonitorElement * meKF1_
int fiber_[2][2][40][40]
void calculateDIFraction(const edm::LuminosityBlock &lumi, const edm::EventSetup &c)
Calculate Data Integrity Fraction.
MonitorElement * meDIErrors_[2][2]
MonitorElement * meOptoRX_
MonitorElement * meFiberErrCode_
edm::EDGetTokenT< ESLocalRawDataCollection > kchipCollections_
std::string prefixME_
void endJob(void) override
EndJob.
int DIErrorsLS_[2][2][40][40]
MonitorElement * meEVDR_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * meKF2_
edm::FileInPath lookup_
ESIntegrityTask(const edm::ParameterSet &ps)
MonitorElement * meSLinkCRCErr_
MonitorElement * meOptoBC_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
int kchip_[2][2][40][40]
void globalEndLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &c) override
End Lumi.
Definition: Run.h:45
MonitorElement * meKBC_