CMS 3D CMS Logo

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