CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 virtual ~L1TCSCTPG();
51 
52 protected:
53 // Analyze
54  void analyze(const edm::Event& e, const edm::EventSetup& c);
55  virtual void dqmBeginRun(const edm::Run&, const edm::EventSetup&);
56  virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
57  virtual void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const&, edm::EventSetup const&) override ;
58 
59 private:
60  // ----------member data ---------------------------
61 
69 
70  int nev_; // Number of events processed
71  std::string outputFile_; //file name for ROOT ouput
72  bool verbose_;
74  std::ofstream logFile_;
77 };
78 
79 #endif
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
Definition: L1TCSCTPG.cc:61
virtual void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
Definition: L1TCSCTPG.cc:58
MonitorElement * csctpgwg
Definition: L1TCSCTPG.h:64
L1TCSCTPG(const edm::ParameterSet &ps)
Definition: L1TCSCTPG.cc:13
MonitorElement * csctpgstrip
Definition: L1TCSCTPG.h:65
edm::InputTag csctpgSource_
Definition: L1TCSCTPG.h:75
MonitorElement * csctpgbend
Definition: L1TCSCTPG.h:67
bool monitorDaemon_
Definition: L1TCSCTPG.h:73
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TCSCTPG.cc:64
MonitorElement * csctpgbx
Definition: L1TCSCTPG.h:68
int nev_
Definition: L1TCSCTPG.h:70
virtual ~L1TCSCTPG()
Definition: L1TCSCTPG.cc:34
MonitorElement * csctpgquality
Definition: L1TCSCTPG.h:63
std::ofstream logFile_
Definition: L1TCSCTPG.h:74
bool verbose_
Definition: L1TCSCTPG.h:72
virtual void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TCSCTPG.cc:37
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > csctpgSource_token_
Definition: L1TCSCTPG.h:76
MonitorElement * csctpgstriptype
Definition: L1TCSCTPG.h:66
std::string outputFile_
Definition: L1TCSCTPG.h:71
MonitorElement * csctpgpattern
Definition: L1TCSCTPG.h:62
Definition: Run.h:43