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 
86 
87  std::map<uint32_t, std::map<std::string, MonitorElement*> > rpctpgmeCollection;
88 
89  int nev_; // Number of events processed
90  std::string outputFile_; //file name for ROOT ouput
91  bool verbose_;
93  std::ofstream logFile_;
98 
99 };
100 
101 #endif
edm::EDGetTokenT< RPCDigiCollection > rpctpgSource_token_
Definition: L1TRPCTPG.h:95
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TRPCTPG.cc:82
std::map< uint32_t, std::map< std::string, MonitorElement * > > rpctpgmeCollection
Definition: L1TRPCTPG.h:87
MonitorElement * m_digiBxCSC
Definition: L1TRPCTPG.h:85
virtual void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TRPCTPG.cc:49
L1TRPCTPG(const edm::ParameterSet &ps)
Definition: L1TRPCTPG.cc:13
int nev_
Definition: L1TRPCTPG.h:89
std::string outputFile_
Definition: L1TRPCTPG.h:90
virtual ~L1TRPCTPG()
Definition: L1TRPCTPG.cc:36
std::ofstream logFile_
Definition: L1TRPCTPG.h:93
MonitorElement * rpctpgndigi[3]
Definition: L1TRPCTPG.h:80
bool monitorDaemon_
Definition: L1TRPCTPG.h:92
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:97
edm::InputTag rpctpgSource_
Definition: L1TRPCTPG.h:94
MonitorElement * m_digiBxRPCBar
Definition: L1TRPCTPG.h:82
bool verbose_
Definition: L1TRPCTPG.h:91
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: L1TRPCTPG.cc:44
MonitorElement * m_digiBxRPCEnd
Definition: L1TRPCTPG.h:83
edm::InputTag rpctfSource_
Definition: L1TRPCTPG.h:96
MonitorElement * rpctpgbx
Definition: L1TRPCTPG.h:81
MonitorElement * m_digiBxDT
Definition: L1TRPCTPG.h:84
Definition: Run.h:43