CMS 3D CMS Logo

L1TCSCTPG.h
Go to the documentation of this file.
1 #ifndef L1TCSCTPG_H
2 #define L1TCSCTPG_H
3 
4 /*
5  * \file L1TCSCTPG.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
18 
21 
23 
28 
31 
33 
34 #include <iostream>
35 #include <fstream>
36 #include <vector>
37 
38 //
39 // class decleration
40 //
41 
42 class L1TCSCTPG : public DQMEDAnalyzer {
43 
44 public:
45 
46 // Constructor
47 L1TCSCTPG(const edm::ParameterSet& ps);
48 
49 // Destructor
50 ~L1TCSCTPG() override;
51 
52 protected:
53 // Analyze
54  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
55  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
56  void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const&, edm::EventSetup const&) override ;
57 
58 private:
59  // ----------member data ---------------------------
60 
68 
69  int nev_; // Number of events processed
70  std::string outputFile_; //file name for ROOT ouput
71  bool verbose_;
73  std::ofstream logFile_;
76 };
77 
78 #endif
MonitorElement * csctpgwg
Definition: L1TCSCTPG.h:63
L1TCSCTPG(const edm::ParameterSet &ps)
Definition: L1TCSCTPG.cc:13
MonitorElement * csctpgstrip
Definition: L1TCSCTPG.h:64
~L1TCSCTPG() override
Definition: L1TCSCTPG.cc:34
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: L1TCSCTPG.cc:58
edm::InputTag csctpgSource_
Definition: L1TCSCTPG.h:74
MonitorElement * csctpgbend
Definition: L1TCSCTPG.h:66
bool monitorDaemon_
Definition: L1TCSCTPG.h:72
MonitorElement * csctpgbx
Definition: L1TCSCTPG.h:67
int nev_
Definition: L1TCSCTPG.h:69
MonitorElement * csctpgquality
Definition: L1TCSCTPG.h:62
std::ofstream logFile_
Definition: L1TCSCTPG.h:73
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TCSCTPG.cc:62
bool verbose_
Definition: L1TCSCTPG.h:71
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TCSCTPG.cc:37
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > csctpgSource_token_
Definition: L1TCSCTPG.h:75
MonitorElement * csctpgstriptype
Definition: L1TCSCTPG.h:65
std::string outputFile_
Definition: L1TCSCTPG.h:70
MonitorElement * csctpgpattern
Definition: L1TCSCTPG.h:61
Definition: Run.h:44