CMS 3D CMS Logo

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