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 
47  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
48  void analyze(const edm::Event &, const edm::EventSetup &) override;
49 
50 private:
52  int minbunch_;
53  int maxbunch_;
54  TFile *histfile_;
55 
56  const static int nMaxH = 10;
63 
68 };
int maxbunch_
Definition: GlobalTest.h:53
MonitorElement * caloEnergyEEH_[nMaxH]
Definition: GlobalTest.h:62
int minbunch_
Definition: GlobalTest.h:52
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EE_Token_
Definition: GlobalTest.h:67
MonitorElement * trackPartIdH_[nMaxH]
Definition: GlobalTest.h:60
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfTrackToken_
Definition: GlobalTest.h:64
std::string filename_
Definition: GlobalTest.h:51
MonitorElement * caloEnergyEBH_[nMaxH]
Definition: GlobalTest.h:61
TFile * histfile_
Definition: GlobalTest.h:54
GlobalTest(const edm::ParameterSet &)
Definition: GlobalTest.cc:39
MonitorElement * nrPileupsH_[nMaxH]
Definition: GlobalTest.h:57
MonitorElement * nrTracksH_[nMaxH]
Definition: GlobalTest.h:59
static const int nMaxH
Definition: GlobalTest.h:56
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfVertexToken_
Definition: GlobalTest.h:65
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: GlobalTest.cc:54
MonitorElement * nrVerticesH_[nMaxH]
Definition: GlobalTest.h:58
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EB_Token_
Definition: GlobalTest.h:66
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: GlobalTest.cc:82
Definition: Run.h:45