CMS 3D CMS Logo

CastorDigiMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_CASTORMONITOR_CASTORDIGIMONITOR_H
2 #define DQM_CASTORMONITOR_CASTORDIGIMONITOR_H
3 
5 
10 
13 
20 
21 //#include "FWCore/Framework/interface/Run.h"
22 
24 public:
29 
30  void bookHistograms(DQMStore::IBooker &, edm::Run const &, const edm::EventSetup &);
31  void processEvent(edm::Event const &event,
32  const CastorDigiCollection &cast,
34  const CastorDbService &cond);
35  void endRun();
36  void getDbData(const edm::EventSetup &);
37  int ModSecToIndex(int module, int sector);
38  void fillTrigRes(edm::Event const &event, const edm::TriggerResults &TrigResults, double Etot);
39 
40 private:
44  int ievt_;
45  float Qrms_DEAD;
46 
65 
66  int TS_MAX = 10;
67  float RatioThresh1 = 0.;
68  float QIEerrThreshold = 0.0001;
69  double QrmsTS[224][10], QmeanTS[224][10];
70  const int TSped = 0;
71 };
72 
73 #endif
MonitorElement * h2towEMvsHAD
MonitorElement * h2TSratio
double QrmsTS[224][10]
MonitorElement * h2qualityMap
MonitorElement * hTSratio
void bookHistograms(DQMStore::IBooker &, edm::Run const &, const edm::EventSetup &)
MonitorElement * hpTrigRes
dqm::legacy::DQMStore DQMStore
void processEvent(edm::Event const &event, const CastorDigiCollection &cast, const edm::TriggerResults &trig, const CastorDbService &cond)
MonitorElement * h2status
MonitorElement * h2digierr
MonitorElement * hModule
MonitorElement * h2QmeanMap
edm::ESGetToken< CastorChannelQuality, CastorChannelQualityRcd > castorChannelQualityToken_
void fillTrigRes(edm::Event const &event, const edm::TriggerResults &TrigResults, double Etot)
std::string subsystemname_
MonitorElement * h2QrmsTSvsCh
MonitorElement * hBX
int ModSecToIndex(int module, int sector)
CastorDigiMonitor(const edm::ParameterSet &ps, edm::ConsumesCollector &&)
MonitorElement * hdigisize
MonitorElement * hSector
Definition: plugin.cc:23
double QmeanTS[224][10]
MonitorElement * h2repsum
void getDbData(const edm::EventSetup &)
dqm::legacy::MonitorElement MonitorElement
MonitorElement * hQIErms[10]
MonitorElement * hReport
Definition: event.py:1
Definition: Run.h:45
MonitorElement * htowE
MonitorElement * h2QmeantsvsCh
MonitorElement * hpBXtrig