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 };
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
GlobalTest::cfVertexToken_
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfVertexToken_
Definition: GlobalTest.h:69
GlobalTest::~GlobalTest
~GlobalTest() override
Definition: GlobalTest.cc:53
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:58
DQMStore.h
GlobalTest::nrVerticesH_
MonitorElement * nrVerticesH_[nMaxH]
Definition: GlobalTest.h:59
MakerMacros.h
PSimHit.h
GlobalTest::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: GlobalTest.cc:113
MixCollection.h
Service.h
GlobalTest::g4SimHits_EB_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EB_Token_
Definition: GlobalTest.h:70
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:36
Event.h
GlobalTest::caloEnergyEEH_
MonitorElement * caloEnergyEEH_[nMaxH]
Definition: GlobalTest.h:63
GlobalTest::maxbunch_
int maxbunch_
Definition: GlobalTest.h:54
edm::EventSetup
Definition: EventSetup.h:57
InputTag.h
GlobalTest::minbunch_
int minbunch_
Definition: GlobalTest.h:53
GlobalTest::labels
char * labels[nrHistos]
Definition: GlobalTest.h:66
GlobalTest::nrHistos
const static int nrHistos
Definition: GlobalTest.h:65
Frameworkfwd.h
GlobalTest::filename_
std::string filename_
Definition: GlobalTest.h:52
GlobalTest::caloEnergyEBH_
MonitorElement * caloEnergyEBH_[nMaxH]
Definition: GlobalTest.h:62
GlobalTest::g4SimHits_EE_Token_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EE_Token_
Definition: GlobalTest.h:71
GlobalTest::trackPartIdH_
MonitorElement * trackPartIdH_[nMaxH]
Definition: GlobalTest.h:61
PCaloHitContainer.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
GlobalTest::cfTrackToken_
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfTrackToken_
Definition: GlobalTest.h:68
ParameterSet.h
GlobalTest::histfile_
TFile * histfile_
Definition: GlobalTest.h:55
edm::Event
Definition: Event.h:73
GlobalTest::GlobalTest
GlobalTest(const edm::ParameterSet &)
Definition: GlobalTest.cc:38
SimTrackContainer.h
GlobalTest::nMaxH
const static int nMaxH
Definition: GlobalTest.h:57
GlobalTest::nrPileupsH_
MonitorElement * nrPileupsH_[nMaxH]
Definition: GlobalTest.h:58
GlobalTest::nrTracksH_
MonitorElement * nrTracksH_[nMaxH]
Definition: GlobalTest.h:60