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