CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TRPCTPG.h
Go to the documentation of this file.
1 #ifndef L1TRPCTPG_H
2 #define L1TRPCTPG_H
3 
4 /*
5  * \file L1TRPCTPG.h
6  *
7  * $Date: 2009/11/19 14:34:40 $
8  * $Revision: 1.7 $
9  * \author J. Berryhill
10  *
11 */
12 
13 // system include files
14 #include <memory>
15 #include <unistd.h>
16 
17 // user include files
18 
30 
31 
39 
45 
46 
47 #include <iostream>
48 #include <fstream>
49 #include <vector>
50 
51 //
52 // class decleration
53 //
54 
55 class L1TRPCTPG : public edm::EDAnalyzer {
56 
57 public:
58 
59 // Constructor
60 L1TRPCTPG(const edm::ParameterSet& ps);
61 
62 // Destructor
63 virtual ~L1TRPCTPG();
64 
65 // Booking of MonitoringElemnt for one RPCDetId (= roll)
66 std::map<std::string, MonitorElement*> L1TRPCBookME(RPCDetId & detId);
67 
68 protected:
69 // Analyze
70 void analyze(const edm::Event& e, const edm::EventSetup& c);
71 
72 // BeginJob
73 void beginJob(void);
74 
75 // EndJob
76 void endJob(void);
77 
78 private:
79  // ----------member data ---------------------------
81 
84 
86 
88 
90 
92 
93  std::map<uint32_t, std::map<std::string, MonitorElement*> > rpctpgmeCollection;
94 
95  int nev_; // Number of events processed
96  std::string outputFile_; //file name for ROOT ouput
97  bool verbose_;
99  ofstream logFile_;
102 
103 };
104 
105 #endif
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TRPCTPG.cc:117
std::map< std::string, MonitorElement * > L1TRPCBookME(RPCDetId &detId)
Booking of MonitoringElemnt for one RPCDetId (= roll)
Definition: L1TRPCBookME.cc:23
std::map< uint32_t, std::map< std::string, MonitorElement * > > rpctpgmeCollection
Definition: L1TRPCTPG.h:93
MonitorElement * m_digiBxCSC
Definition: L1TRPCTPG.h:91
L1TRPCTPG(const edm::ParameterSet &ps)
Definition: L1TRPCTPG.cc:22
int nev_
Definition: L1TRPCTPG.h:95
std::string outputFile_
Definition: L1TRPCTPG.h:96
DQMStore * dbe
Definition: L1TRPCTPG.h:80
virtual ~L1TRPCTPG()
Definition: L1TRPCTPG.cc:58
MonitorElement * rpctpgndigi[3]
Definition: L1TRPCTPG.h:82
bool monitorDaemon_
Definition: L1TRPCTPG.h:98
void endJob(void)
Definition: L1TRPCTPG.cc:107
Data Format.
Definition: L1TRPCTPG.h:55
edm::InputTag rpctpgSource_
Definition: L1TRPCTPG.h:100
ofstream logFile_
Definition: L1TRPCTPG.h:99
MonitorElement * m_digiBxRPCBar
Definition: L1TRPCTPG.h:85
bool verbose_
Definition: L1TRPCTPG.h:97
MonitorElement * m_digiBxRPCEnd
Definition: L1TRPCTPG.h:87
edm::InputTag rpctfSource_
Definition: L1TRPCTPG.h:101
MonitorElement * rpctpgbx
Definition: L1TRPCTPG.h:83
void beginJob(void)
Definition: L1TRPCTPG.cc:62
MonitorElement * m_digiBxDT
Definition: L1TRPCTPG.h:89