CMS 3D CMS Logo

L1TdeGCT.h
Go to the documentation of this file.
1 #ifndef L1TdeGCT_H
2 #define L1TdeGCT_H
3 
4 /*\class L1TdeGCT
5  *\description GCT data|emulation comparison DQM interface
6  produces expert level DQM monitorable elements
7  *\author N.Leonardo
8  *\date 08.09
9  */
10 
11 // system, common includes
12 #include <memory>
13 #include <string>
20 // dqm includes
22 // l1 dataformats, d|e record includes
25 
26 class L1TdeGCT : public DQMEDAnalyzer {
27 public:
28  explicit L1TdeGCT(const edm::ParameterSet&);
29  ~L1TdeGCT() override;
30 
31 protected:
32  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&, edm::EventSetup const&) override;
33 
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 
52 
53  // dqm common
55 
56  // (em) iso, no-iso, (jets) cen, for, tau & energy sums.
57  static const int nGctColl_ = dedefs::GCThfbit - dedefs::GCTisolaem + 1;
59 
60  // counters
63 
66 
67  // Ranges and labels
68  const int phiNBins = 18;
69  const double phiMinim = -0.5;
70  const double phiMaxim = 17.5;
71  const int etaNBins = 22;
72  const double etaMinim = -0.5;
73  const double etaMaxim = 21.5;
74  static const int nerr = 5;
75  const int nbit = 32;
77  "IsoEM", "NoisoEM", "CenJet", "ForJet", "TauJet", "HT", "MET", "ET", "MHT", "HFSums", "HFCnts"};
79  "IsoEM", "NoisoEM", "CenJet", "ForJet", "TauJet", "HT", "MET", "ET", "MHT", "Stage1HFSums", "HFCnts", "IsoTauJet"};
80  std::string errLabel[nerr] = {"Agree", "Loc. Agree", "L.Disagree", "Data only", "Emul only"};
81 
82  // MEs
85 
87  // location
95 
97  // location
105 
106  // trigger data word
107 
116 
117 public:
118 };
119 
120 #endif
MonitorElement * phiData_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:103
int nWithCol[nGctColl_]
Definition: L1TdeGCT.h:62
int colCount[nGctColl_]
Definition: L1TdeGCT.h:61
int colCount_stage1Layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:64
MonitorElement * eta_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:99
MonitorElement * phi_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:100
bool monitorDaemon_
Definition: L1TdeGCT.h:54
const double etaMaxim
Definition: L1TdeGCT.h:73
int verbose_
Definition: L1TdeGCT.h:42
MonitorElement * masked_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:115
MonitorElement * phiData[nGctColl_]
Definition: L1TdeGCT.h:93
MonitorElement * eword_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:113
MonitorElement * masked[nGctColl_]
Definition: L1TdeGCT.h:111
bool m_stage1_layer2_
Definition: L1TdeGCT.h:51
std::string histFile_
Definition: L1TdeGCT.h:46
const int nbit
Definition: L1TdeGCT.h:75
MonitorElement * phi[nGctColl_]
Definition: L1TdeGCT.h:90
MonitorElement * eta[nGctColl_]
Definition: L1TdeGCT.h:89
MonitorElement * sysrates
Definition: L1TdeGCT.h:83
MonitorElement * dword_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:112
const int etaNBins
Definition: L1TdeGCT.h:71
static const int nGctColl_
Definition: L1TdeGCT.h:57
L1TdeGCT(const edm::ParameterSet &)
Definition: L1TdeGCT.cc:10
MonitorElement * rnk_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:101
MonitorElement * etaData[nGctColl_]
Definition: L1TdeGCT.h:92
const int phiNBins
Definition: L1TdeGCT.h:68
MonitorElement * rnk[nGctColl_]
Definition: L1TdeGCT.h:91
int nWithCol_stage1Layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:65
MonitorElement * errortype[nGctColl_]
Definition: L1TdeGCT.h:86
bool hasRecord_
Definition: L1TdeGCT.h:39
const double phiMaxim
Definition: L1TdeGCT.h:70
MonitorElement * rnkData[nGctColl_]
Definition: L1TdeGCT.h:94
MonitorElement * sysncand[2]
Definition: L1TdeGCT.h:84
MonitorElement * errortype_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:96
~L1TdeGCT() override
Definition: L1TdeGCT.cc:35
MonitorElement * rnkData_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:104
MonitorElement * dword[nGctColl_]
Definition: L1TdeGCT.h:108
const double etaMinim
Definition: L1TdeGCT.h:72
static const int nerr
Definition: L1TdeGCT.h:74
MonitorElement * etaphi_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:98
std::string sLabel[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:78
std::string cLabel[nGctColl_]
Definition: L1TdeGCT.h:76
edm::EDGetTokenT< L1DataEmulRecord > DEsource_
Definition: L1TdeGCT.h:38
const double phiMinim
Definition: L1TdeGCT.h:69
MonitorElement * deword[nGctColl_]
Definition: L1TdeGCT.h:110
MonitorElement * deword_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:114
MonitorElement * eword[nGctColl_]
Definition: L1TdeGCT.h:109
MonitorElement * etaData_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:102
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1TdeGCT.cc:336
MonitorElement * etaphi[nGctColl_]
Definition: L1TdeGCT.h:88
static const int nStage1Layer2Coll_
Definition: L1TdeGCT.h:58
std::string histFolder_
Definition: L1TdeGCT.h:49
int verbose()
Definition: L1TdeGCT.h:43
Definition: Run.h:45
std::string errLabel[nerr]
Definition: L1TdeGCT.h:80
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TdeGCT.cc:37