test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~L1TRPCTF();
52 
53 protected:
54 // Analyze
55  void analyze(const edm::Event& e, const edm::EventSetup& c);
56 
57 // BeginJob
58  virtual void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run&, const edm::EventSetup&) override;
59  virtual void dqmBeginRun(const edm::Run&, const edm::EventSetup&);
60 
61  virtual void beginLuminosityBlock(const edm::LuminosityBlock& l, const edm::EventSetup& c);
63 
64 
65 private:
66 
67 
68  // ----------member data ---------------------------
69 
80  //MonitorElement* m_phipacked;
81 
84 
85 
86  std::set<unsigned long long int> m_globBX;
87 
89 
90  int nev_; // Number of events processed
91  int nevRPC_; // Number of events processed where muon was found by rpc trigger
92  std::string outputFile_; //file name for ROOT ouput
93  bool verbose_;
95  //bool m_rpcDigiFine;
96  //bool m_useRpcDigi;
97 
98  long long int m_lastUsedBxInBxdiff;
100  struct BxDelays { int bx, eta_t, phi_p; };
101 
102 
103 };
104 
105 #endif
std::set< unsigned long long int > m_globBX
Definition: L1TRPCTF.h:86
MonitorElement * rpctfcratesynchro[12]
Definition: L1TRPCTF.h:83
MonitorElement * rpctfchargevalue[3]
Definition: L1TRPCTF.h:73
MonitorElement * rpctfetavalue[3]
Definition: L1TRPCTF.h:70
MonitorElement * rpctfptvalue[3]
Definition: L1TRPCTF.h:72
void endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:361
virtual void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override
Definition: L1TRPCTF.cc:52
virtual ~L1TRPCTF()
Definition: L1TRPCTF.cc:48
virtual void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
Definition: L1TRPCTF.cc:366
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:216
std::string outputFile_
Definition: L1TRPCTF.h:92
virtual void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:350
MonitorElement * rpctfquality[3]
Definition: L1TRPCTF.h:74
MonitorElement * rpctfphivalue[3]
Definition: L1TRPCTF.h:71
int nev_
Definition: L1TRPCTF.h:90
MonitorElement * m_bxDiff
Definition: L1TRPCTF.h:82
MonitorElement * m_muonsEtaPhi[3]
Definition: L1TRPCTF.h:79
MonitorElement * m_qualVsEta[3]
Definition: L1TRPCTF.h:78
std::string output_dir_
Definition: L1TRPCTF.h:99
L1TRPCTF(const edm::ParameterSet &ps)
Definition: L1TRPCTF.cc:18
long long int m_lastUsedBxInBxdiff
Definition: L1TRPCTF.h:98
MonitorElement * rpctfntrack_e[3]
Definition: L1TRPCTF.h:76
MonitorElement * rpctfbx
Definition: L1TRPCTF.h:77
MonitorElement * rpctfntrack_b[3]
Definition: L1TRPCTF.h:75
int nevRPC_
Definition: L1TRPCTF.h:91
bool verbose_
Definition: L1TRPCTF.h:93
bool monitorDaemon_
Definition: L1TRPCTF.h:94
Definition: Run.h:43
edm::EDGetTokenT< L1MuGMTReadoutCollection > rpctfSource_
Definition: L1TRPCTF.h:88