CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
L1TGCT.h
Go to the documentation of this file.
1 // -*-C++-*-
2 #ifndef L1TGCT_H
3 #define L1TGCT_H
4 
5 /*
6  * \file L1TGCT.h
7  *
8  * \author J. Berryhill
9  *
10  * Revision 1.23 2010/05/30 10:01:58 tapper
11  * Added one histogram, correlation of sum ET and HT and changed a few labels for the better.
12  *
13  * Revision 1.22 2009/11/19 14:33:13 puigh
14  * modify beginJob
15  *
16  * Revision 1.21 2009/11/02 17:00:04 tapper
17  * Changes to L1TdeGCT (to include energy sums), to L1TDEMON (should not make any difference now) and L1TGCT to add multiple BXs.
18  *
19  * Revision 1.20 2009/06/23 09:48:55 tapper
20  * Added missing occupancy plot for central and forward jets.
21  *
22  * Revision 1.19 2009/06/22 15:58:20 tapper
23  * Added MET vs MHT correlation plots (both for magnitude and phi). Still untested!
24  *
25  * Revision 1.18 2009/06/22 15:47:04 tapper
26  * Removed rank difference histograms and added MHT. Untested so far!
27  *
28  * Revision 1.17 2009/05/27 21:49:26 jad
29  * updated Total and Missing Energy histograms and added Overlow plots
30  *
31  * Revision 1.16 2008/11/11 13:20:31 tapper
32  * A whole list of house keeping:
33  * 1. New shifter histogram with central and forward jets together.
34  * 2. Relabelled Ring 0 and Ring 1 to Ring 1 and Ring 2 for HF rings.
35  * 3. Tidied up some histograms names to make all consistent.
36  * 4. Switched eta and phi in 2D plots to match RCT.
37  * 5. Removed 1D eta and phi plots. Will not be needed for Qtests in future.
38  *
39  * Revision 1.15 2008/09/21 14:33:12 jad
40  * updated HF Sums & Counts and added individual Jet Candidates and differences
41  *
42  * Revision 1.14 2008/06/09 11:08:05 tapper
43  * Removed electron sub-folders with histograms per eta and phi bin.
44  *
45  * Revision 1.13 2008/06/02 11:08:58 tapper
46  * Added HF ring histograms....
47  *
48  * Revision 1.12 2008/04/28 09:23:07 tapper
49  * Added 1D eta and phi histograms for electrons and jets as input to Q tests.
50  *
51  * Revision 1.11 2008/04/25 15:40:21 tapper
52  * Added histograms to EventInfo//errorSummarySegments.
53  *
54  * Revision 1.10 2008/03/01 00:40:00 lat
55  * DQM core migration.
56  *
57  * Revision 1.9 2008/02/20 19:24:24 tapper
58  * Removed noisy include.
59  *
60  * Revision 1.8 2008/02/20 18:59:29 tapper
61  * Ported GCTMonitor histograms into L1TGCT
62  *
63  * Revision 1.7 2007/09/04 02:54:21 wittich
64  * - fix dupe ME in RCT
65  * - put in rank>0 req in GCT
66  * - various small other fixes
67  *
68  * Revision 1.6 2007/08/31 18:14:20 wittich
69  * update GCT packages to reflect GctRawToDigi, and move to raw plots
70  *
71  * Revision 1.5 2007/08/31 11:02:55 wittich
72  * cerr -> LogInfo
73  *
74  * Revision 1.4 2007/02/22 19:43:52 berryhil
75  *
76  *
77  *
78  * InputTag parameters added for all modules
79  *
80  * Revision 1.3 2007/02/19 22:49:53 wittich
81  * - Add RCT monitor
82  *
83  * Revision 1.2 2007/02/19 21:11:23 wittich
84  * - Updates for integrating GCT monitor.
85  * + Adapted right now only the L1E elements thereof.
86  * + added DataFormats/L1Trigger to build file.
87  *
88  *
89 */
90 
91 // system include files
92 #include <memory>
93 #include <unistd.h>
94 
95 #include <iostream>
96 #include <fstream>
97 #include <vector>
98 
99 // user include files
101 
104 
106 
108 
109 // DQM
113 
114 //
115 // class declaration
116 //
117 
118 class L1TGCT : public DQMEDAnalyzer {
119 public:
120  // Constructor
121  L1TGCT(const edm::ParameterSet& ps);
122 
123  // Destructor
124  ~L1TGCT() override;
125 
126 protected:
127  // Analyze
128  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
129 
130  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&, edm::EventSetup const&) override;
131 
132 private:
133  // ----------member data ---------------------------
134 
136 
137  // trigger type information
139 
140  // Jet and EM stuff
148 
156 
163 
166 
167  // Energy sums stuff
185 
186  // HF Rings stuff
203 
204  int nev_; // Number of events processed
205  std::string outputFile_; //file name for ROOT ouput
206  bool verbose_;
208  std::ofstream logFile_;
209 
217 
221 
222  //define Token(-s)
235 };
236 
237 #endif
std::ofstream logFile_
Definition: L1TGCT.h:208
MonitorElement * l1GctHtMiss_
Definition: L1TGCT.h:172
MonitorElement * l1GctEtHad_
Definition: L1TGCT.h:181
MonitorElement * l1GctHtMissPhi_
Definition: L1TGCT.h:173
edm::InputTag gctEnergySumsSource_
Definition: L1TGCT.h:214
MonitorElement * l1GctHFRing2TowerCountNegEta_
Definition: L1TGCT.h:194
bool monitorDaemon_
Definition: L1TGCT.h:207
MonitorElement * l1GctEtMissOccBx_
Definition: L1TGCT.h:171
MonitorElement * l1GctCenJetsRank_
Definition: L1TGCT.h:157
MonitorElement * l1GctHFRing1ETSumNegEta_
Definition: L1TGCT.h:196
MonitorElement * l1GctEtTotalEtHadCorr_
Definition: L1TGCT.h:184
MonitorElement * l1GctHFRing1TowerCountPosEta_
Definition: L1TGCT.h:191
MonitorElement * l1GctTauJetsEtEtaPhi_
Definition: L1TGCT.h:144
MonitorElement * l1GctHFRingETSumOccBx_
Definition: L1TGCT.h:201
~L1TGCT() override
Definition: L1TGCT.cc:105
MonitorElement * l1GctNonIsoEmRank_
Definition: L1TGCT.h:162
MonitorElement * l1GctEtMiss_
Definition: L1TGCT.h:168
std::string monitorDir_
Definition: L1TGCT.h:135
MonitorElement * l1GctHFRing2ETSumNegEta_
Definition: L1TGCT.h:198
MonitorElement * l1GctAllEmOccRankBx_
Definition: L1TGCT.h:165
edm::EDGetTokenT< L1GctJetCandCollection > gctCenJetsSourceToken_
Definition: L1TGCT.h:225
MonitorElement * l1GctEtTotal_
Definition: L1TGCT.h:178
MonitorElement * l1GctHtMissOf_
Definition: L1TGCT.h:174
edm::EDGetTokenT< L1GctHtMissCollection > l1HtMissToken_
Definition: L1TGCT.h:232
MonitorElement * l1GctIsoTauJetsEtEtaPhi_
Definition: L1TGCT.h:145
MonitorElement * l1GctEtHadOccBx_
Definition: L1TGCT.h:183
MonitorElement * l1GctEtTotalOccBx_
Definition: L1TGCT.h:180
edm::InputTag gctIsoTauJetsSource_
Definition: L1TGCT.h:213
edm::EDGetTokenT< L1GctEtTotalCollection > l1EtTotalToken_
Definition: L1TGCT.h:234
MonitorElement * l1GctHFRingTowerCountOccBx_
Definition: L1TGCT.h:202
MonitorElement * l1GctForJetsRank_
Definition: L1TGCT.h:158
MonitorElement * l1GctTauJetsRank_
Definition: L1TGCT.h:159
MonitorElement * l1GctHFRing2ETSumPosEta_
Definition: L1TGCT.h:197
edm::InputTag gctCenJetsSource_
Definition: L1TGCT.h:210
L1TGCT(const edm::ParameterSet &ps)
Definition: L1TGCT.cc:60
MonitorElement * l1GctEtMissPhi_
Definition: L1TGCT.h:169
MonitorElement * l1GctCenJetsEtEtaPhi_
Definition: L1TGCT.h:142
edm::InputTag gctTauJetsSource_
Definition: L1TGCT.h:212
edm::EDGetTokenT< L1GctEmCandCollection > gctIsoEmSourceToken_
Definition: L1TGCT.h:223
MonitorElement * l1GctAllJetsEtEtaPhi_
Definition: L1TGCT.h:141
MonitorElement * l1GctHFRing1ETSumPosEta_
Definition: L1TGCT.h:195
edm::EDGetTokenT< L1GctJetCandCollection > gctTauJetsSourceToken_
Definition: L1TGCT.h:227
edm::EDGetTokenT< L1GctHFBitCountsCollection > l1HFCountsToken_
Definition: L1TGCT.h:230
MonitorElement * l1GctHFRingRatioNegEta_
Definition: L1TGCT.h:200
MonitorElement * l1GctCenJetsOccEtaPhi_
Definition: L1TGCT.h:150
MonitorElement * l1GctIsoTauJetsRank_
Definition: L1TGCT.h:160
MonitorElement * l1GctEtMissOf_
Definition: L1TGCT.h:170
MonitorElement * l1GctForJetsEtEtaPhi_
Definition: L1TGCT.h:143
MonitorElement * l1GctIsoEmRank_
Definition: L1TGCT.h:161
MonitorElement * l1GctHtMissOccBx_
Definition: L1TGCT.h:175
edm::EDGetTokenT< L1GctEmCandCollection > gctNonIsoEmSourceToken_
Definition: L1TGCT.h:224
MonitorElement * l1GctHFRing2TowerCountPosEta_
Definition: L1TGCT.h:193
edm::EDGetTokenT< L1GctEtHadCollection > l1EtHadToken_
Definition: L1TGCT.h:233
MonitorElement * l1GctHFRing2TowerCountPosEtaNegEta_
Definition: L1TGCT.h:190
edm::InputTag gctIsoEmSource_
Definition: L1TGCT.h:215
MonitorElement * triggerType_
Definition: L1TGCT.h:138
MonitorElement * l1GctEtMissHtMissCorrPhi_
Definition: L1TGCT.h:177
MonitorElement * l1GctNonIsoEmOccEtaPhi_
Definition: L1TGCT.h:155
int filterTriggerType_
Definition: L1TGCT.h:220
edm::InputTag gctForJetsSource_
Definition: L1TGCT.h:211
MonitorElement * l1GctNonIsoEmRankEtaPhi_
Definition: L1TGCT.h:147
int nev_
Definition: L1TGCT.h:204
MonitorElement * l1GctIsoTauJetsOccEtaPhi_
Definition: L1TGCT.h:153
Definition: L1TGCT.h:118
bool m_stage1_layer2_
filter TriggerType
Definition: L1TGCT.h:219
MonitorElement * l1GctHFRing1PosEtaNegEta_
Definition: L1TGCT.h:187
edm::EDGetTokenT< L1GctHFRingEtSumsCollection > gctEnergySumsSourceToken_
Definition: L1TGCT.h:229
MonitorElement * l1GctAllJetsOccEtaPhi_
Definition: L1TGCT.h:149
edm::EDGetTokenT< L1GctJetCandCollection > gctIsoTauJetsSourceToken_
Definition: L1TGCT.h:228
MonitorElement * l1GctHFRingRatioPosEta_
Definition: L1TGCT.h:199
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TGCT.cc:107
MonitorElement * l1GctIsoEmRankEtaPhi_
Definition: L1TGCT.h:146
MonitorElement * l1GctHFRing1TowerCountPosEtaNegEta_
Definition: L1TGCT.h:189
edm::EDGetTokenT< L1GctJetCandCollection > gctForJetsSourceToken_
Definition: L1TGCT.h:226
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TGCT.cc:257
MonitorElement * l1GctEtHadOf_
Definition: L1TGCT.h:182
std::string outputFile_
Definition: L1TGCT.h:205
MonitorElement * l1GctForJetsOccEtaPhi_
Definition: L1TGCT.h:151
MonitorElement * l1GctHFRing1TowerCountNegEta_
Definition: L1TGCT.h:192
edm::EDGetTokenT< L1GctEtMissCollection > l1EtMissToken_
Definition: L1TGCT.h:231
bool verbose_
Definition: L1TGCT.h:206
MonitorElement * l1GctEtTotalOf_
Definition: L1TGCT.h:179
MonitorElement * l1GctAllJetsOccRankBx_
Definition: L1TGCT.h:164
MonitorElement * l1GctEtMissHtMissCorr_
Definition: L1TGCT.h:176
MonitorElement * l1GctHFRing2PosEtaNegEta_
Definition: L1TGCT.h:188
edm::InputTag gctNonIsoEmSource_
Definition: L1TGCT.h:216
MonitorElement * l1GctTauJetsOccEtaPhi_
Definition: L1TGCT.h:152
Definition: Run.h:45
MonitorElement * l1GctIsoEmOccEtaPhi_
Definition: L1TGCT.h:154