CMS 3D CMS Logo

L1TCSCTF.h
Go to the documentation of this file.
1 #ifndef L1TCSCTF_H
2 #define L1TCSCTF_H
3 
4 /*
5  * \file L1TCSCTF.h
6  *
7  * \author J. Berryhill
8  *
9 */
10 
11 // system include files
12 #include <memory>
13 #include <unistd.h>
14 
15 // user include files
18 
21 
24 
29 
34 
35 // Sector Receiver LUT class to transform wire/strip numbers to eta/phi observables
37 
42 
48 
50 
51 #include <iostream>
52 #include <fstream>
53 #include <vector>
54 
55 //
56 // class decleration
57 //
58 
59 class L1TCSCTF : public DQMEDAnalyzer {
60 
61  public:
62 
63  // Constructor
64  L1TCSCTF(const edm::ParameterSet& ps);
65 
66  // Destructor
67  ~L1TCSCTF() override;
68 
69  protected:
70  // Analyze
71  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
72  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
73  //virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
74  void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const&, edm::EventSetup const&) override ;
75 
76  private:
77  // ----------member data ---------------------------
78 
82 
86 
87 
90 
91  //MonitorElement* runId_;
92  //MonitorElement* lumisecId_;
93 
94 
95  //MonitorElement* haloDelEta112;
96  //MonitorElement* haloDelEta12;
97  //MonitorElement* haloDelEta113;
98  //MonitorElement* haloDelEta13;
99 
101  MonitorElement* csctfTrackPhi; //all tracks but halo
102  MonitorElement* csctfTrackEta; //all tracks but halo
103  MonitorElement* csctfTrackEtaLowQ; //all tracks but halo
104  MonitorElement* csctfTrackEtaHighQ; //all tracks but halo
105  MonitorElement* csctfTrackPhi_H; //halo tracks only
106  MonitorElement* csctfTrackEta_H; //halo tracks only
111 
112  // NEW: CSC EVENT LCT PLOTS
114 
115  // PLOTS SPECIFICALLY FOR ME1/1
122 
123  // PLOTS SPECIFICALLY FOR ME4/2
126 
127  // WG AND STRIP PLOTS FOR ALL CHAMBERS
137 
147 
157 
167 
168 
169  // 1-> 6 plus endcap
170  // 7->12 minus endcap
172  int BxInEvent_; //bx of the CSC muon candidate
173  bool isCSCcand_;//does GMT readout window have a CSC cand?
174 
175  int L1ABXN;
176 
177  int nev_; // Number of events processed
178  std::string outputFile_; //file name for ROOT ouput
179  bool verbose_;
181  std::ofstream logFile_;
183  bool gangedME11a_; // needed this be set false for Run2
184 
186 
189  unsigned long long m_scalesCacheID ;
190  unsigned long long m_ptScaleCacheID ;
191 
192  //define Token(-s)
199 };
200 
201 #endif
MonitorElement * DTstubsTimeTrackMenTimeArrival[12]
Definition: L1TCSCTF.h:171
MonitorElement * csctfoccupancies
Definition: L1TCSCTF.h:84
MonitorElement * csctfTrackEtaHighQ
Definition: L1TCSCTF.h:104
MonitorElement * csctflcts
Definition: L1TCSCTF.h:113
MonitorElement * csctfTrackPhi
Definition: L1TCSCTF.h:101
MonitorElement * csctferrors_mpc
Definition: L1TCSCTF.h:88
MonitorElement * csc_strip_MEminus22
Definition: L1TCSCTF.h:142
bool verbose_
Definition: L1TCSCTF.h:179
unsigned long long m_scalesCacheID
Definition: L1TCSCTF.h:189
MonitorElement * csctfTrackPhi_H
Definition: L1TCSCTF.h:105
MonitorElement * csc_wire_MEplus31
Definition: L1TCSCTF.h:153
MonitorElement * csc_strip_MEplus21
Definition: L1TCSCTF.h:131
MonitorElement * csc_strip_MEplus11
Definition: L1TCSCTF.h:128
MonitorElement * csc_wire_MEminus13
Definition: L1TCSCTF.h:160
MonitorElement * csc_wire_MEminus22
Definition: L1TCSCTF.h:162
MonitorElement * me11_lctGblPhi
Definition: L1TCSCTF.h:120
MonitorElement * csc_wire_MEplus12
Definition: L1TCSCTF.h:149
MonitorElement * csc_wire_MEminus31
Definition: L1TCSCTF.h:163
MonitorElement * csctfbx
Definition: L1TCSCTF.h:80
MonitorElement * csc_wire_MEminus32
Definition: L1TCSCTF.h:164
MonitorElement * csctfTrackEtaLowQ
Definition: L1TCSCTF.h:103
edm::InputTag mbProducer
Definition: L1TCSCTF.h:182
MonitorElement * csc_strip_MEminus12
Definition: L1TCSCTF.h:139
MonitorElement * csctfTrackEta
Definition: L1TCSCTF.h:102
MonitorElement * me11_lctWire
Definition: L1TCSCTF.h:117
MonitorElement * csc_strip_MEminus31
Definition: L1TCSCTF.h:143
std::string outputFile_
Definition: L1TCSCTF.h:178
MonitorElement * csc_wire_MEminus21
Definition: L1TCSCTF.h:161
edm::InputTag statusProducer
Definition: L1TCSCTF.h:182
edm::EDGetTokenT< L1CSCStatusDigiCollection > statusToken_
Definition: L1TCSCTF.h:194
~L1TCSCTF() override
Definition: L1TCSCTF.cc:107
MonitorElement * csctfTrackEta_H
Definition: L1TCSCTF.h:106
MonitorElement * me42_lctGblPhi
Definition: L1TCSCTF.h:124
const L1MuTriggerScales * ts
Definition: L1TCSCTF.h:187
bool gangedME11a_
Definition: L1TCSCTF.h:183
MonitorElement * cscTrackStubNumbers
Definition: L1TCSCTF.h:107
MonitorElement * csc_strip_MEminus32
Definition: L1TCSCTF.h:144
std::ofstream logFile_
Definition: L1TCSCTF.h:181
int L1ABXN
Definition: L1TCSCTF.h:175
MonitorElement * me11_lctStrip
Definition: L1TCSCTF.h:116
int BxInEvent_
Definition: L1TCSCTF.h:172
MonitorElement * csc_strip_MEminus42
Definition: L1TCSCTF.h:146
MonitorElement * csc_wire_MEplus41
Definition: L1TCSCTF.h:155
MonitorElement * csc_strip_MEplus13
Definition: L1TCSCTF.h:130
MonitorElement * csc_strip_MEplus22
Definition: L1TCSCTF.h:132
int nev_
Definition: L1TCSCTF.h:177
bool monitorDaemon_
Definition: L1TCSCTF.h:180
MonitorElement * csc_wire_MEminus41
Definition: L1TCSCTF.h:165
L1TCSCTF(const edm::ParameterSet &ps)
Definition: L1TCSCTF.cc:24
MonitorElement * csctfChamberOccupancies
Definition: L1TCSCTF.h:100
MonitorElement * csc_wire_MEplus13
Definition: L1TCSCTF.h:150
edm::InputTag lctProducer
Definition: L1TCSCTF.h:182
MonitorElement * csctfAFerror
Definition: L1TCSCTF.h:110
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TCSCTF.cc:674
MonitorElement * csc_wire_MEplus21
Definition: L1TCSCTF.h:151
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TCSCTF.cc:120
edm::EDGetTokenT< L1CSCTrackCollection > tracksToken_
Definition: L1TCSCTF.h:196
MonitorElement * csc_strip_MEminus41
Definition: L1TCSCTF.h:145
MonitorElement * me42_lctGblEta
Definition: L1TCSCTF.h:125
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: L1TCSCTF.cc:117
MonitorElement * csc_strip_MEplus31
Definition: L1TCSCTF.h:133
MonitorElement * csc_wire_MEplus32
Definition: L1TCSCTF.h:154
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > corrlctsToken_
Definition: L1TCSCTF.h:195
MonitorElement * csctferrors
Definition: L1TCSCTF.h:83
MonitorElement * csc_wire_MEminus42
Definition: L1TCSCTF.h:166
bool isCSCcand_
Definition: L1TCSCTF.h:173
MonitorElement * csc_strip_MEplus41
Definition: L1TCSCTF.h:135
MonitorElement * csctfTrackM
Definition: L1TCSCTF.h:108
edm::EDGetTokenT< L1CSCTrackCollection > mbtracksToken_
Definition: L1TCSCTF.h:198
MonitorElement * csctfbx_H
Definition: L1TCSCTF.h:81
edm::InputTag trackProducer
Definition: L1TCSCTF.h:182
MonitorElement * csctfntrack
Definition: L1TCSCTF.h:79
edm::EDGetTokenT< L1MuGMTReadoutCollection > gmtProducerToken_
Definition: L1TCSCTF.h:193
MonitorElement * csc_wire_MEplus42
Definition: L1TCSCTF.h:156
MonitorElement * trackModeVsQ
Definition: L1TCSCTF.h:109
MonitorElement * me11_lctGblEta
Definition: L1TCSCTF.h:121
MonitorElement * csc_strip_MEminus21
Definition: L1TCSCTF.h:141
MonitorElement * csctfoccupancies_H
Definition: L1TCSCTF.h:85
MonitorElement * csc_strip_MEplus32
Definition: L1TCSCTF.h:134
MonitorElement * csc_strip_MEplus12
Definition: L1TCSCTF.h:129
CSCSectorReceiverLUT * srLUTs_[5][2][6]
Definition: L1TCSCTF.h:185
const L1MuTriggerPtScale * tpts
Definition: L1TCSCTF.h:188
MonitorElement * me11_lctLocalPhi
Definition: L1TCSCTF.h:118
MonitorElement * csc_strip_MEminus11
Definition: L1TCSCTF.h:138
MonitorElement * csc_strip_MEminus13
Definition: L1TCSCTF.h:140
unsigned long long m_ptScaleCacheID
Definition: L1TCSCTF.h:190
MonitorElement * csc_wire_MEplus11
Definition: L1TCSCTF.h:148
MonitorElement * csc_wire_MEminus12
Definition: L1TCSCTF.h:159
MonitorElement * cscWireStripOverflow
Definition: L1TCSCTF.h:89
MonitorElement * csc_strip_MEplus42
Definition: L1TCSCTF.h:136
edm::EDGetTokenT< CSCTriggerContainer< csctf::TrackStub > > dtStubsToken_
Definition: L1TCSCTF.h:197
edm::InputTag gmtProducer
Definition: L1TCSCTF.h:182
MonitorElement * me11_lctPackedPhi
Definition: L1TCSCTF.h:119
MonitorElement * csc_wire_MEplus22
Definition: L1TCSCTF.h:152
MonitorElement * csc_wire_MEminus11
Definition: L1TCSCTF.h:158
Definition: Run.h:43