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