CMS 3D CMS Logo

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 
49 
50 #include <iostream>
51 #include <fstream>
52 #include <vector>
53 
54 //
55 // class decleration
56 //
57 
58 class L1TRPCTPG : public DQMEDAnalyzer {
59 
60 public:
61 
62 // Constructor
63  L1TRPCTPG(const edm::ParameterSet& ps);
64 
65 // Destructor
66  ~L1TRPCTPG() override;
67 
68 protected:
69 // Analyze
70  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
71 
72 // BeginRun
73  void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const&, edm::EventSetup const&) override;
74  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
75 
76 private:
77  // ----------member data ---------------------------
78 
85 
86  std::map<uint32_t, std::map<std::string, MonitorElement*> > rpctpgmeCollection;
87 
88  int nev_; // Number of events processed
89  std::string outputFile_; //file name for ROOT ouput
90  bool verbose_;
92  std::ofstream logFile_;
97 
98 };
99 
100 #endif
edm::EDGetTokenT< RPCDigiCollection > rpctpgSource_token_
Definition: L1TRPCTPG.h:94
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: L1TRPCTPG.cc:40
std::map< uint32_t, std::map< std::string, MonitorElement * > > rpctpgmeCollection
Definition: L1TRPCTPG.h:86
MonitorElement * m_digiBxCSC
Definition: L1TRPCTPG.h:84
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TRPCTPG.cc:46
L1TRPCTPG(const edm::ParameterSet &ps)
Definition: L1TRPCTPG.cc:13
int nev_
Definition: L1TRPCTPG.h:88
std::string outputFile_
Definition: L1TRPCTPG.h:89
std::ofstream logFile_
Definition: L1TRPCTPG.h:92
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TRPCTPG.cc:79
MonitorElement * rpctpgndigi[3]
Definition: L1TRPCTPG.h:79
bool monitorDaemon_
Definition: L1TRPCTPG.h:91
~L1TRPCTPG() override
Definition: L1TRPCTPG.cc:36
Data Format.
Definition: L1TRPCTPG.h:58
edm::EDGetTokenT< L1MuGMTReadoutCollection > rpctfSource_token_
Definition: L1TRPCTPG.h:96
edm::InputTag rpctpgSource_
Definition: L1TRPCTPG.h:93
MonitorElement * m_digiBxRPCBar
Definition: L1TRPCTPG.h:81
bool verbose_
Definition: L1TRPCTPG.h:90
MonitorElement * m_digiBxRPCEnd
Definition: L1TRPCTPG.h:82
edm::InputTag rpctfSource_
Definition: L1TRPCTPG.h:95
MonitorElement * rpctpgbx
Definition: L1TRPCTPG.h:80
MonitorElement * m_digiBxDT
Definition: L1TRPCTPG.h:83
Definition: Run.h:44