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  * \author J. Berryhill
8  *
9 */
10 
11 // system include files
12 #include <memory>
13 #include <unistd.h>
14 
15 // user include files
16 
28 
29 
41 
47 
48 
49 #include <iostream>
50 #include <fstream>
51 #include <vector>
52 
53 //
54 // class decleration
55 //
56 
57 class L1TRPCTPG : public edm::EDAnalyzer {
58 
59 public:
60 
61 // Constructor
62 L1TRPCTPG(const edm::ParameterSet& ps);
63 
64 // Destructor
65 virtual ~L1TRPCTPG();
66 
67 // Booking of MonitoringElemnt for one RPCDetId (= roll)
68 std::map<std::string, MonitorElement*> L1TRPCBookME(RPCDetId & detId);
69 
70 protected:
71 // Analyze
72 void analyze(const edm::Event& e, const edm::EventSetup& c);
73 
74 // BeginJob
75 void beginJob(void);
76 
77 // EndJob
78 void endJob(void);
79 
80 // BeginRun
81 void beginRun(edm::Run const& iRun, edm::EventSetup const& iSetup);
82 
83 private:
84  // ----------member data ---------------------------
86 
89 
91 
93 
95 
97 
98  std::map<uint32_t, std::map<std::string, MonitorElement*> > rpctpgmeCollection;
99 
100  int nev_; // Number of events processed
101  std::string outputFile_; //file name for ROOT ouput
102  bool verbose_;
104  std::ofstream logFile_;
109 
110 };
111 
112 #endif
edm::EDGetTokenT< RPCDigiCollection > rpctpgSource_token_
Definition: L1TRPCTPG.h:106
void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup)
Definition: L1TRPCTPG.cc:60
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TRPCTPG.cc:108
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:98
MonitorElement * m_digiBxCSC
Definition: L1TRPCTPG.h:96
L1TRPCTPG(const edm::ParameterSet &ps)
Definition: L1TRPCTPG.cc:13
int nev_
Definition: L1TRPCTPG.h:100
std::string outputFile_
Definition: L1TRPCTPG.h:101
DQMStore * dbe
Definition: L1TRPCTPG.h:85
virtual ~L1TRPCTPG()
Definition: L1TRPCTPG.cc:51
std::ofstream logFile_
Definition: L1TRPCTPG.h:104
MonitorElement * rpctpgndigi[3]
Definition: L1TRPCTPG.h:87
bool monitorDaemon_
Definition: L1TRPCTPG.h:103
void endJob(void)
Definition: L1TRPCTPG.cc:98
Data Format.
Definition: L1TRPCTPG.h:57
edm::EDGetTokenT< L1MuGMTReadoutCollection > rpctfSource_token_
Definition: L1TRPCTPG.h:108
edm::InputTag rpctpgSource_
Definition: L1TRPCTPG.h:105
MonitorElement * m_digiBxRPCBar
Definition: L1TRPCTPG.h:90
bool verbose_
Definition: L1TRPCTPG.h:102
MonitorElement * m_digiBxRPCEnd
Definition: L1TRPCTPG.h:92
edm::InputTag rpctfSource_
Definition: L1TRPCTPG.h:107
MonitorElement * rpctpgbx
Definition: L1TRPCTPG.h:88
void beginJob(void)
Definition: L1TRPCTPG.cc:55
MonitorElement * m_digiBxDT
Definition: L1TRPCTPG.h:94
Definition: Run.h:41