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 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
L1TGMT::phi_rpc_only
MonitorElement * phi_rpc_only
Definition: L1TGMT.h:83
L1TGMT::etaphi_dtcsc_only
MonitorElement * etaphi_dtcsc_only
Definition: L1TGMT.h:85
L1TGMT::verbose_
const bool verbose_
Definition: L1TGMT.h:103
L1TGMT::l1TrigptscaleToken_
edm::ESGetToken< L1MuTriggerPtScale, L1MuTriggerPtScaleRcd > l1TrigptscaleToken_
Definition: L1TGMT.h:107
L1TGMT::eta_rpc_only
MonitorElement * eta_rpc_only
Definition: L1TGMT.h:80
MessageLogger.h
L1TGMT::bookHistograms
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TGMT.cc:241
L1TGMT::obnum_old_
int obnum_old_
Definition: L1TGMT.h:110
L1TGMT::dist_phi_dt_rpc
MonitorElement * dist_phi_dt_rpc
Definition: L1TGMT.h:87
L1TGMT::dbx_chip
MonitorElement * dbx_chip
Definition: L1TGMT.h:77
L1TGMT::dist_phi_dt_csc
MonitorElement * dist_phi_dt_csc
Definition: L1TGMT.h:89
L1TGMT::dist_eta_dt_csc
MonitorElement * dist_eta_dt_csc
Definition: L1TGMT.h:92
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< L1MuGMTReadoutCollection >
L1TGMT::CSCTF
Definition: L1TGMT.h:63
L1MuGMTReadoutCollection.h
L1TGMT::bxnum_old_
int bxnum_old_
Definition: L1TGMT.h:109
L1TGMT::phi_dtcsc_and_rpc
MonitorElement * phi_dtcsc_and_rpc
Definition: L1TGMT.h:81
L1TGMT::dist_eta_csc_rpc
MonitorElement * dist_eta_csc_rpc
Definition: L1TGMT.h:91
L1TGMT::n_csctf_vs_dttf
MonitorElement * n_csctf_vs_dttf
Definition: L1TGMT.h:99
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
EDAnalyzer.h
L1TGMT::regional_triggers
MonitorElement * regional_triggers
Definition: L1TGMT.h:74
L1TGMT::etaphi_dtcsc_and_rpc
MonitorElement * etaphi_dtcsc_and_rpc
Definition: L1TGMT.h:84
L1TGMT::subs_qty
MonitorElement * subs_qty[5]
Definition: L1TGMT.h:69
L1TGMT::RPCf
Definition: L1TGMT.h:63
L1MuRegionalCand.h
MakerMacros.h
L1MuTriggerPtScale
Definition: L1MuTriggerPtScale.h:33
L1TGMT::logFile_
std::ofstream logFile_
Definition: L1TGMT.h:104
L1TGMT::subs_phi
MonitorElement * subs_phi[5]
Definition: L1TGMT.h:67
L1TGMT::dist_phi_csc_rpc
MonitorElement * dist_phi_csc_rpc
Definition: L1TGMT.h:88
Service.h
L1TGMT::n_rpcf_vs_csctf
MonitorElement * n_rpcf_vs_csctf
Definition: L1TGMT.h:98
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:36
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
L1TGMT::subs_dbx
MonitorElement * subs_dbx[4]
Definition: L1TGMT.h:101
L1TGMT::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TGMT.cc:38
edm::ParameterSet
Definition: ParameterSet.h:47
L1TGMT::dist_eta_dt_rpc
MonitorElement * dist_eta_dt_rpc
Definition: L1TGMT.h:90
Event.h
L1TGMT::trsrc_old_
int trsrc_old_
Definition: L1TGMT.h:111
L1TGMT::eta_dtcsc_and_rpc
MonitorElement * eta_dtcsc_and_rpc
Definition: L1TGMT.h:78
L1TGMT::eta_dtcsc_only
MonitorElement * eta_dtcsc_only
Definition: L1TGMT.h:79
L1TGMT::phi_dtcsc_only
MonitorElement * phi_dtcsc_only
Definition: L1TGMT.h:82
L1TGMT::bx_csc_rpc
MonitorElement * bx_csc_rpc
Definition: L1TGMT.h:94
edm::EventSetup
Definition: EventSetup.h:58
L1MuTriggerPtScaleRcd
Definition: L1MuTriggerPtScaleRcd.h:12
L1TGMT::etaphi_rpc_only
MonitorElement * etaphi_rpc_only
Definition: L1TGMT.h:86
L1MuTriggerScales
Definition: L1MuTriggerScales.h:33
L1TGMT::subs_nbx
MonitorElement * subs_nbx[5]
Definition: L1TGMT.h:65
L1TGMT::DTTF
Definition: L1TGMT.h:63
edm::ESGetToken< L1MuTriggerScales, L1MuTriggerScalesRcd >
L1TGMT::bx_dt_csc
MonitorElement * bx_dt_csc
Definition: L1TGMT.h:95
L1MuTriggerScalesRcd
Definition: L1MuTriggerScalesRcd.h:12
L1TGMT::l1muTrigscaleToken_
edm::ESGetToken< L1MuTriggerScales, L1MuTriggerScalesRcd > l1muTrigscaleToken_
Definition: L1TGMT.h:106
DDAxes::phi
L1TGMT::GMT
Definition: L1TGMT.h:63
L1TGMT::RPCb
Definition: L1TGMT.h:63
L1MuGMTCand.h
L1TGMT::subs_etaqty
MonitorElement * subs_etaqty[5]
Definition: L1TGMT.h:71
L1TGMT::subs_eta
MonitorElement * subs_eta[5]
Definition: L1TGMT.h:66
L1TGMT::phiconv_
double phiconv_(float phi)
Definition: L1TGMT.cc:234
L1TGMT::ensubs
ensubs
Definition: L1TGMT.h:63
L1TGMT::subs_bits
MonitorElement * subs_bits[5]
Definition: L1TGMT.h:72
Frameworkfwd.h
L1TGMT::subs_etaphi
MonitorElement * subs_etaphi[5]
Definition: L1TGMT.h:70
L1TGMT::subs_pt
MonitorElement * subs_pt[5]
Definition: L1TGMT.h:68
L1TGMT
Definition: L1TGMT.h:46
dqm::implementation::IBooker
Definition: DQMStore.h:43
L1TGMT::gmtSource_
const edm::EDGetTokenT< L1MuGMTReadoutCollection > gmtSource_
Definition: L1TGMT.h:105
L1TGMT::bx_number
MonitorElement * bx_number
Definition: L1TGMT.h:76
ParameterSet.h
L1TGMT::piconv_
static const double piconv_
Definition: L1TGMT.h:113
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition: Event.h:73
L1MuGMTExtendedCand.h
L1TGMT::n_rpcb_vs_dttf
MonitorElement * n_rpcb_vs_dttf
Definition: L1TGMT.h:97
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
L1TGMT::bx_dt_rpc
MonitorElement * bx_dt_rpc
Definition: L1TGMT.h:93