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