CMS 3D CMS Logo

L1TRCT.h
Go to the documentation of this file.
1 #ifndef L1TRCT_H
2 #define L1TRCT_H
3 
4 // system include files
5 #include <memory>
6 #include <unistd.h>
7 
8 
9 #include <iostream>
10 #include <fstream>
11 #include <vector>
12 
13 
14 // user include files
17 
20 
22 
25 
26 // DQM
29 
31 
32 
33 // GCT and RCT data formats
35 
36 //
37 // class declaration
38 //
39 
40 class L1TRCT : public DQMEDAnalyzer {
41 
42 public:
43 
44 // Constructor
45  L1TRCT(const edm::ParameterSet& ps);
46 
47 // Destructor
48  virtual ~L1TRCT();
49 
50 protected:
51 // Analyze
52  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
53 
54  virtual void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
55  virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&) override;
56  virtual void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const&, edm::EventSetup const&) override ;
57 
58 private:
59  // ----------member data ---------------------------
60 
61  // trigger type information
63 
64  // RCT
65  // regions
74 
75  // Bx
78 
79  // em
86 
93 
94 
95  // Layer2
96  // regions
105 
106  // Bx
109 
110  // em
117 
118  // run/lumi
121 
122 
123  int nev_; // Number of events processed
125  std::string outputFile_; //file name for ROOT ouput
126  bool verbose_;
128  std::ofstream logFile_;
129 
134 
138 };
139 
140 #endif
MonitorElement * rctOverFlowEtaPhi_
Definition: L1TRCT.h:69
virtual void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TRCT.cc:83
MonitorElement * rctQuietEtaPhi_
Definition: L1TRCT.h:72
MonitorElement * layer2IsoEmRank_
Definition: L1TRCT.h:115
edm::EDGetTokenT< L1CaloRegionCollection > rctSource_L1CRCollection_
Definition: L1TRCT.h:130
L1TRCT(const edm::ParameterSet &ps)
Definition: L1TRCT.cc:37
MonitorElement * rctRegionsEtEtaPhi_
Definition: L1TRCT.h:66
MonitorElement * layer2NonIsoEmOccEtaPhi_
Definition: L1TRCT.h:114
MonitorElement * layer2IsoEmOccEtaPhi_
Definition: L1TRCT.h:112
MonitorElement * rctRegionsOccEtaPhi_
Definition: L1TRCT.h:67
MonitorElement * layer2NonIsoEmEtEtaPhi_
Definition: L1TRCT.h:113
MonitorElement * layer2RegionsOccEtaPhi_
Definition: L1TRCT.h:98
MonitorElement * triggerType_
Definition: L1TRCT.h:62
edm::EDGetTokenT< L1CaloEmCollection > rctSource_GCT_L1CEMCollection_
Definition: L1TRCT.h:133
std::string histFolder_
Definition: L1TRCT.h:124
MonitorElement * runId_
Definition: L1TRCT.h:119
MonitorElement * layer2IsoEmEtEtaPhi_
Definition: L1TRCT.h:111
int filterTriggerType_
filter TriggerType
Definition: L1TRCT.h:136
MonitorElement * lumisecId_
Definition: L1TRCT.h:120
bool monitorDaemon_
Definition: L1TRCT.h:127
MonitorElement * layer2RegionsEtEtaPhi_
Definition: L1TRCT.h:97
MonitorElement * layer2RegionRank_
Definition: L1TRCT.h:99
MonitorElement * rctHfPlusTauEtaPhi_
Definition: L1TRCT.h:73
MonitorElement * rctIsoEmEtEtaPhi_
Definition: L1TRCT.h:80
MonitorElement * rctNonIsoEmEtEtaPhi_
Definition: L1TRCT.h:82
MonitorElement * layer2MipEtaPhi_
Definition: L1TRCT.h:102
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
Definition: L1TRCT.cc:77
MonitorElement * rctNotCentralIsoEmEtEtaPhi_
Definition: L1TRCT.h:89
bool verbose_
Definition: L1TRCT.h:126
MonitorElement * rctIsoEmOccEtaPhi_
Definition: L1TRCT.h:81
int nev_
Definition: L1TRCT.h:123
virtual ~L1TRCT()
Definition: L1TRCT.cc:66
MonitorElement * rctNotCentralRegionsOccEtaPhi_
Definition: L1TRCT.h:88
MonitorElement * rctNonIsoEmRank_
Definition: L1TRCT.h:85
MonitorElement * rctTauVetoEtaPhi_
Definition: L1TRCT.h:70
edm::EDGetTokenT< L1CaloEmCollection > rctSource_L1CEMCollection_
Definition: L1TRCT.h:131
MonitorElement * layer2TauVetoEtaPhi_
Definition: L1TRCT.h:101
MonitorElement * rctNotCentralNonIsoEmOccEtaPhi_
Definition: L1TRCT.h:92
MonitorElement * rctEmBx_
Definition: L1TRCT.h:77
MonitorElement * rctNotCentralRegionsEtEtaPhi_
Definition: L1TRCT.h:87
MonitorElement * layer2EmBx_
Definition: L1TRCT.h:108
std::string outputFile_
Definition: L1TRCT.h:125
MonitorElement * layer2HfPlusTauEtaPhi_
Definition: L1TRCT.h:104
virtual void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: L1TRCT.cc:72
MonitorElement * layer2RegionBx_
Definition: L1TRCT.h:107
Definition: L1TRCT.h:40
MonitorElement * rctNotCentralNonIsoEmEtEtaPhi_
Definition: L1TRCT.h:91
MonitorElement * rctRegionRank_
Definition: L1TRCT.h:68
MonitorElement * rctMipEtaPhi_
Definition: L1TRCT.h:71
edm::EDGetTokenT< L1CaloRegionCollection > rctSource_GCT_L1CRCollection_
Definition: L1TRCT.h:132
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TRCT.cc:135
MonitorElement * layer2OverFlowEtaPhi_
Definition: L1TRCT.h:100
MonitorElement * layer2QuietEtaPhi_
Definition: L1TRCT.h:103
std::ofstream logFile_
Definition: L1TRCT.h:128
MonitorElement * rctRegionBx_
Definition: L1TRCT.h:76
Definition: Run.h:42
int selectBX_
Definition: L1TRCT.h:137
MonitorElement * layer2NonIsoEmRank_
Definition: L1TRCT.h:116
MonitorElement * rctNonIsoEmOccEtaPhi_
Definition: L1TRCT.h:83
MonitorElement * rctNotCentralIsoEmOccEtaPhi_
Definition: L1TRCT.h:90
MonitorElement * rctIsoEmRank_
Definition: L1TRCT.h:84