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