CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TECALTPG.h
Go to the documentation of this file.
1 // -*-C++-*-
2 #ifndef L1TECALTPG_H
3 #define L1TECALTPG_H
4 
5 /*
6  * \file L1TECALTPG.h
7  *
8  * $Date: 2008/03/18 20:31:19 $
9  * $Revision: 1.7 $
10  * \author J. Berryhill
11  *
12  * $Log: L1TECALTPG.h,v $
13  * Revision 1.7 2008/03/18 20:31:19 berryhil
14  *
15  *
16  * update of ecal tpg dqm
17  *
18  * Revision 1.6 2008/03/01 00:40:00 lat
19  * DQM core migration.
20  *
21  * Revision 1.5 2007/08/29 14:02:45 wittich
22  * split into barrel and endcap
23  *
24  * Revision 1.4 2007/02/22 19:43:52 berryhil
25  *
26  *
27  *
28  * InputTag parameters added for all modules
29  *
30  * Revision 1.3 2007/02/20 22:48:59 wittich
31  * - change from getByType to getByLabel in ECAL TPG,
32  * and make it configurable.
33  * - fix problem in the GCT with incorrect labels. Not the ultimate
34  * solution - will probably have to go to many labels.
35  *
36  * Revision 1.2 2007/02/19 22:07:26 wittich
37  * - Added three monitorables to the ECAL TPG monitoring (from GCTMonitor)
38  * - other minor tweaks in GCT, etc
39  *
40  */
41 
42 // system include files
43 #include <memory>
44 #include <unistd.h>
45 
46 // user include files
49 
52 
54 
59 
60 #include <iostream>
61 #include <fstream>
62 #include <vector>
63 
64 
65 //
66 // class declaration
67 //
68 
70 
71 public:
72 
73  // Constructor
74  L1TECALTPG(const edm::ParameterSet & ps);
75 
76  // Destructor
77  virtual ~ L1TECALTPG();
78 
79 protected:
80  // Analyze
81  void analyze(const edm::Event & e, const edm::EventSetup & c);
82 
83  // BeginJob
84  void beginJob(void);
85 
86  // EndJob
87  void endJob(void);
88 
89 private:
90  // ----------member data ---------------------------
92 
93  // what we monitor
97 
101 
102  int nev_; // Number of events processed
103  std::string outputFile_; //file name for ROOT ouput
104  bool verbose_;
105  bool enableEE_;
107  ofstream logFile_;
108 
111 
112 };
113 
114 #endif
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TECALTPG.cc:193
MonitorElement * ecalTpEtEtaPhiB_
Definition: L1TECALTPG.h:94
MonitorElement * ecalTpEtEtaPhiE_
Definition: L1TECALTPG.h:98
L1TECALTPG(const edm::ParameterSet &ps)
Definition: L1TECALTPG.cc:94
bool verbose_
Definition: L1TECALTPG.h:104
edm::InputTag ecaltpgSourceB_
Definition: L1TECALTPG.h:109
MonitorElement * ecalTpRankE_
Definition: L1TECALTPG.h:100
bool enableEE_
Definition: L1TECALTPG.h:105
void beginJob(void)
Definition: L1TECALTPG.cc:140
void endJob(void)
Definition: L1TECALTPG.cc:181
MonitorElement * ecalTpRankB_
Definition: L1TECALTPG.h:96
MonitorElement * ecalTpOccEtaPhiB_
Definition: L1TECALTPG.h:95
bool monitorDaemon_
Definition: L1TECALTPG.h:106
DQMStore * dbe
Definition: L1TECALTPG.h:91
std::string outputFile_
Definition: L1TECALTPG.h:103
MonitorElement * ecalTpOccEtaPhiE_
Definition: L1TECALTPG.h:99
virtual ~L1TECALTPG()
Definition: L1TECALTPG.cc:136
edm::InputTag ecaltpgSourceE_
Definition: L1TECALTPG.h:110
ofstream logFile_
Definition: L1TECALTPG.h:107