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