CMS 3D CMS Logo

L1TDEMON.h
Go to the documentation of this file.
1 #ifndef L1TDEMON_H
2 #define L1TDEMON_H
3 
4 /*\class L1TDEMON
5  *\description L1 trigger data|emulation comparison DQM interface
6  produces DQM monitorable elements
7  *\author Nuno Leonardo (CERN)
8  *\date 07.07
9  */
10 
11 // system, common includes
12 #include <memory>
13 #include <string>
21 // dqm includes
23 // l1 dataformats, d|e record includes
25 
27 
28 class L1TDEMON : public DQMEDAnalyzer {
29 public:
30  explicit L1TDEMON(const edm::ParameterSet&);
31  ~L1TDEMON() override;
32 
33 protected:
34  //virtual void beginJob(void) ;
35  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&, edm::EventSetup const&) override;
36  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
37  void analyze(const edm::Event&, const edm::EventSetup&) override;
38 
39 private:
40  // input d|e record
42  bool hasRecord_;
43 
44  // debug verbose level
45  int verbose_;
46  int verbose() { return verbose_; }
47 
48  // root output file name
50 
51  // dqm histogram folder
53 
54  // dqm common
56 
57  // running in filter farm? (use reduced set of me's)
58  bool runInFF_;
59 
60  // counters
61  int nEvt_;
64 
65  // system status (enabled / disabled)
66  // similar to COMPARE_COLLS HardwareValidation/L1Comparator, probably a more elegant solution
67  // possible TODO
68 
70 
72 
73  // global
78 
79  // localization
88 
89  // trigger data word
94 
95  //define Token(-s)
97 };
98 
99 #endif
MonitorElement * rnkData[dedefs::DEnsys]
Definition: L1TDEMON.h:87
edm::EDGetTokenT< L1DataEmulRecord > DEsourceToken_
Definition: L1TDEMON.h:96
int verbose()
Definition: L1TDEMON.h:46
const int DEnsys
Definition: DEtrait.h:38
int verbose_
Definition: L1TDEMON.h:45
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1TDEMON.cc:264
int nEvt_
Definition: L1TDEMON.h:61
~L1TDEMON() override
Definition: L1TDEMON.cc:55
L1TDEMON(const edm::ParameterSet &)
Definition: L1TDEMON.cc:7
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TDEMON.cc:57
int nEvtWithSys[dedefs::DEnsys]
Definition: L1TDEMON.h:63
MonitorElement * phi[dedefs::DEnsys]
Definition: L1TDEMON.h:82
MonitorElement * x3[dedefs::DEnsys]
Definition: L1TDEMON.h:83
bool hasRecord_
Definition: L1TDEMON.h:42
MonitorElement * dword[dedefs::DEnsys]
Definition: L1TDEMON.h:90
MonitorElement * sysncand[2]
Definition: L1TDEMON.h:75
MonitorElement * etaData[dedefs::DEnsys]
Definition: L1TDEMON.h:84
MonitorElement * x3Data[dedefs::DEnsys]
Definition: L1TDEMON.h:86
std::string histFolder_
Definition: L1TDEMON.h:52
MonitorElement * sysrates
monitoring elements
Definition: L1TDEMON.h:74
edm::InputTag DEsource_
Definition: L1TDEMON.h:41
bool m_doSys[dedefs::DEnsys]
Definition: L1TDEMON.h:69
MonitorElement * eword[dedefs::DEnsys]
Definition: L1TDEMON.h:91
MonitorElement * deword[dedefs::DEnsys]
Definition: L1TDEMON.h:92
MonitorElement * eta[dedefs::DEnsys]
Definition: L1TDEMON.h:81
bool monitorDaemon_
Definition: L1TDEMON.h:55
MonitorElement * masked[dedefs::DEnsys]
Definition: L1TDEMON.h:93
MonitorElement * errordist
Definition: L1TDEMON.h:76
MonitorElement * phiData[dedefs::DEnsys]
Definition: L1TDEMON.h:85
MonitorElement * etaphi[dedefs::DEnsys]
Definition: L1TDEMON.h:80
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: L1TDEMON.cc:261
MonitorElement * errortype[dedefs::DEnsys]
Definition: L1TDEMON.h:77
std::string histFile_
Definition: L1TDEMON.h:49
bool runInFF_
Definition: L1TDEMON.h:58
int deSysCount[dedefs::DEnsys]
Definition: L1TDEMON.h:62
Definition: Run.h:45