CMS 3D CMS Logo

L1TGMT.h
Go to the documentation of this file.
1 #ifndef L1TGMT_H
2 #define L1TGMT_H
3 
4 /*
5  * \file L1TGMT.h
6  *
7  * \author J. Berryhill, I. Mikulec
8  *
9 */
10 
11 // system include files
12 #include <memory>
13 #include <unistd.h>
14 
15 // user include files
18 
21 
23 
28 
34 
35 #include <iostream>
36 #include <fstream>
37 #include <vector>
38 
39 //
40 // class decleration
41 //
42 
43 class L1TGMT : public DQMEDAnalyzer {
44 
45 public:
46 
47 // Constructor
48 L1TGMT(const edm::ParameterSet& ps);
49 
50 // Destructor
51 ~L1TGMT() override;
52 
53 protected:
54 // Analyze
55  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
56 
57 // BeginJob
58 
59  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
60  void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const&, edm::EventSetup const&) override ;
61 
62 private:
63  // ----------member data ---------------------------
64 
65  enum ensubs { DTTF=0, RPCb, CSCTF, RPCf, GMT };
66 
75 
77 
98 
102 
104 
105  const bool verbose_;
106  std::ofstream logFile_;
108 
109  int bxnum_old_; // bx of previous event
110  int obnum_old_; // orbit of previous event
111  int trsrc_old_; // code of trigger source ( bits: 0 DT, 1 bRPC, 2 CSC, 3 fRPC )
112 
113  static const double piconv_;
114  double phiconv_(float phi);
115  void book_(const edm::EventSetup& c);
116 };
117 
118 #endif
Definition: L1TGMT.h:43
L1TGMT(const edm::ParameterSet &ps)
Definition: L1TGMT.cc:23
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: L1TGMT.cc:38
MonitorElement * bx_number
Definition: L1TGMT.h:78
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TGMT.cc:44
MonitorElement * phi_rpc_only
Definition: L1TGMT.h:85
const bool verbose_
Definition: L1TGMT.h:105
MonitorElement * subs_eta[5]
Definition: L1TGMT.h:68
int obnum_old_
Definition: L1TGMT.h:110
MonitorElement * subs_nbx[5]
Definition: L1TGMT.h:67
double phiconv_(float phi)
Definition: L1TGMT.cc:232
int bxnum_old_
Definition: L1TGMT.h:109
~L1TGMT() override
Definition: L1TGMT.cc:33
ensubs
Definition: L1TGMT.h:65
MonitorElement * dist_eta_dt_rpc
Definition: L1TGMT.h:92
MonitorElement * subs_bits[5]
Definition: L1TGMT.h:74
MonitorElement * subs_dbx[4]
Definition: L1TGMT.h:103
MonitorElement * n_csctf_vs_dttf
Definition: L1TGMT.h:101
MonitorElement * eta_dtcsc_and_rpc
Definition: L1TGMT.h:80
MonitorElement * dist_eta_csc_rpc
Definition: L1TGMT.h:93
MonitorElement * subs_etaphi[5]
Definition: L1TGMT.h:72
int trsrc_old_
Definition: L1TGMT.h:111
const edm::EDGetTokenT< L1MuGMTReadoutCollection > gmtSource_
Definition: L1TGMT.h:107
MonitorElement * regional_triggers
Definition: L1TGMT.h:76
static const double piconv_
Definition: L1TGMT.h:113
MonitorElement * etaphi_dtcsc_and_rpc
Definition: L1TGMT.h:86
MonitorElement * etaphi_rpc_only
Definition: L1TGMT.h:88
MonitorElement * eta_dtcsc_only
Definition: L1TGMT.h:81
MonitorElement * eta_rpc_only
Definition: L1TGMT.h:82
MonitorElement * n_rpcb_vs_dttf
Definition: L1TGMT.h:99
MonitorElement * phi_dtcsc_only
Definition: L1TGMT.h:84
MonitorElement * bx_dt_csc
Definition: L1TGMT.h:97
MonitorElement * subs_phi[5]
Definition: L1TGMT.h:69
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TGMT.cc:239
MonitorElement * dbx_chip
Definition: L1TGMT.h:79
void book_(const edm::EventSetup &c)
MonitorElement * dist_phi_dt_rpc
Definition: L1TGMT.h:89
MonitorElement * dist_phi_dt_csc
Definition: L1TGMT.h:91
MonitorElement * phi_dtcsc_and_rpc
Definition: L1TGMT.h:83
MonitorElement * subs_pt[5]
Definition: L1TGMT.h:70
MonitorElement * subs_qty[5]
Definition: L1TGMT.h:71
std::ofstream logFile_
Definition: L1TGMT.h:106
MonitorElement * bx_csc_rpc
Definition: L1TGMT.h:96
MonitorElement * bx_dt_rpc
Definition: L1TGMT.h:95
MonitorElement * dist_phi_csc_rpc
Definition: L1TGMT.h:90
MonitorElement * etaphi_dtcsc_only
Definition: L1TGMT.h:87
MonitorElement * subs_etaqty[5]
Definition: L1TGMT.h:73
MonitorElement * dist_eta_dt_csc
Definition: L1TGMT.h:94
Definition: Run.h:45
MonitorElement * n_rpcf_vs_csctf
Definition: L1TGMT.h:100