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: 2009/10/19 12:30:19 $
8  * $Revision: 1.20 $
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 
36 #include <iostream>
37 #include <fstream>
38 #include <vector>
39 #include <set>
40 
41 //
42 // class decleration
43 //
44 
45 class L1TRPCTF : public edm::EDAnalyzer {
46 
47 public:
48 
49 // Constructor
50 L1TRPCTF(const edm::ParameterSet& ps);
51 
52 // Destructor
53 virtual ~L1TRPCTF();
54 
55 protected:
56 // Analyze
57 void analyze(const edm::Event& e, const edm::EventSetup& c);
58 
59 // BeginJob
60 void beginJob(void);
61 
62 // EndJob
63 void endJob(void);
64 
65 void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
66  const edm::EventSetup& context);
67 void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
68  const edm::EventSetup& c);
69 
70 void endRun(const edm::Run & r, const edm::EventSetup & c);
71 
72 
73 private:
74  void fillRateHistos(int orbit, bool flush=false);
75 
76 
77  // ----------member data ---------------------------
79 
90  //MonitorElement* m_phipacked;
91 
97  std::set<unsigned long long int> m_globBX;
98 
99 
101 
102 
104 
105  int nev_; // Number of events processed
106  int nevRPC_; // Number of events processed where muon was found by rpc trigger
107  std::string outputFile_; //file name for ROOT ouput
108  bool verbose_;
110  //bool m_rpcDigiFine;
111  //bool m_useRpcDigi;
112 
116  long long int m_lastUsedBxInBxdiff;
117  std::string output_dir_;
118  struct BxDelays { int bx, eta_t, phi_p; };
119 
120 
121 };
122 
123 #endif
std::set< unsigned long long int > m_globBX
Definition: L1TRPCTF.h:97
MonitorElement * rpctfcratesynchro[12]
Definition: L1TRPCTF.h:96
int m_rateNoOfBins
Definition: L1TRPCTF.h:115
MonitorElement * rpctfchargevalue[3]
Definition: L1TRPCTF.h:83
MonitorElement * rpctfetavalue[3]
Definition: L1TRPCTF.h:80
void fillRateHistos(int orbit, bool flush=false)
Definition: L1TRPCTF.cc:442
MonitorElement * rpctfptvalue[3]
Definition: L1TRPCTF.h:82
void endJob(void)
Definition: L1TRPCTF.cc:279
MonitorElement * m_rateAvg
Definition: L1TRPCTF.h:92
int m_rateUpdateTime
Definition: L1TRPCTF.h:113
virtual ~L1TRPCTF()
Definition: L1TRPCTF.cc:68
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:291
std::string outputFile_
Definition: L1TRPCTF.h:107
L1TRateHelper::L1TRateHelper m_rateHelper
Definition: L1TRPCTF.h:100
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
Definition: L1TRPCTF.cc:506
MonitorElement * rpctfquality[3]
Definition: L1TRPCTF.h:84
MonitorElement * rpctfphivalue[3]
Definition: L1TRPCTF.h:81
int nev_
Definition: L1TRPCTF.h:105
MonitorElement * m_rateMax
Definition: L1TRPCTF.h:94
void endRun(const edm::Run &r, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:261
MonitorElement * m_bxDiff
Definition: L1TRPCTF.h:95
MonitorElement * m_muonsEtaPhi[3]
Definition: L1TRPCTF.h:89
MonitorElement * m_qualVsEta[3]
Definition: L1TRPCTF.h:88
std::string output_dir_
Definition: L1TRPCTF.h:117
int m_rateBinSize
Definition: L1TRPCTF.h:114
L1TRPCTF(const edm::ParameterSet &ps)
Definition: L1TRPCTF.cc:21
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
Definition: L1TRPCTF.cc:518
long long int m_lastUsedBxInBxdiff
Definition: L1TRPCTF.h:116
MonitorElement * rpctfntrack_e[3]
Definition: L1TRPCTF.h:86
edm::InputTag rpctfSource_
Definition: L1TRPCTF.h:103
MonitorElement * m_rateMin
Definition: L1TRPCTF.h:93
MonitorElement * rpctfbx
Definition: L1TRPCTF.h:87
MonitorElement * rpctfntrack_b[3]
Definition: L1TRPCTF.h:85
int nevRPC_
Definition: L1TRPCTF.h:106
bool verbose_
Definition: L1TRPCTF.h:108
void beginJob(void)
Definition: L1TRPCTF.cc:72
bool monitorDaemon_
Definition: L1TRPCTF.h:109
Definition: Run.h:32
DQMStore * m_dbe
Definition: L1TRPCTF.h:78