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