CMS 3D CMS Logo

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
102 
105 
107 
109 
110 // DQM
114 
115 //
116 // class declaration
117 //
118 
119 class L1TGCT : public DQMEDAnalyzer {
120 public:
121  // Constructor
122  L1TGCT(const edm::ParameterSet& ps);
123 
124  // Destructor
125  ~L1TGCT() override;
126 
127 protected:
128  // Analyze
129  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
130 
131  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&, edm::EventSetup const&) override;
132 
133 private:
134  // ----------member data ---------------------------
135 
137 
138  // trigger type information
140 
141  // Jet and EM stuff
149 
157 
164 
167 
168  // Energy sums stuff
186 
187  // HF Rings stuff
204 
205  int nev_; // Number of events processed
206  std::string outputFile_; //file name for ROOT ouput
207  bool verbose_;
209  std::ofstream logFile_;
210 
218 
222 
223  //define Token(-s)
236 };
237 
238 #endif
L1TGCT::l1GctHtMissOccBx_
MonitorElement * l1GctHtMissOccBx_
Definition: L1TGCT.h:176
L1TGCT::gctForJetsSourceToken_
edm::EDGetTokenT< L1GctJetCandCollection > gctForJetsSourceToken_
Definition: L1TGCT.h:227
L1TGCT::gctIsoEmSource_
edm::InputTag gctIsoEmSource_
Definition: L1TGCT.h:216
L1TGCT::l1GctAllEmOccRankBx_
MonitorElement * l1GctAllEmOccRankBx_
Definition: L1TGCT.h:166
L1TGCT::l1GctEtTotalOccBx_
MonitorElement * l1GctEtTotalOccBx_
Definition: L1TGCT.h:181
L1GctCollections.h
L1TGCT::nev_
int nev_
Definition: L1TGCT.h:205
L1TGCT::l1GctHtMissOf_
MonitorElement * l1GctHtMissOf_
Definition: L1TGCT.h:175
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< L1GctEmCandCollection >
L1TGCT::triggerType_
MonitorElement * triggerType_
Definition: L1TGCT.h:139
L1TGCT::l1GctIsoTauJetsOccEtaPhi_
MonitorElement * l1GctIsoTauJetsOccEtaPhi_
Definition: L1TGCT.h:154
L1TGCT::l1GctNonIsoEmOccEtaPhi_
MonitorElement * l1GctNonIsoEmOccEtaPhi_
Definition: L1TGCT.h:156
L1TGCT::gctEnergySumsSource_
edm::InputTag gctEnergySumsSource_
Definition: L1TGCT.h:215
L1TGCT::L1TGCT
L1TGCT(const edm::ParameterSet &ps)
Definition: L1TGCT.cc:60
L1TGCT::gctTauJetsSource_
edm::InputTag gctTauJetsSource_
Definition: L1TGCT.h:213
DQMStore.h
L1TGCT::monitorDaemon_
bool monitorDaemon_
Definition: L1TGCT.h:208
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
EDAnalyzer.h
L1TGCT::l1GctAllJetsOccEtaPhi_
MonitorElement * l1GctAllJetsOccEtaPhi_
Definition: L1TGCT.h:150
L1TGCT::l1GctHFRing1TowerCountPosEtaNegEta_
MonitorElement * l1GctHFRing1TowerCountPosEtaNegEta_
Definition: L1TGCT.h:190
L1TGCT::l1GctNonIsoEmRankEtaPhi_
MonitorElement * l1GctNonIsoEmRankEtaPhi_
Definition: L1TGCT.h:148
L1TGCT::l1GctTauJetsEtEtaPhi_
MonitorElement * l1GctTauJetsEtEtaPhi_
Definition: L1TGCT.h:145
L1TGCT::l1GctIsoEmRank_
MonitorElement * l1GctIsoEmRank_
Definition: L1TGCT.h:162
L1TGCT::l1GctForJetsOccEtaPhi_
MonitorElement * l1GctForJetsOccEtaPhi_
Definition: L1TGCT.h:152
L1TGCT::l1GctEtMissOf_
MonitorElement * l1GctEtMissOf_
Definition: L1TGCT.h:171
L1TGCT::l1GctForJetsEtEtaPhi_
MonitorElement * l1GctForJetsEtEtaPhi_
Definition: L1TGCT.h:144
L1TGCT::gctEnergySumsSourceToken_
edm::EDGetTokenT< L1GctHFRingEtSumsCollection > gctEnergySumsSourceToken_
Definition: L1TGCT.h:230
L1TGCT::l1GctHFRing1TowerCountNegEta_
MonitorElement * l1GctHFRing1TowerCountNegEta_
Definition: L1TGCT.h:193
MakerMacros.h
L1TGCT::outputFile_
std::string outputFile_
Definition: L1TGCT.h:206
L1TGCT::gctIsoTauJetsSourceToken_
edm::EDGetTokenT< L1GctJetCandCollection > gctIsoTauJetsSourceToken_
Definition: L1TGCT.h:229
L1TGCT::l1GctEtTotalOf_
MonitorElement * l1GctEtTotalOf_
Definition: L1TGCT.h:180
L1TGCT::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TGCT.cc:257
L1TGCT::l1GctAllJetsOccRankBx_
MonitorElement * l1GctAllJetsOccRankBx_
Definition: L1TGCT.h:165
L1TGCT::l1GctHFRing2ETSumNegEta_
MonitorElement * l1GctHFRing2ETSumNegEta_
Definition: L1TGCT.h:199
L1TGCT::l1GctIsoEmRankEtaPhi_
MonitorElement * l1GctIsoEmRankEtaPhi_
Definition: L1TGCT.h:147
L1TGCT::l1GctEtHadOf_
MonitorElement * l1GctEtHadOf_
Definition: L1TGCT.h:183
L1TGCT::gctCenJetsSourceToken_
edm::EDGetTokenT< L1GctJetCandCollection > gctCenJetsSourceToken_
Definition: L1TGCT.h:226
L1TGCT::gctNonIsoEmSource_
edm::InputTag gctNonIsoEmSource_
Definition: L1TGCT.h:217
Service.h
L1TGCT::l1GctIsoTauJetsEtEtaPhi_
MonitorElement * l1GctIsoTauJetsEtEtaPhi_
Definition: L1TGCT.h:146
L1TGCT::l1GctEtHadOccBx_
MonitorElement * l1GctEtHadOccBx_
Definition: L1TGCT.h:184
L1TGCT::l1GctEtTotal_
MonitorElement * l1GctEtTotal_
Definition: L1TGCT.h:179
L1TGCT::gctForJetsSource_
edm::InputTag gctForJetsSource_
Definition: L1TGCT.h:212
L1TGCT::l1GctEtMissHtMissCorr_
MonitorElement * l1GctEtMissHtMissCorr_
Definition: L1TGCT.h:177
L1TGCT::l1GctEtHad_
MonitorElement * l1GctEtHad_
Definition: L1TGCT.h:182
L1TGCT::l1GctTauJetsRank_
MonitorElement * l1GctTauJetsRank_
Definition: L1TGCT.h:160
L1TGCT::l1GctIsoEmOccEtaPhi_
MonitorElement * l1GctIsoEmOccEtaPhi_
Definition: L1TGCT.h:155
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1TGCT::m_stage1_layer2_
bool m_stage1_layer2_
filter TriggerType
Definition: L1TGCT.h:220
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
L1TGCT::l1GctHFRing2PosEtaNegEta_
MonitorElement * l1GctHFRing2PosEtaNegEta_
Definition: L1TGCT.h:189
L1TGCT::l1GctCenJetsEtEtaPhi_
MonitorElement * l1GctCenJetsEtEtaPhi_
Definition: L1TGCT.h:143
L1TGCT::l1GctForJetsRank_
MonitorElement * l1GctForJetsRank_
Definition: L1TGCT.h:159
L1TGCT::l1GctTauJetsOccEtaPhi_
MonitorElement * l1GctTauJetsOccEtaPhi_
Definition: L1TGCT.h:153
edm::ParameterSet
Definition: ParameterSet.h:36
L1TGCT
Definition: L1TGCT.h:119
Event.h
L1TGCT::l1GctHFRingETSumOccBx_
MonitorElement * l1GctHFRingETSumOccBx_
Definition: L1TGCT.h:202
L1TGCT::l1GctEtMissOccBx_
MonitorElement * l1GctEtMissOccBx_
Definition: L1TGCT.h:172
L1TGCT::l1GctHFRingRatioPosEta_
MonitorElement * l1GctHFRingRatioPosEta_
Definition: L1TGCT.h:200
L1TGCT::l1GctCenJetsRank_
MonitorElement * l1GctCenJetsRank_
Definition: L1TGCT.h:158
L1TGCT::l1GctHFRingRatioNegEta_
MonitorElement * l1GctHFRingRatioNegEta_
Definition: L1TGCT.h:201
L1TGCT::l1GctEtTotalEtHadCorr_
MonitorElement * l1GctEtTotalEtHadCorr_
Definition: L1TGCT.h:185
L1TGCT::l1GctHtMissPhi_
MonitorElement * l1GctHtMissPhi_
Definition: L1TGCT.h:174
L1TGCT::l1GctHFRing2TowerCountNegEta_
MonitorElement * l1GctHFRing2TowerCountNegEta_
Definition: L1TGCT.h:195
L1TGCT::gctTauJetsSourceToken_
edm::EDGetTokenT< L1GctJetCandCollection > gctTauJetsSourceToken_
Definition: L1TGCT.h:228
L1TGCT::l1HFCountsToken_
edm::EDGetTokenT< L1GctHFBitCountsCollection > l1HFCountsToken_
Definition: L1TGCT.h:231
L1TGCT::bookHistograms
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TGCT.cc:107
edm::EventSetup
Definition: EventSetup.h:57
L1TGCT::l1GctHFRing1ETSumNegEta_
MonitorElement * l1GctHFRing1ETSumNegEta_
Definition: L1TGCT.h:197
L1TGCT::l1GctCenJetsOccEtaPhi_
MonitorElement * l1GctCenJetsOccEtaPhi_
Definition: L1TGCT.h:151
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
L1TGCT::l1GctHFRing1TowerCountPosEta_
MonitorElement * l1GctHFRing1TowerCountPosEta_
Definition: L1TGCT.h:192
L1TGCT::l1GctNonIsoEmRank_
MonitorElement * l1GctNonIsoEmRank_
Definition: L1TGCT.h:163
L1TGCT::l1HtMissToken_
edm::EDGetTokenT< L1GctHtMissCollection > l1HtMissToken_
Definition: L1TGCT.h:233
L1TGCT::l1GctEtMiss_
MonitorElement * l1GctEtMiss_
Definition: L1TGCT.h:169
L1TGCT::gctNonIsoEmSourceToken_
edm::EDGetTokenT< L1GctEmCandCollection > gctNonIsoEmSourceToken_
Definition: L1TGCT.h:225
L1TGCT::monitorDir_
std::string monitorDir_
Definition: L1TGCT.h:136
L1TGCT::l1EtMissToken_
edm::EDGetTokenT< L1GctEtMissCollection > l1EtMissToken_
Definition: L1TGCT.h:232
L1TGCT::l1GctHFRing2TowerCountPosEta_
MonitorElement * l1GctHFRing2TowerCountPosEta_
Definition: L1TGCT.h:194
L1TGCT::verbose_
bool verbose_
Definition: L1TGCT.h:207
L1TGCT::l1EtHadToken_
edm::EDGetTokenT< L1GctEtHadCollection > l1EtHadToken_
Definition: L1TGCT.h:234
Frameworkfwd.h
L1TGCT::l1GctHFRing2TowerCountPosEtaNegEta_
MonitorElement * l1GctHFRing2TowerCountPosEtaNegEta_
Definition: L1TGCT.h:191
L1TGCT::l1GctEtMissHtMissCorrPhi_
MonitorElement * l1GctEtMissHtMissCorrPhi_
Definition: L1TGCT.h:178
L1TGCT::filterTriggerType_
int filterTriggerType_
Definition: L1TGCT.h:221
L1TGCT::l1EtTotalToken_
edm::EDGetTokenT< L1GctEtTotalCollection > l1EtTotalToken_
Definition: L1TGCT.h:235
L1TGCT::logFile_
std::ofstream logFile_
Definition: L1TGCT.h:209
L1TGCT::l1GctHtMiss_
MonitorElement * l1GctHtMiss_
Definition: L1TGCT.h:173
L1TGCT::l1GctHFRingTowerCountOccBx_
MonitorElement * l1GctHFRingTowerCountOccBx_
Definition: L1TGCT.h:203
L1TGCT::gctCenJetsSource_
edm::InputTag gctCenJetsSource_
Definition: L1TGCT.h:211
dqm::implementation::IBooker
Definition: DQMStore.h:43
L1TGCT::l1GctHFRing2ETSumPosEta_
MonitorElement * l1GctHFRing2ETSumPosEta_
Definition: L1TGCT.h:198
L1TGCT::gctIsoTauJetsSource_
edm::InputTag gctIsoTauJetsSource_
Definition: L1TGCT.h:214
L1TGCT::l1GctHFRing1PosEtaNegEta_
MonitorElement * l1GctHFRing1PosEtaNegEta_
Definition: L1TGCT.h:188
L1TGCT::l1GctIsoTauJetsRank_
MonitorElement * l1GctIsoTauJetsRank_
Definition: L1TGCT.h:161
ParameterSet.h
L1TGCT::l1GctEtMissPhi_
MonitorElement * l1GctEtMissPhi_
Definition: L1TGCT.h:170
L1TGCT::l1GctHFRing1ETSumPosEta_
MonitorElement * l1GctHFRing1ETSumPosEta_
Definition: L1TGCT.h:196
edm::Event
Definition: Event.h:73
L1TGCT::~L1TGCT
~L1TGCT() override
Definition: L1TGCT.cc:105
L1TGCT::gctIsoEmSourceToken_
edm::EDGetTokenT< L1GctEmCandCollection > gctIsoEmSourceToken_
Definition: L1TGCT.h:224
L1TGCT::l1GctAllJetsEtEtaPhi_
MonitorElement * l1GctAllJetsEtEtaPhi_
Definition: L1TGCT.h:142
edm::InputTag
Definition: InputTag.h:15
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37