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 };
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
GlobalTest::cfVertexToken_
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfVertexToken_
Definition: GlobalTest.h:65
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
CrossingFrame.h
GlobalTest::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: GlobalTest.cc:55
DQMStore.h
GlobalTest::nrVerticesH_
MonitorElement * nrVerticesH_[nMaxH]
Definition: GlobalTest.h:58
MakerMacros.h
PSimHit.h
GlobalTest::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: GlobalTest.cc:83
MixCollection.h
Service.h
GlobalTest::g4SimHits_EB_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EB_Token_
Definition: GlobalTest.h:66
GlobalTest
Definition: GlobalTest.h:43
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
GlobalTest::caloEnergyEEH_
MonitorElement * caloEnergyEEH_[nMaxH]
Definition: GlobalTest.h:62
GlobalTest::maxbunch_
int maxbunch_
Definition: GlobalTest.h:53
edm::EventSetup
Definition: EventSetup.h:57
InputTag.h
GlobalTest::minbunch_
int minbunch_
Definition: GlobalTest.h:52
Frameworkfwd.h
GlobalTest::filename_
std::string filename_
Definition: GlobalTest.h:51
GlobalTest::caloEnergyEBH_
MonitorElement * caloEnergyEBH_[nMaxH]
Definition: GlobalTest.h:61
GlobalTest::g4SimHits_EE_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EE_Token_
Definition: GlobalTest.h:67
GlobalTest::trackPartIdH_
MonitorElement * trackPartIdH_[nMaxH]
Definition: GlobalTest.h:60
PCaloHitContainer.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
GlobalTest::cfTrackToken_
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfTrackToken_
Definition: GlobalTest.h:64
ParameterSet.h
GlobalTest::histfile_
TFile * histfile_
Definition: GlobalTest.h:54
edm::Event
Definition: Event.h:73
GlobalTest::GlobalTest
GlobalTest(const edm::ParameterSet &)
Definition: GlobalTest.cc:40
SimTrackContainer.h
GlobalTest::nMaxH
const static int nMaxH
Definition: GlobalTest.h:56
GlobalTest::nrPileupsH_
MonitorElement * nrPileupsH_[nMaxH]
Definition: GlobalTest.h:57
GlobalTest::nrTracksH_
MonitorElement * nrTracksH_[nMaxH]
Definition: GlobalTest.h:59