test
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
26 
27 class L1TdeGCT : public edm::EDAnalyzer {
28 
29  public:
30 
31  explicit L1TdeGCT(const edm::ParameterSet&);
32  ~L1TdeGCT();
33 
34  protected:
35 
36  virtual void beginJob(void) ;
37  virtual void beginRun(edm::Run const& iRun, edm::EventSetup const& iSetup);
38  virtual void analyze(const edm::Event&, const edm::EventSetup&);
39  virtual void endJob() ;
40 
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 
58  // 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
int colCount[nGctColl_]
Definition: L1TdeGCT.h:66
const int rnkNBins
Definition: L1TdeGCT.h:76
~L1TdeGCT()
Definition: L1TdeGCT.cc:42
bool monitorDaemon_
Definition: L1TdeGCT.h:60
const double etaMaxim
Definition: L1TdeGCT.h:75
DQMStore * dbe
Definition: L1TdeGCT.h:59
int verbose_
Definition: L1TdeGCT.h:49
MonitorElement * phiData[nGctColl_]
Definition: L1TdeGCT.h:96
MonitorElement * masked[nGctColl_]
Definition: L1TdeGCT.h:103
const double rnkMaxim
Definition: L1TdeGCT.h:78
virtual void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup)
Definition: L1TdeGCT.cc:44
std::string histFile_
Definition: L1TdeGCT.h:53
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
virtual void endJob()
Definition: L1TdeGCT.cc:184
const int etaNBins
Definition: L1TdeGCT.h:73
static const int nGctColl_
Definition: L1TdeGCT.h:63
L1TdeGCT(const edm::ParameterSet &)
Definition: L1TdeGCT.cc:6
MonitorElement * etaData[nGctColl_]
Definition: L1TdeGCT.h:95
const int phiNBins
Definition: L1TdeGCT.h:70
MonitorElement * rnk[nGctColl_]
Definition: L1TdeGCT.h:94
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: L1TdeGCT.cc:198
MonitorElement * errortype[nGctColl_]
Definition: L1TdeGCT.h:89
bool hasRecord_
Definition: L1TdeGCT.h:46
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:45
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:56
int verbose()
Definition: L1TdeGCT.h:50
const double rnkMinim
Definition: L1TdeGCT.h:77
Definition: Run.h:41
std::string errLabel[nerr]
Definition: L1TdeGCT.h:83
virtual void beginJob(void)
Definition: L1TdeGCT.cc:180