CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
27 
33 
34 #include <iostream>
35 #include <fstream>
36 #include <vector>
37 
38 //
39 // class decleration
40 //
41 class L1MuTriggerScales;
43 class L1MuTriggerPtScale;
45 
46 class L1TGMT : public DQMEDAnalyzer {
47 public:
48  // Constructor
49  L1TGMT(const edm::ParameterSet& ps);
50 
51  // Destructor
52  ~L1TGMT() override;
53 
54 protected:
55  // Analyze
56  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
57 
58  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&, edm::EventSetup const&) override;
59 
60 private:
61  // ----------member data ---------------------------
62 
63  enum ensubs { DTTF = 0, RPCb, CSCTF, RPCf, GMT };
64 
73 
75 
96 
100 
102 
103  const bool verbose_;
104  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:46
L1TGMT(const edm::ParameterSet &ps)
Definition: L1TGMT.cc:23
const edm::EventSetup & c
MonitorElement * bx_number
Definition: L1TGMT.h:76
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TGMT.cc:38
edm::ESGetToken< L1MuTriggerScales, L1MuTriggerScalesRcd > l1muTrigscaleToken_
Definition: L1TGMT.h:106
MonitorElement * phi_rpc_only
Definition: L1TGMT.h:83
const bool verbose_
Definition: L1TGMT.h:103
MonitorElement * subs_eta[5]
Definition: L1TGMT.h:66
int obnum_old_
Definition: L1TGMT.h:110
MonitorElement * subs_nbx[5]
Definition: L1TGMT.h:65
double phiconv_(float phi)
Definition: L1TGMT.cc:234
int bxnum_old_
Definition: L1TGMT.h:109
~L1TGMT() override
Definition: L1TGMT.cc:36
ensubs
Definition: L1TGMT.h:63
MonitorElement * dist_eta_dt_rpc
Definition: L1TGMT.h:90
MonitorElement * subs_bits[5]
Definition: L1TGMT.h:72
MonitorElement * subs_dbx[4]
Definition: L1TGMT.h:101
MonitorElement * n_csctf_vs_dttf
Definition: L1TGMT.h:99
MonitorElement * eta_dtcsc_and_rpc
Definition: L1TGMT.h:78
MonitorElement * dist_eta_csc_rpc
Definition: L1TGMT.h:91
MonitorElement * subs_etaphi[5]
Definition: L1TGMT.h:70
int trsrc_old_
Definition: L1TGMT.h:111
const edm::EDGetTokenT< L1MuGMTReadoutCollection > gmtSource_
Definition: L1TGMT.h:105
MonitorElement * regional_triggers
Definition: L1TGMT.h:74
static const double piconv_
Definition: L1TGMT.h:113
MonitorElement * etaphi_dtcsc_and_rpc
Definition: L1TGMT.h:84
MonitorElement * etaphi_rpc_only
Definition: L1TGMT.h:86
MonitorElement * eta_dtcsc_only
Definition: L1TGMT.h:79
MonitorElement * eta_rpc_only
Definition: L1TGMT.h:80
MonitorElement * n_rpcb_vs_dttf
Definition: L1TGMT.h:97
MonitorElement * phi_dtcsc_only
Definition: L1TGMT.h:82
MonitorElement * bx_dt_csc
Definition: L1TGMT.h:95
MonitorElement * subs_phi[5]
Definition: L1TGMT.h:67
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TGMT.cc:241
MonitorElement * dbx_chip
Definition: L1TGMT.h:77
void book_(const edm::EventSetup &c)
MonitorElement * dist_phi_dt_rpc
Definition: L1TGMT.h:87
MonitorElement * dist_phi_dt_csc
Definition: L1TGMT.h:89
MonitorElement * phi_dtcsc_and_rpc
Definition: L1TGMT.h:81
MonitorElement * subs_pt[5]
Definition: L1TGMT.h:68
MonitorElement * subs_qty[5]
Definition: L1TGMT.h:69
std::ofstream logFile_
Definition: L1TGMT.h:104
MonitorElement * bx_csc_rpc
Definition: L1TGMT.h:94
edm::ESGetToken< L1MuTriggerPtScale, L1MuTriggerPtScaleRcd > l1TrigptscaleToken_
Definition: L1TGMT.h:107
MonitorElement * bx_dt_rpc
Definition: L1TGMT.h:93
MonitorElement * dist_phi_csc_rpc
Definition: L1TGMT.h:88
MonitorElement * etaphi_dtcsc_only
Definition: L1TGMT.h:85
MonitorElement * subs_etaqty[5]
Definition: L1TGMT.h:71
MonitorElement * dist_eta_dt_csc
Definition: L1TGMT.h:92
Definition: Run.h:45
MonitorElement * n_rpcf_vs_csctf
Definition: L1TGMT.h:98