CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
23 
28 
33 
34 // Sector Receiver LUT class to transform wire/strip numbers to eta/phi observables
36 
41 
47 
48 #include <iostream>
49 #include <fstream>
50 #include <vector>
51 
52 //
53 // class decleration
54 //
55 
56 class L1TCSCTF : public edm::EDAnalyzer {
57 
58  public:
59 
60  // Constructor
61  L1TCSCTF(const edm::ParameterSet& ps);
62 
63  // Destructor
64  virtual ~L1TCSCTF();
65 
66  protected:
67  // Analyze
68  void analyze(const edm::Event& e, const edm::EventSetup& c);
69 
70  // BeginJob
71  void beginJob(void);
72 
73  // EndJob
74  void endJob(void);
75 
76  private:
77  // ----------member data ---------------------------
79 
83 
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, Renjie Wang
107 
108  // PLOTS SPECIFICALLY FOR ME1/1
115 
116  // PLOTS SPECIFICALLY FOR ME4/2
119 
120 
121 
122  // 1-> 6 plus endcap
123  // 7->12 minus endcap
125  int BxInEvent_; //bx of the CSC muon candidate
126  bool isCSCcand_;//does GMT readout window have a CSC cand?
127 
128  int L1ABXN;
129 
130  int nev_; // Number of events processed
131  std::string outputFile_; //file name for ROOT ouput
132  bool verbose_;
134  std::ofstream logFile_;
137 
139 
142  unsigned long long m_scalesCacheID ;
143  unsigned long long m_ptScaleCacheID ;
144 
145  //define Token(-s)
152 };
153 
154 #endif
MonitorElement * DTstubsTimeTrackMenTimeArrival[12]
Definition: L1TCSCTF.h:124
MonitorElement * csctfoccupancies
Definition: L1TCSCTF.h:85
MonitorElement * csctfTrackEtaHighQ
Definition: L1TCSCTF.h:97
MonitorElement * csctflcts
Definition: L1TCSCTF.h:106
DQMStore * dbe
Definition: L1TCSCTF.h:78
MonitorElement * csctfTrackPhi
Definition: L1TCSCTF.h:94
bool verbose_
Definition: L1TCSCTF.h:132
unsigned long long m_scalesCacheID
Definition: L1TCSCTF.h:142
MonitorElement * csctfTrackPhi_H
Definition: L1TCSCTF.h:98
void beginJob(void)
Definition: L1TCSCTF.cc:106
MonitorElement * me11_lctGblPhi
Definition: L1TCSCTF.h:113
MonitorElement * csctfbx
Definition: L1TCSCTF.h:81
MonitorElement * csctfTrackEtaLowQ
Definition: L1TCSCTF.h:96
edm::InputTag mbProducer
Definition: L1TCSCTF.h:135
MonitorElement * csctfTrackEta
Definition: L1TCSCTF.h:95
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TCSCTF.cc:494
MonitorElement * me11_lctWire
Definition: L1TCSCTF.h:110
std::string outputFile_
Definition: L1TCSCTF.h:131
edm::InputTag statusProducer
Definition: L1TCSCTF.h:135
edm::EDGetTokenT< L1CSCStatusDigiCollection > statusToken_
Definition: L1TCSCTF.h:147
MonitorElement * csctfTrackEta_H
Definition: L1TCSCTF.h:99
MonitorElement * me42_lctGblPhi
Definition: L1TCSCTF.h:117
const L1MuTriggerScales * ts
Definition: L1TCSCTF.h:140
bool gangedME11a_
Definition: L1TCSCTF.h:136
MonitorElement * cscTrackStubNumbers
Definition: L1TCSCTF.h:100
std::ofstream logFile_
Definition: L1TCSCTF.h:134
int L1ABXN
Definition: L1TCSCTF.h:128
MonitorElement * me11_lctStrip
Definition: L1TCSCTF.h:109
int BxInEvent_
Definition: L1TCSCTF.h:125
virtual ~L1TCSCTF()
Definition: L1TCSCTF.cc:99
void endJob(void)
Definition: L1TCSCTF.cc:483
int nev_
Definition: L1TCSCTF.h:130
bool monitorDaemon_
Definition: L1TCSCTF.h:133
L1TCSCTF(const edm::ParameterSet &ps)
Definition: L1TCSCTF.cc:25
MonitorElement * csctfChamberOccupancies
Definition: L1TCSCTF.h:93
edm::InputTag lctProducer
Definition: L1TCSCTF.h:135
MonitorElement * csctfAFerror
Definition: L1TCSCTF.h:103
edm::EDGetTokenT< L1CSCTrackCollection > tracksToken_
Definition: L1TCSCTF.h:149
MonitorElement * me42_lctGblEta
Definition: L1TCSCTF.h:118
CSCSectorReceiverLUT * srLUTs_[5]
Definition: L1TCSCTF.h:138
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > corrlctsToken_
Definition: L1TCSCTF.h:148
MonitorElement * csctferrors
Definition: L1TCSCTF.h:84
bool isCSCcand_
Definition: L1TCSCTF.h:126
MonitorElement * csctfTrackM
Definition: L1TCSCTF.h:101
edm::EDGetTokenT< L1CSCTrackCollection > mbtracksToken_
Definition: L1TCSCTF.h:151
MonitorElement * csctfbx_H
Definition: L1TCSCTF.h:82
edm::InputTag trackProducer
Definition: L1TCSCTF.h:135
MonitorElement * csctfntrack
Definition: L1TCSCTF.h:80
edm::EDGetTokenT< L1MuGMTReadoutCollection > gmtProducerToken_
Definition: L1TCSCTF.h:146
MonitorElement * trackModeVsQ
Definition: L1TCSCTF.h:102
MonitorElement * me11_lctGblEta
Definition: L1TCSCTF.h:114
MonitorElement * csctfoccupancies_H
Definition: L1TCSCTF.h:86
const L1MuTriggerPtScale * tpts
Definition: L1TCSCTF.h:141
MonitorElement * me11_lctLocalPhi
Definition: L1TCSCTF.h:111
unsigned long long m_ptScaleCacheID
Definition: L1TCSCTF.h:143
edm::EDGetTokenT< CSCTriggerContainer< csctf::TrackStub > > dtStubsToken_
Definition: L1TCSCTF.h:150
edm::InputTag gmtProducer
Definition: L1TCSCTF.h:135
MonitorElement * me11_lctPackedPhi
Definition: L1TCSCTF.h:112