CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TRCT.h
Go to the documentation of this file.
1 // -*-C++-*-
2 #ifndef L1TRCT_H
3 #define L1TRCT_H
4 
5 /*
6  * \file L1TRCT.h
7  *
8  * \author P. Wittich
9  *
10  * Revision 1.7 2009/11/19 14:34:14 puigh
11  * modify beginJob
12  *
13  * Revision 1.6 2008/11/08 08:45:42 asavin
14  * changing the fine grain to HfPlusTau
15  *
16  * Revision 1.5 2008/07/02 16:53:20 asavin
17  * new L1TRCT.h
18  *
19  * Revision 1.4 2008/03/01 00:40:00 lat
20  * DQM core migration.
21  *
22  * Revision 1.3 2007/09/03 15:14:42 wittich
23  * updated RCT with more diagnostic and local coord histos
24  *
25  * Revision 1.2 2007/02/23 21:58:43 wittich
26  * change getByType to getByLabel and add InputTag
27  *
28  * Revision 1.1 2007/02/19 22:49:53 wittich
29  * - Add RCT monitor
30  *
31  *
32  *
33 */
34 
35 // system include files
36 #include <memory>
37 #include <unistd.h>
38 
39 
40 #include <iostream>
41 #include <fstream>
42 #include <vector>
43 
44 
45 // user include files
48 
51 
53 
56 
57 // DQM
60 
61 
62 // GCT and RCT data formats
64 
65 //
66 // class declaration
67 //
68 
69 class L1TRCT : public edm::EDAnalyzer {
70 
71 public:
72 
73 // Constructor
74  L1TRCT(const edm::ParameterSet& ps);
75 
76 // Destructor
77  virtual ~L1TRCT();
78 
79 protected:
80 // Analyze
81  void analyze(const edm::Event& e, const edm::EventSetup& c);
82 
83 // BeginRun
84  void beginRun(edm::Run const& iRun, edm::EventSetup const& iSetup);
85 
86 // BeginJob
87  void beginJob(void);
88 
89 // EndJob
90 void endJob(void);
91 
92 private:
93  // ----------member data ---------------------------
95 
96  // trigger type information
98 
99  // region global coordinates
102 
103  // region local coordinates
107 
108  // Region rank
110 
111 
117 
118  // Bx
121 
122  // em
123  // HW coordinates
125 
126 
133 
134 
135  int nev_; // Number of events processed
136  std::string outputFile_; //file name for ROOT ouput
137  bool verbose_;
139  std::ofstream logFile_;
140 
143 
146 
147 };
148 
149 #endif
MonitorElement * rctOverFlowEtaPhi_
Definition: L1TRCT.h:112
MonitorElement * rctQuietEtaPhi_
Definition: L1TRCT.h:115
edm::EDGetTokenT< L1CaloRegionCollection > rctSource_L1CRCollection_
Definition: L1TRCT.h:141
L1TRCT(const edm::ParameterSet &ps)
Definition: L1TRCT.cc:40
MonitorElement * rctRegionsEtEtaPhi_
Definition: L1TRCT.h:100
MonitorElement * rctRegionsOccEtaPhi_
Definition: L1TRCT.h:101
MonitorElement * rctRegionsLocalOccEtaPhi_
Definition: L1TRCT.h:105
MonitorElement * triggerType_
Definition: L1TRCT.h:97
MonitorElement * rctEmCardRegion_
Definition: L1TRCT.h:124
int filterTriggerType_
filter TriggerType
Definition: L1TRCT.h:145
void endJob(void)
Definition: L1TRCT.cc:186
bool monitorDaemon_
Definition: L1TRCT.h:138
MonitorElement * rctHfPlusTauEtaPhi_
Definition: L1TRCT.h:116
MonitorElement * rctIsoEmEtEtaPhi_
Definition: L1TRCT.h:127
MonitorElement * rctNonIsoEmEtEtaPhi_
Definition: L1TRCT.h:129
bool verbose_
Definition: L1TRCT.h:137
void beginJob(void)
Definition: L1TRCT.cc:85
MonitorElement * rctIsoEmOccEtaPhi_
Definition: L1TRCT.h:128
int nev_
Definition: L1TRCT.h:135
virtual ~L1TRCT()
Definition: L1TRCT.cc:81
MonitorElement * rctNonIsoEmRank_
Definition: L1TRCT.h:132
void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup)
Definition: L1TRCT.cc:90
MonitorElement * rctTauVetoEtaPhi_
Definition: L1TRCT.h:113
edm::EDGetTokenT< L1CaloEmCollection > rctSource_L1CEMCollection_
Definition: L1TRCT.h:142
MonitorElement * rctEmBx_
Definition: L1TRCT.h:120
DQMStore * dbe
Definition: L1TRCT.h:94
std::string outputFile_
Definition: L1TRCT.h:136
MonitorElement * rctRegionsLocalEtEtaPhi_
Definition: L1TRCT.h:104
Definition: L1TRCT.h:69
MonitorElement * rctRegionRank_
Definition: L1TRCT.h:109
MonitorElement * rctMipEtaPhi_
Definition: L1TRCT.h:114
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TRCT.cc:198
MonitorElement * rctTauVetoLocalEtaPhi_
Definition: L1TRCT.h:106
std::ofstream logFile_
Definition: L1TRCT.h:139
MonitorElement * rctRegionBx_
Definition: L1TRCT.h:119
Definition: Run.h:41
MonitorElement * rctNonIsoEmOccEtaPhi_
Definition: L1TRCT.h:130
MonitorElement * rctIsoEmRank_
Definition: L1TRCT.h:131