test
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 
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  virtual ~L1TRPCTPG();
67 
68 protected:
69 // Analyze
70  void analyze(const edm::Event& e, const edm::EventSetup& c);
71 
72 // BeginRun
73  virtual void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const&, edm::EventSetup const&) override;
74  virtual void dqmBeginRun(edm::Run const&, edm::EventSetup const&);
75  virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
76 
77 private:
78  // ----------member data ---------------------------
79 
88 
89  std::map<uint32_t, std::map<std::string, MonitorElement*> > rpctpgmeCollection;
90 
91  int nev_; // Number of events processed
92  std::string outputFile_; //file name for ROOT ouput
93  bool verbose_;
95  std::ofstream logFile_;
100 
101 };
102 
103 #endif
edm::EDGetTokenT< RPCDigiCollection > rpctpgSource_token_
Definition: L1TRPCTPG.h:97
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TRPCTPG.cc:86
std::map< uint32_t, std::map< std::string, MonitorElement * > > rpctpgmeCollection
Definition: L1TRPCTPG.h:89
MonitorElement * m_digiBxCSC
Definition: L1TRPCTPG.h:85
virtual void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TRPCTPG.cc:51
L1TRPCTPG(const edm::ParameterSet &ps)
Definition: L1TRPCTPG.cc:13
int nev_
Definition: L1TRPCTPG.h:91
std::string outputFile_
Definition: L1TRPCTPG.h:92
virtual ~L1TRPCTPG()
Definition: L1TRPCTPG.cc:36
MonitorElement * runId_
Definition: L1TRPCTPG.h:86
std::ofstream logFile_
Definition: L1TRPCTPG.h:95
MonitorElement * rpctpgndigi[3]
Definition: L1TRPCTPG.h:80
bool monitorDaemon_
Definition: L1TRPCTPG.h:94
virtual void dqmBeginRun(edm::Run const &, edm::EventSetup const &)
Definition: L1TRPCTPG.cc:40
Data Format.
Definition: L1TRPCTPG.h:58
edm::EDGetTokenT< L1MuGMTReadoutCollection > rpctfSource_token_
Definition: L1TRPCTPG.h:99
edm::InputTag rpctpgSource_
Definition: L1TRPCTPG.h:96
MonitorElement * m_digiBxRPCBar
Definition: L1TRPCTPG.h:82
bool verbose_
Definition: L1TRPCTPG.h:93
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: L1TRPCTPG.cc:45
MonitorElement * m_digiBxRPCEnd
Definition: L1TRPCTPG.h:83
MonitorElement * lumisecId_
Definition: L1TRPCTPG.h:87
edm::InputTag rpctfSource_
Definition: L1TRPCTPG.h:98
MonitorElement * rpctpgbx
Definition: L1TRPCTPG.h:81
MonitorElement * m_digiBxDT
Definition: L1TRPCTPG.h:84
Definition: Run.h:43