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>
20 // dqm includes
22 // l1 dataformats, d|e record includes
24 
26 
27 class L1TDEMON : public DQMEDAnalyzer {
28 public:
29  explicit L1TDEMON(const edm::ParameterSet&);
30  ~L1TDEMON() override;
31 
32 protected:
33  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&, edm::EventSetup const&) override;
34  void analyze(const edm::Event&, const edm::EventSetup&) override;
35 
36 private:
37  // input d|e record
39  bool hasRecord_;
40 
41  // debug verbose level
42  int verbose_;
43  int verbose() { return verbose_; }
44 
45  // root output file name
47 
48  // dqm histogram folder
50 
51  // dqm common
53 
54  // running in filter farm? (use reduced set of me's)
55  bool runInFF_;
56 
57  // counters
58  int nEvt_;
61 
62  // system status (enabled / disabled)
63  // similar to COMPARE_COLLS HardwareValidation/L1Comparator, probably a more elegant solution
64  // possible TODO
65 
67 
69 
70  // global
75 
76  // localization
85 
86  // trigger data word
91 
92  //define Token(-s)
94 };
95 
96 #endif
MonitorElement * rnkData[dedefs::DEnsys]
Definition: L1TDEMON.h:84
edm::EDGetTokenT< L1DataEmulRecord > DEsourceToken_
Definition: L1TDEMON.h:93
int verbose()
Definition: L1TDEMON.h:43
const int DEnsys
Definition: DEtrait.h:38
int verbose_
Definition: L1TDEMON.h:42
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1TDEMON.cc:262
int nEvt_
Definition: L1TDEMON.h:58
~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:60
MonitorElement * phi[dedefs::DEnsys]
Definition: L1TDEMON.h:79
MonitorElement * x3[dedefs::DEnsys]
Definition: L1TDEMON.h:80
bool hasRecord_
Definition: L1TDEMON.h:39
MonitorElement * dword[dedefs::DEnsys]
Definition: L1TDEMON.h:87
MonitorElement * sysncand[2]
Definition: L1TDEMON.h:72
MonitorElement * etaData[dedefs::DEnsys]
Definition: L1TDEMON.h:81
MonitorElement * x3Data[dedefs::DEnsys]
Definition: L1TDEMON.h:83
std::string histFolder_
Definition: L1TDEMON.h:49
MonitorElement * sysrates
monitoring elements
Definition: L1TDEMON.h:71
edm::InputTag DEsource_
Definition: L1TDEMON.h:38
bool m_doSys[dedefs::DEnsys]
Definition: L1TDEMON.h:66
MonitorElement * eword[dedefs::DEnsys]
Definition: L1TDEMON.h:88
MonitorElement * deword[dedefs::DEnsys]
Definition: L1TDEMON.h:89
MonitorElement * eta[dedefs::DEnsys]
Definition: L1TDEMON.h:78
bool monitorDaemon_
Definition: L1TDEMON.h:52
MonitorElement * masked[dedefs::DEnsys]
Definition: L1TDEMON.h:90
MonitorElement * errordist
Definition: L1TDEMON.h:73
MonitorElement * phiData[dedefs::DEnsys]
Definition: L1TDEMON.h:82
MonitorElement * etaphi[dedefs::DEnsys]
Definition: L1TDEMON.h:77
MonitorElement * errortype[dedefs::DEnsys]
Definition: L1TDEMON.h:74
std::string histFile_
Definition: L1TDEMON.h:46
bool runInFF_
Definition: L1TDEMON.h:55
int deSysCount[dedefs::DEnsys]
Definition: L1TDEMON.h:59
Definition: Run.h:45