CMS 3D CMS Logo

L1TRPCTF.h
Go to the documentation of this file.
1 #ifndef L1TRPCTF_H
2 #define L1TRPCTF_H
3 
4 /*
5  * \file L1TRPCTF.h
6  *
7  * \author J. Berryhill
8  *
9 */
10 
11 // system include files
12 #include <memory>
13 #include <unistd.h>
14 
15 // user include files
18 
21 
23 
28 
33 #include <iostream>
34 #include <fstream>
35 #include <vector>
36 #include <set>
37 
39 //
40 // class decleration
41 //
42 
43 class L1TRPCTF : public DQMEDAnalyzer {
44 
45 public:
46 
47 // Constructor
48  L1TRPCTF(const edm::ParameterSet& ps);
49 
50 // Destructor
51  ~L1TRPCTF() override;
52 
53 protected:
54 // Analyze
55  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
56 
57 // BeginJob
58  void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run&, const edm::EventSetup&) override;
59  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
60 
61  void beginLuminosityBlock(const edm::LuminosityBlock& l, const edm::EventSetup& c) override;
62 
63 
64 private:
65 
66 
67  // ----------member data ---------------------------
68 
79  //MonitorElement* m_phipacked;
80 
83 
84 
85  std::set<unsigned long long int> m_globBX;
86 
88 
89  int nev_; // Number of events processed
90  int nevRPC_; // Number of events processed where muon was found by rpc trigger
91  std::string outputFile_; //file name for ROOT ouput
92  bool verbose_;
94  //bool m_rpcDigiFine;
95  //bool m_useRpcDigi;
96 
97  long long int m_lastUsedBxInBxdiff;
99  struct BxDelays { int bx, eta_t, phi_p; };
100 
101 
102 };
103 
104 #endif
std::set< unsigned long long int > m_globBX
Definition: L1TRPCTF.h:85
MonitorElement * rpctfcratesynchro[12]
Definition: L1TRPCTF.h:82
MonitorElement * rpctfchargevalue[3]
Definition: L1TRPCTF.h:72
MonitorElement * rpctfetavalue[3]
Definition: L1TRPCTF.h:69
MonitorElement * rpctfptvalue[3]
Definition: L1TRPCTF.h:71
~L1TRPCTF() override
Definition: L1TRPCTF.cc:48
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: L1TRPCTF.cc:362
void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override
Definition: L1TRPCTF.cc:52
std::string outputFile_
Definition: L1TRPCTF.h:91
MonitorElement * rpctfquality[3]
Definition: L1TRPCTF.h:73
MonitorElement * rpctfphivalue[3]
Definition: L1TRPCTF.h:70
int nev_
Definition: L1TRPCTF.h:89
MonitorElement * m_bxDiff
Definition: L1TRPCTF.h:81
MonitorElement * m_muonsEtaPhi[3]
Definition: L1TRPCTF.h:78
MonitorElement * m_qualVsEta[3]
Definition: L1TRPCTF.h:77
std::string output_dir_
Definition: L1TRPCTF.h:98
L1TRPCTF(const edm::ParameterSet &ps)
Definition: L1TRPCTF.cc:18
long long int m_lastUsedBxInBxdiff
Definition: L1TRPCTF.h:97
MonitorElement * rpctfntrack_e[3]
Definition: L1TRPCTF.h:75
MonitorElement * rpctfbx
Definition: L1TRPCTF.h:76
MonitorElement * rpctfntrack_b[3]
Definition: L1TRPCTF.h:74
void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c) override
Definition: L1TRPCTF.cc:350
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TRPCTF.cc:216
int nevRPC_
Definition: L1TRPCTF.h:90
bool verbose_
Definition: L1TRPCTF.h:92
bool monitorDaemon_
Definition: L1TRPCTF.h:93
Definition: Run.h:44
edm::EDGetTokenT< L1MuGMTReadoutCollection > rpctfSource_
Definition: L1TRPCTF.h:87