CMS 3D CMS Logo

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