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 
38 //
39 // class decleration
40 //
41 
42 class L1TRPCTF : public edm::EDAnalyzer {
43 
44 public:
45 
46 // Constructor
47 L1TRPCTF(const edm::ParameterSet& ps);
48 
49 // Destructor
50 virtual ~L1TRPCTF();
51 
52 protected:
53 // Analyze
54 void analyze(const edm::Event& e, const edm::EventSetup& c);
55 
56 // BeginJob
57 void beginJob(void);
58 
59 // EndJob
60 void endJob(void);
61 
62 void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
63  const edm::EventSetup& context);
64 void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
65  const edm::EventSetup& c);
66 
67 void endRun(const edm::Run & r, const edm::EventSetup & c);
68 
69 
70 private:
71 
72 
73  // ----------member data ---------------------------
75 
86  //MonitorElement* m_phipacked;
87 
90  std::set<unsigned long long int> m_globBX;
91 
92 
93 
94 
96 
97  int nev_; // Number of events processed
98  int nevRPC_; // Number of events processed where muon was found by rpc trigger
99  std::string outputFile_; //file name for ROOT ouput
100  bool verbose_;
102  //bool m_rpcDigiFine;
103  //bool m_useRpcDigi;
104 
105  long long int m_lastUsedBxInBxdiff;
107  struct BxDelays { int bx, eta_t, phi_p; };
108 
109 
110 };
111 
112 #endif
std::set< unsigned long long int > m_globBX
Definition: L1TRPCTF.h:90
MonitorElement * rpctfcratesynchro[12]
Definition: L1TRPCTF.h:89
MonitorElement * rpctfchargevalue[3]
Definition: L1TRPCTF.h:79
MonitorElement * rpctfetavalue[3]
Definition: L1TRPCTF.h:76
MonitorElement * rpctfptvalue[3]
Definition: L1TRPCTF.h:78
void endJob(void)
Definition: L1TRPCTF.cc:263
virtual ~L1TRPCTF()
Definition: L1TRPCTF.cc:62
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:275
std::string outputFile_
Definition: L1TRPCTF.h:99
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
Definition: L1TRPCTF.cc:401
MonitorElement * rpctfquality[3]
Definition: L1TRPCTF.h:80
MonitorElement * rpctfphivalue[3]
Definition: L1TRPCTF.h:77
int nev_
Definition: L1TRPCTF.h:97
void endRun(const edm::Run &r, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:246
MonitorElement * m_bxDiff
Definition: L1TRPCTF.h:88
MonitorElement * m_muonsEtaPhi[3]
Definition: L1TRPCTF.h:85
MonitorElement * m_qualVsEta[3]
Definition: L1TRPCTF.h:84
std::string output_dir_
Definition: L1TRPCTF.h:106
L1TRPCTF(const edm::ParameterSet &ps)
Definition: L1TRPCTF.cc:18
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:413
long long int m_lastUsedBxInBxdiff
Definition: L1TRPCTF.h:105
MonitorElement * rpctfntrack_e[3]
Definition: L1TRPCTF.h:82
MonitorElement * rpctfbx
Definition: L1TRPCTF.h:83
MonitorElement * rpctfntrack_b[3]
Definition: L1TRPCTF.h:81
int nevRPC_
Definition: L1TRPCTF.h:98
bool verbose_
Definition: L1TRPCTF.h:100
void beginJob(void)
Definition: L1TRPCTF.cc:66
bool monitorDaemon_
Definition: L1TRPCTF.h:101
Definition: Run.h:41
edm::EDGetTokenT< L1MuGMTReadoutCollection > rpctfSource_
Definition: L1TRPCTF.h:95
DQMStore * m_dbe
Definition: L1TRPCTF.h:74