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  * $Date: 2011/06/02 09:32:54 $
8  * $Revision: 1.22 $
9  * \author J. Berryhill
10  *
11 */
12 
13 // system include files
14 #include <memory>
15 #include <unistd.h>
16 
17 // user include files
20 
23 
25 
30 
35 #include <iostream>
36 #include <fstream>
37 #include <vector>
38 #include <set>
39 
40 //
41 // class decleration
42 //
43 
44 class L1TRPCTF : public edm::EDAnalyzer {
45 
46 public:
47 
48 // Constructor
49 L1TRPCTF(const edm::ParameterSet& ps);
50 
51 // Destructor
52 virtual ~L1TRPCTF();
53 
54 protected:
55 // Analyze
56 void analyze(const edm::Event& e, const edm::EventSetup& c);
57 
58 // BeginJob
59 void beginJob(void);
60 
61 // EndJob
62 void endJob(void);
63 
64 void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
65  const edm::EventSetup& context);
66 void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
67  const edm::EventSetup& c);
68 
69 void endRun(const edm::Run & r, const edm::EventSetup & c);
70 
71 
72 private:
73 
74 
75  // ----------member data ---------------------------
77 
88  //MonitorElement* m_phipacked;
89 
92  std::set<unsigned long long int> m_globBX;
93 
94 
95 
96 
98 
99  int nev_; // Number of events processed
100  int nevRPC_; // Number of events processed where muon was found by rpc trigger
101  std::string outputFile_; //file name for ROOT ouput
102  bool verbose_;
104  //bool m_rpcDigiFine;
105  //bool m_useRpcDigi;
106 
107  long long int m_lastUsedBxInBxdiff;
108  std::string output_dir_;
109  struct BxDelays { int bx, eta_t, phi_p; };
110 
111 
112 };
113 
114 #endif
std::set< unsigned long long int > m_globBX
Definition: L1TRPCTF.h:92
MonitorElement * rpctfcratesynchro[12]
Definition: L1TRPCTF.h:91
MonitorElement * rpctfchargevalue[3]
Definition: L1TRPCTF.h:81
MonitorElement * rpctfetavalue[3]
Definition: L1TRPCTF.h:78
MonitorElement * rpctfptvalue[3]
Definition: L1TRPCTF.h:80
void endJob(void)
Definition: L1TRPCTF.cc:266
virtual ~L1TRPCTF()
Definition: L1TRPCTF.cc:65
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:278
std::string outputFile_
Definition: L1TRPCTF.h:101
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
Definition: L1TRPCTF.cc:405
MonitorElement * rpctfquality[3]
Definition: L1TRPCTF.h:82
MonitorElement * rpctfphivalue[3]
Definition: L1TRPCTF.h:79
int nev_
Definition: L1TRPCTF.h:99
void endRun(const edm::Run &r, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:249
MonitorElement * m_bxDiff
Definition: L1TRPCTF.h:90
MonitorElement * m_muonsEtaPhi[3]
Definition: L1TRPCTF.h:87
MonitorElement * m_qualVsEta[3]
Definition: L1TRPCTF.h:86
std::string output_dir_
Definition: L1TRPCTF.h:108
L1TRPCTF(const edm::ParameterSet &ps)
Definition: L1TRPCTF.cc:21
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:417
long long int m_lastUsedBxInBxdiff
Definition: L1TRPCTF.h:107
MonitorElement * rpctfntrack_e[3]
Definition: L1TRPCTF.h:84
edm::InputTag rpctfSource_
Definition: L1TRPCTF.h:97
MonitorElement * rpctfbx
Definition: L1TRPCTF.h:85
MonitorElement * rpctfntrack_b[3]
Definition: L1TRPCTF.h:83
int nevRPC_
Definition: L1TRPCTF.h:100
bool verbose_
Definition: L1TRPCTF.h:102
void beginJob(void)
Definition: L1TRPCTF.cc:69
bool monitorDaemon_
Definition: L1TRPCTF.h:103
Definition: Run.h:33
DQMStore * m_dbe
Definition: L1TRPCTF.h:76