CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
17 // system include files
19 
22 
25 
29 
32 
33 //DQM services for histogram
38 
39 class TFile;
40 class MonitorElement;
41 
42 //
43 // class declaration
44 //
45 
46 class GlobalTest : public DQMEDAnalyzer {
47  public:
48  explicit GlobalTest(const edm::ParameterSet&);
49  ~GlobalTest();
50 
52  edm::Run const &, edm::EventSetup const &) override;
53  virtual void analyze(const edm::Event&, const edm::EventSetup&);
54 
55  private:
57  int minbunch_;
58  int maxbunch_;
59  TFile *histfile_;
60 
61  const static int nMaxH=10;
68 
69  const static int nrHistos=6;
70  char * labels[nrHistos];
71 
76 };
77 
int maxbunch_
Definition: GlobalTest.h:58
MonitorElement * caloEnergyEEH_[nMaxH]
Definition: GlobalTest.h:67
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: GlobalTest.cc:126
char * labels[nrHistos]
Definition: GlobalTest.h:70
int minbunch_
Definition: GlobalTest.h:57
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EE_Token_
Definition: GlobalTest.h:75
MonitorElement * trackPartIdH_[nMaxH]
Definition: GlobalTest.h:65
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfTrackToken_
Definition: GlobalTest.h:72
std::string filename_
Definition: GlobalTest.h:56
MonitorElement * caloEnergyEBH_[nMaxH]
Definition: GlobalTest.h:66
static const int nrHistos
Definition: GlobalTest.h:69
TFile * histfile_
Definition: GlobalTest.h:59
GlobalTest(const edm::ParameterSet &)
Definition: GlobalTest.cc:40
MonitorElement * nrPileupsH_[nMaxH]
Definition: GlobalTest.h:62
MonitorElement * nrTracksH_[nMaxH]
Definition: GlobalTest.h:64
static const int nMaxH
Definition: GlobalTest.h:61
edm::EDGetTokenT< CrossingFrame< SimTrack > > cfVertexToken_
Definition: GlobalTest.h:73
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: GlobalTest.cc:68
MonitorElement * nrVerticesH_[nMaxH]
Definition: GlobalTest.h:63
edm::EDGetTokenT< CrossingFrame< PCaloHit > > g4SimHits_EB_Token_
Definition: GlobalTest.h:74
Definition: Run.h:43