CMS 3D CMS Logo

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 // system include files
18 
21 
24 
28 
31 
32 // DQM services for histogram
36 
37 class TFile;
38 
39 //
40 // class declaration
41 //
42 
43 class GlobalTest : public DQMEDAnalyzer {
44 public:
45  explicit GlobalTest(const edm::ParameterSet &);
46  ~GlobalTest() override;
47 
48  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
49  void analyze(const edm::Event &, const edm::EventSetup &) override;
50 
51 private:
53  int minbunch_;
54  int maxbunch_;
55  TFile *histfile_;
56 
57  const static int nMaxH = 10;
64 
65  const static int nrHistos = 6;
66  char *labels[nrHistos];
67 
72 };
int maxbunch_
Definition: GlobalTest.h:54
MonitorElement * caloEnergyEEH_[nMaxH]
Definition: GlobalTest.h:63
char * labels[nrHistos]
Definition: GlobalTest.h:66
int minbunch_
Definition: GlobalTest.h:53
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EE_Token_
Definition: GlobalTest.h:71
MonitorElement * trackPartIdH_[nMaxH]
Definition: GlobalTest.h:61
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfTrackToken_
Definition: GlobalTest.h:68
std::string filename_
Definition: GlobalTest.h:52
MonitorElement * caloEnergyEBH_[nMaxH]
Definition: GlobalTest.h:62
static const int nrHistos
Definition: GlobalTest.h:65
TFile * histfile_
Definition: GlobalTest.h:55
GlobalTest(const edm::ParameterSet &)
Definition: GlobalTest.cc:38
~GlobalTest() override
Definition: GlobalTest.cc:53
MonitorElement * nrPileupsH_[nMaxH]
Definition: GlobalTest.h:58
MonitorElement * nrTracksH_[nMaxH]
Definition: GlobalTest.h:60
static const int nMaxH
Definition: GlobalTest.h:57
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfVertexToken_
Definition: GlobalTest.h:69
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: GlobalTest.cc:58
MonitorElement * nrVerticesH_[nMaxH]
Definition: GlobalTest.h:59
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EB_Token_
Definition: GlobalTest.h:70
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: GlobalTest.cc:113
Definition: Run.h:45