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 //
14 //
15 
16 
17 // system include files
20 
23 
26 
30 
33 
34 //DQM services for histogram
38 
39 class TFile;
40 class MonitorElement;
41 
42 //
43 // class declaration
44 //
45 
46 class GlobalTest : public edm::EDAnalyzer {
47  public:
48  explicit GlobalTest(const edm::ParameterSet&);
49  ~GlobalTest();
50 
51  void beginJob();
52  void endJob();
53 
54  virtual void analyze(const edm::Event&, const edm::EventSetup&);
55 
56  private:
58  int minbunch_;
59  int maxbunch_;
60  TFile *histfile_;
61 
62  const static int nMaxH=10;
69 
71 
72  const static int nrHistos=6;
73  char * labels[nrHistos];
74 
79 };
80 
void endJob()
Definition: GlobalTest.cc:123
int maxbunch_
Definition: GlobalTest.h:59
DQMStore * dbe_
Definition: GlobalTest.h:70
MonitorElement * caloEnergyEEH_[nMaxH]
Definition: GlobalTest.h:68
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: GlobalTest.cc:135
char * labels[nrHistos]
Definition: GlobalTest.h:73
int minbunch_
Definition: GlobalTest.h:58
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EE_Token_
Definition: GlobalTest.h:78
MonitorElement * trackPartIdH_[nMaxH]
Definition: GlobalTest.h:66
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfTrackToken_
Definition: GlobalTest.h:75
std::string filename_
Definition: GlobalTest.h:57
MonitorElement * caloEnergyEBH_[nMaxH]
Definition: GlobalTest.h:67
void beginJob()
Definition: GlobalTest.cc:69
static const int nrHistos
Definition: GlobalTest.h:72
TFile * histfile_
Definition: GlobalTest.h:60
GlobalTest(const edm::ParameterSet &)
Definition: GlobalTest.cc:40
MonitorElement * nrPileupsH_[nMaxH]
Definition: GlobalTest.h:63
MonitorElement * nrTracksH_[nMaxH]
Definition: GlobalTest.h:65
static const int nMaxH
Definition: GlobalTest.h:62
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfVertexToken_
Definition: GlobalTest.h:76
MonitorElement * nrVerticesH_[nMaxH]
Definition: GlobalTest.h:64
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EB_Token_
Definition: GlobalTest.h:77