CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RCTMonitor.h
Go to the documentation of this file.
1 
2 #ifndef RCTMonitor_RCTMonitor_H
3 #define RCTMOnitor_RCTMonitor_H
4 
5 // -*- C++ -*-
6 //
7 // Package: RCTMonitor
8 // Class: RCTMonitor
9 //
15 //
16 // Original Author: S.Dasu. H.Patel, A.Savin
17 // version 0 is based on the GCTMonitor package created by A.Tapper
18 //
19 //
20 
21 // Framework files
22 
24 
25 #include <iostream>
29 
31 
35 
38 
39 #include <TH1F.h>
40 #include <TH1I.h>
41 
42 //#include <SimDataFormats/Track/interface/SimTrackContainer.h>
43 
50 
51 // DQM files
55 
56 // GCT and RCT data formats
60 //#include <SimDataFormats/Track/interface/SimTrackContainer.h>
61 
62 // TPs
65 
66 // L1Extra
70 
71 struct rct_location {
72  unsigned crate, card, region;
73 };
74 
75 class RCTMonitor : public DQMEDAnalyzer {
76  public:
77  explicit RCTMonitor(const edm::ParameterSet&);
78  ~RCTMonitor();
80  edm::EventSetup const&) override;
81  virtual void analyze(const edm::Event&, const edm::EventSetup&);
82  void FillRCT(const edm::Event&, const edm::EventSetup&);
83 
84  private:
85  // RCT stuff
90 
109 
110  // Bins etc.
111  // GCT and RCT
112  static const unsigned int ETABINS;
113  static const float ETAMIN;
114  static const float ETAMAX;
115  static const unsigned int PHIBINS;
116  static const float PHIMIN;
117  static const float PHIMAX;
118  static const unsigned int METPHIBINS;
119  static const float METPHIMIN;
120  static const float METPHIMAX;
121  static const unsigned int R6BINS;
122  static const float R6MIN;
123  static const float R6MAX;
124  static const unsigned int R10BINS;
125  static const float R10MIN;
126  static const float R10MAX;
127  static const unsigned int R12BINS;
128  static const float R12MIN;
129  static const float R12MAX;
130 
131  // HCAL and ECAL TPs
132  static const unsigned int TPETABINS;
133  static const float TPETAMIN;
134  static const float TPETAMAX;
135  static const unsigned int TPPHIBINS;
136  static const float TPPHIMIN;
137  static const float TPPHIMAX;
138  static const unsigned int RTPBINS;
139  static const float RTPMIN;
140  static const float RTPMAX;
141 
142  // Physical bins 1 GeV to 1 TeV in steps of 1 GeV
143  static const unsigned int TEVBINS;
144  static const float TEVMIN;
145  static const float TEVMAX;
146  static const unsigned int L1EETABINS;
147  static const float L1EETAMIN;
148  static const float L1EETAMAX;
149  static const unsigned int L1EPHIBINS;
150  static const float L1EPHIMIN;
151  static const float L1EPHIMAX;
152 
153  // define Token(-s)
155 };
156 
157 #endif
static const unsigned int L1EPHIBINS
Definition: RCTMonitor.h:149
static const float ETAMIN
Definition: RCTMonitor.h:113
edm::EDGetTokenT< L1CaloEmCollection > m_rctSourceToken_
Definition: RCTMonitor.h:154
MonitorElement * m_rctIsoEmRankEtaPhi10
Definition: RCTMonitor.h:92
static const float TPPHIMIN
Definition: RCTMonitor.h:136
MonitorElement * m_rctNonIsoEmOccEtaPhi1
Definition: RCTMonitor.h:99
static const float METPHIMIN
Definition: RCTMonitor.h:119
static const unsigned int TPETABINS
Definition: RCTMonitor.h:132
static const float L1EPHIMIN
Definition: RCTMonitor.h:150
static const float R6MIN
Definition: RCTMonitor.h:122
static const float TEVMIN
Definition: RCTMonitor.h:144
MonitorElement * m_rctNonIsoEmOccEtaPhi10
Definition: RCTMonitor.h:100
static const float R6MAX
Definition: RCTMonitor.h:123
unsigned crate
Definition: RCTMonitor.h:72
static const float R10MAX
Definition: RCTMonitor.h:126
static const unsigned int R12BINS
Definition: RCTMonitor.h:127
unsigned card
Definition: RCTMonitor.h:72
MonitorElement * m_rctRelaxedEmRank1
Definition: RCTMonitor.h:105
static const float R12MAX
Definition: RCTMonitor.h:129
MonitorElement * m_rctRelaxedEmRankEtaPhi1
Definition: RCTMonitor.h:97
MonitorElement * m_rctNonIsoEmRank10
Definition: RCTMonitor.h:108
static const float R12MIN
Definition: RCTMonitor.h:128
MonitorElement * m_rctNonIsoEmRankEtaPhi10
Definition: RCTMonitor.h:96
MonitorElement * m_rctIsoEmRankEtaPhi1
Definition: RCTMonitor.h:91
static const float RTPMAX
Definition: RCTMonitor.h:140
MonitorElement * m_rctNonIsoEmRank1
Definition: RCTMonitor.h:107
MonitorElement * m_rctRelaxedEmOccEtaPhi10
Definition: RCTMonitor.h:102
static const unsigned int R10BINS
Definition: RCTMonitor.h:124
static const float PHIMAX
Definition: RCTMonitor.h:117
MonitorElement * m_rctRelaxedEmRankEtaPhi10
Definition: RCTMonitor.h:98
static const float L1EETAMIN
Definition: RCTMonitor.h:147
static const unsigned int R6BINS
Definition: RCTMonitor.h:121
static const float TPETAMIN
Definition: RCTMonitor.h:133
MonitorElement * m_rctTauVetoEtaPhi
Definition: RCTMonitor.h:88
static const float R10MIN
Definition: RCTMonitor.h:125
MonitorElement * m_rctRegionsEtEtaPhi
Definition: RCTMonitor.h:86
static const float L1EETAMAX
Definition: RCTMonitor.h:148
static const unsigned int RTPBINS
Definition: RCTMonitor.h:138
MonitorElement * m_rctNonIsoEmRankEtaPhi1
Definition: RCTMonitor.h:95
static const float ETAMAX
Definition: RCTMonitor.h:114
static const unsigned int PHIBINS
Definition: RCTMonitor.h:115
static const float L1EPHIMAX
Definition: RCTMonitor.h:151
unsigned region
Definition: RCTMonitor.h:72
static const float TPETAMAX
Definition: RCTMonitor.h:134
static const unsigned int ETABINS
Definition: RCTMonitor.h:112
MonitorElement * m_rctRegionsOccEtaPhi
Definition: RCTMonitor.h:87
MonitorElement * m_rctIsoEmRank1
Definition: RCTMonitor.h:103
static const float METPHIMAX
Definition: RCTMonitor.h:120
MonitorElement * m_rctRegionEt
Definition: RCTMonitor.h:89
static const float PHIMIN
Definition: RCTMonitor.h:116
MonitorElement * m_rctRelaxedEmRank10
Definition: RCTMonitor.h:106
MonitorElement * m_rctIsoEmOccEtaPhi1
Definition: RCTMonitor.h:93
static const float TEVMAX
Definition: RCTMonitor.h:145
MonitorElement * m_rctIsoEmRank10
Definition: RCTMonitor.h:104
MonitorElement * m_rctIsoEmOccEtaPhi10
Definition: RCTMonitor.h:94
void FillRCT(const edm::Event &, const edm::EventSetup &)
Definition: RCTMonitor.cc:103
RCTMonitor(const edm::ParameterSet &)
Definition: RCTMonitor.cc:6
static const unsigned int TPPHIBINS
Definition: RCTMonitor.h:135
static const unsigned int TEVBINS
Definition: RCTMonitor.h:143
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: RCTMonitor.cc:14
MonitorElement * m_rctRelaxedEmOccEtaPhi1
Definition: RCTMonitor.h:101
static const float TPPHIMAX
Definition: RCTMonitor.h:137
static const float RTPMIN
Definition: RCTMonitor.h:139
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: RCTMonitor.cc:83
static const unsigned int METPHIBINS
Definition: RCTMonitor.h:118
static const unsigned int L1EETABINS
Definition: RCTMonitor.h:146
Definition: Run.h:41