CMS 3D CMS Logo

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