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
17 
20 
22 
26 
32 
33 #include <iostream>
34 #include <fstream>
35 #include <vector>
36 
37 //
38 // class decleration
39 //
40 class L1MuTriggerScales;
42 class L1MuTriggerPtScale;
44 
45 class L1TGMT : public DQMEDAnalyzer {
46 public:
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  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&, edm::EventSetup const&) override;
58 
59 private:
60  // ----------member data ---------------------------
61 
62  enum ensubs { DTTF = 0, RPCb, CSCTF, RPCf, GMT };
63 
72 
74 
95 
99 
101 
102  const bool verbose_;
103  std::ofstream logFile_;
107 
108  int bxnum_old_; // bx of previous event
109  int obnum_old_; // orbit of previous event
110  int trsrc_old_; // code of trigger source ( bits: 0 DT, 1 bRPC, 2 CSC, 3 fRPC )
111 
112  static const double piconv_;
113  double phiconv_(float phi);
114  void book_(const edm::EventSetup& c);
115 };
116 
117 #endif
Definition: L1TGMT.h:45
L1TGMT(const edm::ParameterSet &ps)
Definition: L1TGMT.cc:23
MonitorElement * bx_number
Definition: L1TGMT.h:75
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TGMT.cc:38
edm::ESGetToken< L1MuTriggerScales, L1MuTriggerScalesRcd > l1muTrigscaleToken_
Definition: L1TGMT.h:105
MonitorElement * phi_rpc_only
Definition: L1TGMT.h:82
const bool verbose_
Definition: L1TGMT.h:102
MonitorElement * subs_eta[5]
Definition: L1TGMT.h:65
int obnum_old_
Definition: L1TGMT.h:109
MonitorElement * subs_nbx[5]
Definition: L1TGMT.h:64
double phiconv_(float phi)
Definition: L1TGMT.cc:234
int bxnum_old_
Definition: L1TGMT.h:108
~L1TGMT() override
Definition: L1TGMT.cc:36
ensubs
Definition: L1TGMT.h:62
MonitorElement * dist_eta_dt_rpc
Definition: L1TGMT.h:89
MonitorElement * subs_bits[5]
Definition: L1TGMT.h:71
MonitorElement * subs_dbx[4]
Definition: L1TGMT.h:100
MonitorElement * n_csctf_vs_dttf
Definition: L1TGMT.h:98
MonitorElement * eta_dtcsc_and_rpc
Definition: L1TGMT.h:77
MonitorElement * dist_eta_csc_rpc
Definition: L1TGMT.h:90
MonitorElement * subs_etaphi[5]
Definition: L1TGMT.h:69
int trsrc_old_
Definition: L1TGMT.h:110
const edm::EDGetTokenT< L1MuGMTReadoutCollection > gmtSource_
Definition: L1TGMT.h:104
MonitorElement * regional_triggers
Definition: L1TGMT.h:73
static const double piconv_
Definition: L1TGMT.h:112
MonitorElement * etaphi_dtcsc_and_rpc
Definition: L1TGMT.h:83
MonitorElement * etaphi_rpc_only
Definition: L1TGMT.h:85
MonitorElement * eta_dtcsc_only
Definition: L1TGMT.h:78
MonitorElement * eta_rpc_only
Definition: L1TGMT.h:79
MonitorElement * n_rpcb_vs_dttf
Definition: L1TGMT.h:96
MonitorElement * phi_dtcsc_only
Definition: L1TGMT.h:81
MonitorElement * bx_dt_csc
Definition: L1TGMT.h:94
MonitorElement * subs_phi[5]
Definition: L1TGMT.h:66
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TGMT.cc:241
MonitorElement * dbx_chip
Definition: L1TGMT.h:76
void book_(const edm::EventSetup &c)
MonitorElement * dist_phi_dt_rpc
Definition: L1TGMT.h:86
MonitorElement * dist_phi_dt_csc
Definition: L1TGMT.h:88
MonitorElement * phi_dtcsc_and_rpc
Definition: L1TGMT.h:80
MonitorElement * subs_pt[5]
Definition: L1TGMT.h:67
MonitorElement * subs_qty[5]
Definition: L1TGMT.h:68
std::ofstream logFile_
Definition: L1TGMT.h:103
MonitorElement * bx_csc_rpc
Definition: L1TGMT.h:93
edm::ESGetToken< L1MuTriggerPtScale, L1MuTriggerPtScaleRcd > l1TrigptscaleToken_
Definition: L1TGMT.h:106
MonitorElement * bx_dt_rpc
Definition: L1TGMT.h:92
MonitorElement * dist_phi_csc_rpc
Definition: L1TGMT.h:87
MonitorElement * etaphi_dtcsc_only
Definition: L1TGMT.h:84
MonitorElement * subs_etaqty[5]
Definition: L1TGMT.h:70
MonitorElement * dist_eta_dt_csc
Definition: L1TGMT.h:91
Definition: Run.h:45
MonitorElement * n_rpcf_vs_csctf
Definition: L1TGMT.h:97