CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GlobalTest.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Class: GlobalTest
4 //
10 //
11 // Original Author: Ursula Berthon
12 // Created: Fri Sep 23 11:38:38 CEST 2005
13 // $Id: GlobalTest.h,v 1.5 2009/12/21 14:46:17 ebecheva Exp $
14 //
15 //
16 
17 
18 // system include files
21 
24 
26 //DQM services for histogram
30 
31 class TFile;
32 class MonitorElement;
33 
34 //
35 // class declaration
36 //
37 
38 class GlobalTest : public edm::EDAnalyzer {
39 public:
40  explicit GlobalTest(const edm::ParameterSet&);
41  ~GlobalTest();
42 
43  void beginJob();
44  void endJob();
45 
46  virtual void analyze(const edm::Event&, const edm::EventSetup&);
47 
48 private:
49  std::string filename_;
50  int minbunch_;
51  int maxbunch_;
52  TFile *histfile_;
53 
54  const static int nMaxH=10;
61 
63 
64  const static int nrHistos=6;
65  char * labels[nrHistos];
66 
67 };
68 
void endJob()
Definition: GlobalTest.cc:116
int maxbunch_
Definition: GlobalTest.h:51
DQMStore * dbe_
Definition: GlobalTest.h:62
MonitorElement * caloEnergyEEH_[nMaxH]
Definition: GlobalTest.h:60
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: GlobalTest.cc:128
char * labels[nrHistos]
Definition: GlobalTest.h:65
int minbunch_
Definition: GlobalTest.h:50
MonitorElement * trackPartIdH_[nMaxH]
Definition: GlobalTest.h:58
std::string filename_
Definition: GlobalTest.h:49
MonitorElement * caloEnergyEBH_[nMaxH]
Definition: GlobalTest.h:59
void beginJob()
Definition: GlobalTest.cc:62
static const int nrHistos
Definition: GlobalTest.h:64
TFile * histfile_
Definition: GlobalTest.h:52
GlobalTest(const edm::ParameterSet &)
Definition: GlobalTest.cc:47
MonitorElement * nrPileupsH_[nMaxH]
Definition: GlobalTest.h:55
MonitorElement * nrTracksH_[nMaxH]
Definition: GlobalTest.h:57
static const int nMaxH
Definition: GlobalTest.h:54
MonitorElement * nrVerticesH_[nMaxH]
Definition: GlobalTest.h:56