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