CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>
21 // dqm includes
23 // l1 dataformats, d|e record includes
26 
27 class L1TdeGCT : public DQMEDAnalyzer {
28 public:
29  explicit L1TdeGCT(const edm::ParameterSet&);
30  ~L1TdeGCT() override;
31 
32 protected:
33  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&, edm::EventSetup const&) override;
34 
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 
53 
54  // dqm common
56 
57  // (em) iso, no-iso, (jets) cen, for, tau & energy sums.
58  static const int nGctColl_ = dedefs::GCThfbit - dedefs::GCTisolaem + 1;
60 
61  // counters
64 
67 
68  // Ranges and labels
69  const int phiNBins = 18;
70  const double phiMinim = -0.5;
71  const double phiMaxim = 17.5;
72  const int etaNBins = 22;
73  const double etaMinim = -0.5;
74  const double etaMaxim = 21.5;
75  static const int nerr = 5;
76  const int nbit = 32;
78  "IsoEM", "NoisoEM", "CenJet", "ForJet", "TauJet", "HT", "MET", "ET", "MHT", "HFSums", "HFCnts"};
80  "IsoEM", "NoisoEM", "CenJet", "ForJet", "TauJet", "HT", "MET", "ET", "MHT", "Stage1HFSums", "HFCnts", "IsoTauJet"};
81  std::string errLabel[nerr] = {"Agree", "Loc. Agree", "L.Disagree", "Data only", "Emul only"};
82 
83  // MEs
86 
88  // location
96 
98  // location
106 
107  // trigger data word
108 
117 
118 public:
119 };
120 
121 #endif
MonitorElement * phiData_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:104
int nWithCol[nGctColl_]
Definition: L1TdeGCT.h:63
int colCount[nGctColl_]
Definition: L1TdeGCT.h:62
int colCount_stage1Layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:65
MonitorElement * eta_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:100
MonitorElement * phi_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:101
bool monitorDaemon_
Definition: L1TdeGCT.h:55
const double etaMaxim
Definition: L1TdeGCT.h:74
int verbose_
Definition: L1TdeGCT.h:43
MonitorElement * masked_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:116
MonitorElement * phiData[nGctColl_]
Definition: L1TdeGCT.h:94
MonitorElement * eword_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:114
MonitorElement * masked[nGctColl_]
Definition: L1TdeGCT.h:112
bool m_stage1_layer2_
Definition: L1TdeGCT.h:52
std::string histFile_
Definition: L1TdeGCT.h:47
const int nbit
Definition: L1TdeGCT.h:76
MonitorElement * phi[nGctColl_]
Definition: L1TdeGCT.h:91
MonitorElement * eta[nGctColl_]
Definition: L1TdeGCT.h:90
MonitorElement * sysrates
Definition: L1TdeGCT.h:84
MonitorElement * dword_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:113
const int etaNBins
Definition: L1TdeGCT.h:72
static const int nGctColl_
Definition: L1TdeGCT.h:58
L1TdeGCT(const edm::ParameterSet &)
Definition: L1TdeGCT.cc:10
MonitorElement * rnk_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:102
MonitorElement * etaData[nGctColl_]
Definition: L1TdeGCT.h:93
const int phiNBins
Definition: L1TdeGCT.h:69
MonitorElement * rnk[nGctColl_]
Definition: L1TdeGCT.h:92
int nWithCol_stage1Layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:66
MonitorElement * errortype[nGctColl_]
Definition: L1TdeGCT.h:87
bool hasRecord_
Definition: L1TdeGCT.h:40
const double phiMaxim
Definition: L1TdeGCT.h:71
MonitorElement * rnkData[nGctColl_]
Definition: L1TdeGCT.h:95
MonitorElement * sysncand[2]
Definition: L1TdeGCT.h:85
MonitorElement * errortype_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:97
~L1TdeGCT() override
Definition: L1TdeGCT.cc:35
MonitorElement * rnkData_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:105
MonitorElement * dword[nGctColl_]
Definition: L1TdeGCT.h:109
const double etaMinim
Definition: L1TdeGCT.h:73
static const int nerr
Definition: L1TdeGCT.h:75
MonitorElement * etaphi_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:99
std::string sLabel[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:79
std::string cLabel[nGctColl_]
Definition: L1TdeGCT.h:77
edm::EDGetTokenT< L1DataEmulRecord > DEsource_
Definition: L1TdeGCT.h:39
const double phiMinim
Definition: L1TdeGCT.h:70
MonitorElement * deword[nGctColl_]
Definition: L1TdeGCT.h:111
MonitorElement * deword_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:115
MonitorElement * eword[nGctColl_]
Definition: L1TdeGCT.h:110
MonitorElement * etaData_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:103
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1TdeGCT.cc:336
MonitorElement * etaphi[nGctColl_]
Definition: L1TdeGCT.h:89
static const int nStage1Layer2Coll_
Definition: L1TdeGCT.h:59
std::string histFolder_
Definition: L1TdeGCT.h:50
int verbose()
Definition: L1TdeGCT.h:44
Definition: Run.h:45
std::string errLabel[nerr]
Definition: L1TdeGCT.h:81
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TdeGCT.cc:37