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 
49 
50 #include <iostream>
51 #include <fstream>
52 #include <vector>
53 
54 //
55 // class decleration
56 //
57 
59 
60  public:
61 
62  // Constructor
63  L1TCSCTF(const edm::ParameterSet& ps);
64 
65  // Destructor
66  virtual ~L1TCSCTF();
67 
68  protected:
69  // Analyze
70  void analyze(const edm::Event& e, const edm::EventSetup& c);
71  virtual void dqmBeginRun(const edm::Run&, const edm::EventSetup&);
72  //virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
73  virtual void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const&, edm::EventSetup const&) override ;
74 
75  private:
76  // ----------member data ---------------------------
77 
81 
85 
86  //MonitorElement* runId_;
87  //MonitorElement* lumisecId_;
88 
89 
90  //MonitorElement* haloDelEta112;
91  //MonitorElement* haloDelEta12;
92  //MonitorElement* haloDelEta113;
93  //MonitorElement* haloDelEta13;
94 
96  MonitorElement* csctfTrackPhi; //all tracks but halo
97  MonitorElement* csctfTrackEta; //all tracks but halo
98  MonitorElement* csctfTrackEtaLowQ; //all tracks but halo
99  MonitorElement* csctfTrackEtaHighQ; //all tracks but halo
100  MonitorElement* csctfTrackPhi_H; //halo tracks only
101  MonitorElement* csctfTrackEta_H; //halo tracks only
106 
107  // 1-> 6 plus endcap
108  // 7->12 minus endcap
110  int BxInEvent_; //bx of the CSC muon candidate
111  bool isCSCcand_;//does GMT readout window have a CSC cand?
112 
113  int L1ABXN;
114 
115  int nev_; // Number of events processed
116  std::string outputFile_; //file name for ROOT ouput
117  bool verbose_;
119  std::ofstream logFile_;
121 
123 
126  unsigned long long m_scalesCacheID ;
127  unsigned long long m_ptScaleCacheID ;
128 
129  //define Token(-s)
136 };
137 
138 #endif
MonitorElement * DTstubsTimeTrackMenTimeArrival[12]
Definition: L1TCSCTF.h:109
MonitorElement * csctfoccupancies
Definition: L1TCSCTF.h:83
MonitorElement * csctfTrackEtaHighQ
Definition: L1TCSCTF.h:99
MonitorElement * csctfTrackPhi
Definition: L1TCSCTF.h:96
bool verbose_
Definition: L1TCSCTF.h:117
unsigned long long m_scalesCacheID
Definition: L1TCSCTF.h:126
MonitorElement * csctfTrackPhi_H
Definition: L1TCSCTF.h:100
MonitorElement * csctfbx
Definition: L1TCSCTF.h:79
MonitorElement * csctfTrackEtaLowQ
Definition: L1TCSCTF.h:98
edm::InputTag mbProducer
Definition: L1TCSCTF.h:120
MonitorElement * csctfTrackEta
Definition: L1TCSCTF.h:97
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TCSCTF.cc:389
std::string outputFile_
Definition: L1TCSCTF.h:116
edm::InputTag statusProducer
Definition: L1TCSCTF.h:120
edm::EDGetTokenT< L1CSCStatusDigiCollection > statusToken_
Definition: L1TCSCTF.h:131
MonitorElement * csctfTrackEta_H
Definition: L1TCSCTF.h:101
const L1MuTriggerScales * ts
Definition: L1TCSCTF.h:124
MonitorElement * cscTrackStubNumbers
Definition: L1TCSCTF.h:102
std::ofstream logFile_
Definition: L1TCSCTF.h:119
int L1ABXN
Definition: L1TCSCTF.h:113
int BxInEvent_
Definition: L1TCSCTF.h:110
virtual ~L1TCSCTF()
Definition: L1TCSCTF.cc:84
int nev_
Definition: L1TCSCTF.h:115
bool monitorDaemon_
Definition: L1TCSCTF.h:118
L1TCSCTF(const edm::ParameterSet &ps)
Definition: L1TCSCTF.cc:25
MonitorElement * csctfChamberOccupancies
Definition: L1TCSCTF.h:95
edm::InputTag lctProducer
Definition: L1TCSCTF.h:120
MonitorElement * csctfAFerror
Definition: L1TCSCTF.h:105
virtual void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TCSCTF.cc:94
edm::EDGetTokenT< L1CSCTrackCollection > tracksToken_
Definition: L1TCSCTF.h:133
CSCSectorReceiverLUT * srLUTs_[5]
Definition: L1TCSCTF.h:122
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > corrlctsToken_
Definition: L1TCSCTF.h:132
MonitorElement * csctferrors
Definition: L1TCSCTF.h:82
bool isCSCcand_
Definition: L1TCSCTF.h:111
MonitorElement * csctfTrackM
Definition: L1TCSCTF.h:103
edm::EDGetTokenT< L1CSCTrackCollection > mbtracksToken_
Definition: L1TCSCTF.h:135
MonitorElement * csctfbx_H
Definition: L1TCSCTF.h:80
virtual void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
Definition: L1TCSCTF.cc:91
edm::InputTag trackProducer
Definition: L1TCSCTF.h:120
MonitorElement * csctfntrack
Definition: L1TCSCTF.h:78
edm::EDGetTokenT< L1MuGMTReadoutCollection > gmtProducerToken_
Definition: L1TCSCTF.h:130
MonitorElement * trackModeVsQ
Definition: L1TCSCTF.h:104
MonitorElement * csctfoccupancies_H
Definition: L1TCSCTF.h:84
const L1MuTriggerPtScale * tpts
Definition: L1TCSCTF.h:125
unsigned long long m_ptScaleCacheID
Definition: L1TCSCTF.h:127
edm::EDGetTokenT< CSCTriggerContainer< csctf::TrackStub > > dtStubsToken_
Definition: L1TCSCTF.h:134
edm::InputTag gmtProducer
Definition: L1TCSCTF.h:120
Definition: Run.h:41