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.6 2012/10/10 14:39:02 wdd Exp $
14 //
15 //
16 
17 
18 // system include files
21 
24 
27 
28 //DQM services for histogram
32 
33 class TFile;
34 class MonitorElement;
35 
36 //
37 // class declaration
38 //
39 
40 class GlobalTest : public edm::EDAnalyzer {
41 public:
42  explicit GlobalTest(const edm::ParameterSet&);
43  ~GlobalTest();
44 
45  void beginJob();
46  void endJob();
47 
48  virtual void analyze(const edm::Event&, const edm::EventSetup&);
49 
50 private:
52  int minbunch_;
53  int maxbunch_;
54  TFile *histfile_;
55 
56  const static int nMaxH=10;
63 
65 
66  const static int nrHistos=6;
67  char * labels[nrHistos];
68 
71 };
72 
void endJob()
Definition: GlobalTest.cc:118
int maxbunch_
Definition: GlobalTest.h:53
DQMStore * dbe_
Definition: GlobalTest.h:64
MonitorElement * caloEnergyEEH_[nMaxH]
Definition: GlobalTest.h:62
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: GlobalTest.cc:130
char * labels[nrHistos]
Definition: GlobalTest.h:67
int minbunch_
Definition: GlobalTest.h:52
MonitorElement * trackPartIdH_[nMaxH]
Definition: GlobalTest.h:60
std::string filename_
Definition: GlobalTest.h:51
MonitorElement * caloEnergyEBH_[nMaxH]
Definition: GlobalTest.h:61
void beginJob()
Definition: GlobalTest.cc:64
static const int nrHistos
Definition: GlobalTest.h:66
TFile * histfile_
Definition: GlobalTest.h:54
GlobalTest(const edm::ParameterSet &)
Definition: GlobalTest.cc:47
MonitorElement * nrPileupsH_[nMaxH]
Definition: GlobalTest.h:57
MonitorElement * nrTracksH_[nMaxH]
Definition: GlobalTest.h:59
static const int nMaxH
Definition: GlobalTest.h:56
MonitorElement * nrVerticesH_[nMaxH]
Definition: GlobalTest.h:58
edm::InputTag cfVertexTag_
Definition: GlobalTest.h:70
edm::InputTag cfTrackTag_
Definition: GlobalTest.h:69