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 
16 
17 //#include "FWCore/Framework/interface/Run.h"
18 
20 public:
25 
26  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &);
27  void processEvent(edm::Event const &event,
28  const CastorDigiCollection &cast,
30  const CastorDbService &cond);
31  void endRun();
32  void getDbData(const edm::EventSetup &iSetup);
33  int ModSecToIndex(int module, int sector);
34  void fillTrigRes(edm::Event const &event, const edm::TriggerResults &TrigResults, double Etot);
35 
36 private:
39  int ievt_;
40  float Qrms_DEAD;
41 
42  MonitorElement *hBX, *hpBXtrig;
43  MonitorElement *hpTrigRes;
44  MonitorElement *h2QrmsTSvsCh;
45  MonitorElement *hQIErms[10];
46  MonitorElement *hTSratio;
47  MonitorElement *h2TSratio;
48  MonitorElement *h2status;
49  MonitorElement *h2digierr;
50  MonitorElement *h2repsum;
51  MonitorElement *h2qualityMap;
52  MonitorElement *hReport;
53  MonitorElement *h2QmeantsvsCh;
54  MonitorElement *h2QmeanMap;
55  MonitorElement *hModule;
56  MonitorElement *hSector;
57  MonitorElement *hdigisize;
58  MonitorElement *h2towEMvsHAD;
59  MonitorElement *htowE;
60 
61  int TS_MAX = 10;
62  float RatioThresh1 = 0.;
63  float QIEerrThreshold = 0.0001;
64  double QrmsTS[224][10], QmeanTS[224][10];
65  const int TSped = 0;
66 };
67 
68 #endif
MonitorElement * h2towEMvsHAD
MonitorElement * h2TSratio
double QrmsTS[224][10]
MonitorElement * h2qualityMap
MonitorElement * hTSratio
MonitorElement * hpTrigRes
dqm::legacy::DQMStore DQMStore
void processEvent(edm::Event const &event, const CastorDigiCollection &cast, const edm::TriggerResults &trig, const CastorDbService &cond)
MonitorElement * h2status
CastorDigiMonitor(const edm::ParameterSet &ps)
MonitorElement * h2digierr
MonitorElement * hModule
void getDbData(const edm::EventSetup &iSetup)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
MonitorElement * h2QmeanMap
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)
MonitorElement * hdigisize
MonitorElement * hSector
Definition: plugin.cc:23
double QmeanTS[224][10]
MonitorElement * h2repsum
dqm::legacy::MonitorElement MonitorElement
MonitorElement * hQIErms[10]
Definition: vlib.h:198
MonitorElement * hReport
Definition: event.py:1
Definition: Run.h:45
MonitorElement * htowE
MonitorElement * h2QmeantsvsCh
MonitorElement * hpBXtrig