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
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
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
L1TdeGCT::masked_stage1layer2
MonitorElement * masked_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:116
MessageLogger.h
L1TdeGCT::eta
MonitorElement * eta[nGctColl_]
Definition: L1TdeGCT.h:90
L1TdeGCT::deword
MonitorElement * deword[nGctColl_]
Definition: L1TdeGCT.h:111
L1TdeGCT::etaData_stage1layer2
MonitorElement * etaData_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:103
L1TdeGCT::eword_stage1layer2
MonitorElement * eword_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:114
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< L1DataEmulRecord >
L1TdeGCT::phiNBins
const int phiNBins
Definition: L1TdeGCT.h:69
L1TdeGCT::colCount_stage1Layer2
int colCount_stage1Layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:65
L1TdeGCT::etaNBins
const int etaNBins
Definition: L1TdeGCT.h:72
DQMStore.h
L1TdeGCT::sLabel
std::string sLabel[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:79
L1TdeGCT::etaMinim
const double etaMinim
Definition: L1TdeGCT.h:73
L1TdeGCT::phiMaxim
const double phiMaxim
Definition: L1TdeGCT.h:71
L1TdeGCT::cLabel
std::string cLabel[nGctColl_]
Definition: L1TdeGCT.h:77
L1TdeGCT::histFolder_
std::string histFolder_
Definition: L1TdeGCT.h:50
L1TdeGCT::errortype
MonitorElement * errortype[nGctColl_]
Definition: L1TdeGCT.h:87
EDAnalyzer.h
L1TdeGCT::masked
MonitorElement * masked[nGctColl_]
Definition: L1TdeGCT.h:112
L1TdeGCT::phi
MonitorElement * phi[nGctColl_]
Definition: L1TdeGCT.h:91
L1TdeGCT::etaphi_stage1layer2
MonitorElement * etaphi_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:99
L1TdeGCT::sysrates
MonitorElement * sysrates
Definition: L1TdeGCT.h:84
MakerMacros.h
L1TdeGCT::etaData
MonitorElement * etaData[nGctColl_]
Definition: L1TdeGCT.h:93
dedefs::GCTisotaujets
Definition: DEtrait.h:66
L1TdeGCT::sysncand
MonitorElement * sysncand[2]
Definition: L1TdeGCT.h:85
L1TdeGCT::m_stage1_layer2_
bool m_stage1_layer2_
Definition: L1TdeGCT.h:52
L1TdeGCT::verbose_
int verbose_
Definition: L1TdeGCT.h:43
Service.h
L1TdeGCT::phiData
MonitorElement * phiData[nGctColl_]
Definition: L1TdeGCT.h:94
L1TdeGCT::histFile_
std::string histFile_
Definition: L1TdeGCT.h:47
L1TdeGCT::nbit
const int nbit
Definition: L1TdeGCT.h:76
L1TdeGCT
Definition: L1TdeGCT.h:27
L1TdeGCT::errortype_stage1layer2
MonitorElement * errortype_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:97
L1TdeGCT::eword
MonitorElement * eword[nGctColl_]
Definition: L1TdeGCT.h:110
L1TdeGCT::~L1TdeGCT
~L1TdeGCT() override
Definition: L1TdeGCT.cc:35
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1TdeGCT::nWithCol_stage1Layer2
int nWithCol_stage1Layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:66
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
dedefs::GCTisolaem
Definition: DEtrait.h:55
edm::ParameterSet
Definition: ParameterSet.h:36
L1TdeGCT::nGctColl_
static const int nGctColl_
Definition: L1TdeGCT.h:58
L1TdeGCT::dword_stage1layer2
MonitorElement * dword_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:113
Event.h
L1TdeGCT::hasRecord_
bool hasRecord_
Definition: L1TdeGCT.h:40
L1TdeGCT::monitorDaemon_
bool monitorDaemon_
Definition: L1TdeGCT.h:55
L1TdeGCT::L1TdeGCT
L1TdeGCT(const edm::ParameterSet &)
Definition: L1TdeGCT.cc:10
L1TdeGCT::rnk_stage1layer2
MonitorElement * rnk_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:102
L1TdeGCT::phiMinim
const double phiMinim
Definition: L1TdeGCT.h:70
L1TdeGCT::dword
MonitorElement * dword[nGctColl_]
Definition: L1TdeGCT.h:109
DEtrait.h
L1TdeGCT::bookHistograms
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TdeGCT.cc:37
L1TdeGCT::nerr
static const int nerr
Definition: L1TdeGCT.h:75
edm::EventSetup
Definition: EventSetup.h:57
L1TdeGCT::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1TdeGCT.cc:336
L1TdeGCT::phiData_stage1layer2
MonitorElement * phiData_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:104
L1TdeGCT::colCount
int colCount[nGctColl_]
Definition: L1TdeGCT.h:62
L1TdeGCT::etaphi
MonitorElement * etaphi[nGctColl_]
Definition: L1TdeGCT.h:89
L1TdeGCT::deword_stage1layer2
MonitorElement * deword_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:115
L1TdeGCT::errLabel
std::string errLabel[nerr]
Definition: L1TdeGCT.h:81
Frameworkfwd.h
L1TdeGCT::phi_stage1layer2
MonitorElement * phi_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:101
L1TdeGCT::DEsource_
edm::EDGetTokenT< L1DataEmulRecord > DEsource_
Definition: L1TdeGCT.h:39
L1TdeGCT::rnkData
MonitorElement * rnkData[nGctColl_]
Definition: L1TdeGCT.h:95
L1TdeGCT::nWithCol
int nWithCol[nGctColl_]
Definition: L1TdeGCT.h:63
dqm::implementation::IBooker
Definition: DQMStore.h:43
L1TdeGCT::verbose
int verbose()
Definition: L1TdeGCT.h:44
dedefs::GCThfbit
Definition: DEtrait.h:65
L1TdeGCT::eta_stage1layer2
MonitorElement * eta_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:100
ParameterSet.h
L1TdeGCT::rnk
MonitorElement * rnk[nGctColl_]
Definition: L1TdeGCT.h:92
L1TdeGCT::etaMaxim
const double etaMaxim
Definition: L1TdeGCT.h:74
edm::Event
Definition: Event.h:73
L1TdeGCT::nStage1Layer2Coll_
static const int nStage1Layer2Coll_
Definition: L1TdeGCT.h:59
L1TdeGCT::rnkData_stage1layer2
MonitorElement * rnkData_stage1layer2[nStage1Layer2Coll_]
Definition: L1TdeGCT.h:105