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 
27 
33 
34 #include <iostream>
35 #include <fstream>
36 #include <vector>
37 
38 //
39 // class decleration
40 //
41 
42 class L1TGMT : public DQMEDAnalyzer {
43 public:
44  // Constructor
45  L1TGMT(const edm::ParameterSet& ps);
46 
47  // Destructor
48  ~L1TGMT() override;
49 
50 protected:
51  // Analyze
52  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
53 
54  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&, edm::EventSetup const&) override;
55 
56 private:
57  // ----------member data ---------------------------
58 
59  enum ensubs { DTTF = 0, RPCb, CSCTF, RPCf, GMT };
60 
69 
71 
92 
96 
98 
99  const bool verbose_;
100  std::ofstream logFile_;
102 
103  int bxnum_old_; // bx of previous event
104  int obnum_old_; // orbit of previous event
105  int trsrc_old_; // code of trigger source ( bits: 0 DT, 1 bRPC, 2 CSC, 3 fRPC )
106 
107  static const double piconv_;
108  double phiconv_(float phi);
109  void book_(const edm::EventSetup& c);
110 };
111 
112 #endif
L1TGMT::phi_rpc_only
MonitorElement * phi_rpc_only
Definition: L1TGMT.h:79
L1TGMT::etaphi_dtcsc_only
MonitorElement * etaphi_dtcsc_only
Definition: L1TGMT.h:81
L1TGMT::verbose_
const bool verbose_
Definition: L1TGMT.h:99
L1TGMT::eta_rpc_only
MonitorElement * eta_rpc_only
Definition: L1TGMT.h:76
MessageLogger.h
L1TGMT::bookHistograms
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TGMT.cc:239
L1TGMT::obnum_old_
int obnum_old_
Definition: L1TGMT.h:104
L1TGMT::dist_phi_dt_rpc
MonitorElement * dist_phi_dt_rpc
Definition: L1TGMT.h:83
L1TGMT::dbx_chip
MonitorElement * dbx_chip
Definition: L1TGMT.h:73
L1TGMT::dist_phi_dt_csc
MonitorElement * dist_phi_dt_csc
Definition: L1TGMT.h:85
L1TGMT::dist_eta_dt_csc
MonitorElement * dist_eta_dt_csc
Definition: L1TGMT.h:88
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< L1MuGMTReadoutCollection >
L1TGMT::CSCTF
Definition: L1TGMT.h:59
L1MuGMTReadoutCollection.h
L1TGMT::bxnum_old_
int bxnum_old_
Definition: L1TGMT.h:103
L1TGMT::phi_dtcsc_and_rpc
MonitorElement * phi_dtcsc_and_rpc
Definition: L1TGMT.h:77
L1TGMT::dist_eta_csc_rpc
MonitorElement * dist_eta_csc_rpc
Definition: L1TGMT.h:87
L1TGMT::n_csctf_vs_dttf
MonitorElement * n_csctf_vs_dttf
Definition: L1TGMT.h:95
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
EDAnalyzer.h
L1TGMT::regional_triggers
MonitorElement * regional_triggers
Definition: L1TGMT.h:70
L1TGMT::etaphi_dtcsc_and_rpc
MonitorElement * etaphi_dtcsc_and_rpc
Definition: L1TGMT.h:80
L1TGMT::subs_qty
MonitorElement * subs_qty[5]
Definition: L1TGMT.h:65
L1TGMT::RPCf
Definition: L1TGMT.h:59
L1MuRegionalCand.h
MakerMacros.h
L1TGMT::logFile_
std::ofstream logFile_
Definition: L1TGMT.h:100
L1TGMT::subs_phi
MonitorElement * subs_phi[5]
Definition: L1TGMT.h:63
L1TGMT::dist_phi_csc_rpc
MonitorElement * dist_phi_csc_rpc
Definition: L1TGMT.h:84
Service.h
L1TGMT::n_rpcf_vs_csctf
MonitorElement * n_rpcf_vs_csctf
Definition: L1TGMT.h:94
L1TGMT::L1TGMT
L1TGMT(const edm::ParameterSet &ps)
Definition: L1TGMT.cc:23
L1TGMT::book_
void book_(const edm::EventSetup &c)
L1TGMT::~L1TGMT
~L1TGMT() override
Definition: L1TGMT.cc:34
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
L1TGMT::subs_dbx
MonitorElement * subs_dbx[4]
Definition: L1TGMT.h:97
L1TGMT::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TGMT.cc:36
edm::ParameterSet
Definition: ParameterSet.h:36
L1TGMT::dist_eta_dt_rpc
MonitorElement * dist_eta_dt_rpc
Definition: L1TGMT.h:86
Event.h
L1TGMT::trsrc_old_
int trsrc_old_
Definition: L1TGMT.h:105
L1TGMT::eta_dtcsc_and_rpc
MonitorElement * eta_dtcsc_and_rpc
Definition: L1TGMT.h:74
L1TGMT::eta_dtcsc_only
MonitorElement * eta_dtcsc_only
Definition: L1TGMT.h:75
L1TGMT::phi_dtcsc_only
MonitorElement * phi_dtcsc_only
Definition: L1TGMT.h:78
L1TGMT::bx_csc_rpc
MonitorElement * bx_csc_rpc
Definition: L1TGMT.h:90
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
L1TGMT::etaphi_rpc_only
MonitorElement * etaphi_rpc_only
Definition: L1TGMT.h:82
L1TGMT::subs_nbx
MonitorElement * subs_nbx[5]
Definition: L1TGMT.h:61
L1TGMT::DTTF
Definition: L1TGMT.h:59
L1TGMT::bx_dt_csc
MonitorElement * bx_dt_csc
Definition: L1TGMT.h:91
DDAxes::phi
L1TGMT::GMT
Definition: L1TGMT.h:59
L1TGMT::RPCb
Definition: L1TGMT.h:59
L1MuGMTCand.h
L1TGMT::subs_etaqty
MonitorElement * subs_etaqty[5]
Definition: L1TGMT.h:67
L1TGMT::subs_eta
MonitorElement * subs_eta[5]
Definition: L1TGMT.h:62
L1TGMT::phiconv_
double phiconv_(float phi)
Definition: L1TGMT.cc:232
L1TGMT::ensubs
ensubs
Definition: L1TGMT.h:59
L1TGMT::subs_bits
MonitorElement * subs_bits[5]
Definition: L1TGMT.h:68
Frameworkfwd.h
L1TGMT::subs_etaphi
MonitorElement * subs_etaphi[5]
Definition: L1TGMT.h:66
L1TGMT::subs_pt
MonitorElement * subs_pt[5]
Definition: L1TGMT.h:64
L1TGMT
Definition: L1TGMT.h:42
dqm::implementation::IBooker
Definition: DQMStore.h:43
L1TGMT::gmtSource_
const edm::EDGetTokenT< L1MuGMTReadoutCollection > gmtSource_
Definition: L1TGMT.h:101
L1TGMT::bx_number
MonitorElement * bx_number
Definition: L1TGMT.h:72
ParameterSet.h
L1TGMT::piconv_
static const double piconv_
Definition: L1TGMT.h:107
edm::Event
Definition: Event.h:73
L1MuGMTExtendedCand.h
L1TGMT::n_rpcb_vs_dttf
MonitorElement * n_rpcb_vs_dttf
Definition: L1TGMT.h:93
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
L1TGMT::bx_dt_rpc
MonitorElement * bx_dt_rpc
Definition: L1TGMT.h:89