CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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
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&);
38  virtual void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const&, edm::EventSetup const&) override ;
39  virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
40 
41  void analyze(const edm::Event&, const edm::EventSetup&);
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 
59  // dqm common
61 
62  // (em) iso, no-iso, (jets) cen, for, tau & energy sums.
64 
65  // counters
68 
69  // Ranges and labels
70  const int phiNBins = 18 ;
71  const double phiMinim = -0.5;
72  const double phiMaxim = 17.5;
73  const int etaNBins = 22 ;
74  const double etaMinim = -0.5;
75  const double etaMaxim = 21.5;
76  const int rnkNBins = 63;
77  const double rnkMinim = 0.5;
78  const double rnkMaxim = 63.5;
79  static const int nerr = 5;
80  const int nbit = 32;
82  {"IsoEM", "NoisoEM", "CenJet", "ForJet", "TauJet", "HT", "MET", "ET", "MHT", "HFSums", "HFCnts"};
84  {"Agree", "Loc. Agree", "L.Disagree", "Data only", "Emul only"};
85 
86  // MEs
90  // location
98 
99  // trigger data word
104 
105  public:
106 
107 };
108 
109 #endif
int nWithCol[nGctColl_]
Definition: L1TdeGCT.h:67
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
Definition: L1TdeGCT.cc:42
int colCount[nGctColl_]
Definition: L1TdeGCT.h:66
const int rnkNBins
Definition: L1TdeGCT.h:76
~L1TdeGCT()
Definition: L1TdeGCT.cc:37
bool monitorDaemon_
Definition: L1TdeGCT.h:60
virtual void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
Definition: L1TdeGCT.cc:39
const double etaMaxim
Definition: L1TdeGCT.h:75
int verbose_
Definition: L1TdeGCT.h:50
MonitorElement * phiData[nGctColl_]
Definition: L1TdeGCT.h:96
MonitorElement * masked[nGctColl_]
Definition: L1TdeGCT.h:103
const double rnkMaxim
Definition: L1TdeGCT.h:78
std::string histFile_
Definition: L1TdeGCT.h:54
const int nbit
Definition: L1TdeGCT.h:80
MonitorElement * phi[nGctColl_]
Definition: L1TdeGCT.h:93
MonitorElement * eta[nGctColl_]
Definition: L1TdeGCT.h:92
MonitorElement * sysrates
Definition: L1TdeGCT.h:87
const int etaNBins
Definition: L1TdeGCT.h:73
static const int nGctColl_
Definition: L1TdeGCT.h:63
L1TdeGCT(const edm::ParameterSet &)
Definition: L1TdeGCT.cc:9
MonitorElement * etaData[nGctColl_]
Definition: L1TdeGCT.h:95
const int phiNBins
Definition: L1TdeGCT.h:70
MonitorElement * rnk[nGctColl_]
Definition: L1TdeGCT.h:94
void analyze(const edm::Event &, const edm::EventSetup &)
Definition: L1TdeGCT.cc:176
MonitorElement * errortype[nGctColl_]
Definition: L1TdeGCT.h:89
bool hasRecord_
Definition: L1TdeGCT.h:47
const double phiMaxim
Definition: L1TdeGCT.h:72
MonitorElement * rnkData[nGctColl_]
Definition: L1TdeGCT.h:97
MonitorElement * sysncand[2]
Definition: L1TdeGCT.h:88
MonitorElement * dword[nGctColl_]
Definition: L1TdeGCT.h:100
const double etaMinim
Definition: L1TdeGCT.h:74
static const int nerr
Definition: L1TdeGCT.h:79
std::string cLabel[nGctColl_]
Definition: L1TdeGCT.h:81
edm::EDGetTokenT< L1DataEmulRecord > DEsource_
Definition: L1TdeGCT.h:46
const double phiMinim
Definition: L1TdeGCT.h:71
MonitorElement * deword[nGctColl_]
Definition: L1TdeGCT.h:102
MonitorElement * eword[nGctColl_]
Definition: L1TdeGCT.h:101
MonitorElement * etaphi[nGctColl_]
Definition: L1TdeGCT.h:91
std::string histFolder_
Definition: L1TdeGCT.h:57
int verbose()
Definition: L1TdeGCT.h:51
const double rnkMinim
Definition: L1TdeGCT.h:77
Definition: Run.h:41
std::string errLabel[nerr]
Definition: L1TdeGCT.h:83
virtual void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TdeGCT.cc:45