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