CMS 3D CMS Logo

GlobalHitsHistogrammer.h
Go to the documentation of this file.
1 #ifndef GlobalHitsHistogrammer_h
2 #define GlobalHitsHistogrammer_h
3 
11 // framework & common header files
21 //#include "Geometry/CommonDetUnit/interface/GeomDet.h"
22 //#include "DataFormats/DetId/interface/DetId.h"
23 
24 //DQM services
28 
29 // tracker info
30 //#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
31 //#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
32 //#include "DataFormats/SiStripDetId/interface/StripSubdetector.h"
33 //#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
34 
35 // muon info
36 //#include "Geometry/Records/interface/MuonGeometryRecord.h"
37 //#include "Geometry/CSCGeometry/interface/CSCGeometry.h"
38 //#include "Geometry/DTGeometry/interface/DTGeometry.h"
39 //#include "Geometry/RPCGeometry/interface/RPCGeometry.h"
40 //#include "DataFormats/MuonDetId/interface/MuonSubdetId.h"
41 //#include "DataFormats/MuonDetId/interface/RPCDetId.h"
42 //#include "DataFormats/MuonDetId/interface/DTWireId.h"
43 
44 // calorimeter info
45 //#include "Geometry/Records/interface/IdealGeometryRecord.h"
46 //#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
47 //#include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
48 //#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
49 //#include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
50 //#include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
51 
52 // data in edm::event
53 //#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
54 //#include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
55 //#include "SimDataFormats/Track/interface/SimTrackContainer.h"
56 //#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
57 //#include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h"
59 
60 // helper files
61 //#include <CLHEP/Vector/LorentzVector.h>
63 #include "CLHEP/Units/GlobalSystemOfUnits.h"
64 
65 #include <iostream>
66 #include <stdlib.h>
67 #include <string>
68 #include <memory>
69 #include <vector>
70 
71 #include "TString.h"
73 
75 
76  public:
77 
78  //typedef std::vector<float> FloatVector;
79 
81  virtual ~GlobalHitsHistogrammer();
82  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
84  edm::Run const &, edm::EventSetup const &) override;
85 
86  private:
87 
88  // parameter information
90  int verbosity;
91  int frequency;
92  int vtxunit;
96 
98  bool doOutput;
99 
102 
103  // G4MC info
112 
113  // Electromagnetic info
114  // ECal info
120 
121  // Preshower info
127 
128  // Hadronic info
129  // HCal info
135 
136  // Tracker info
137  // Pixel info
140  int nPxlHits;
148 
149  // Strip info
150  int nSiHits;
160 
161  // Muon info
166 
167  // DT info
171 
172  // CSC info
176 
177  // RPC info
184 
185  // private statistics information
186  unsigned int count;
187 
188 }; // end class declaration
189 
190 #endif
191 
192 
MonitorElement * meMCG4Vtx[2]
MonitorElement * meCaloHcal[2]
GlobalHitsHistogrammer(const edm::ParameterSet &)
MonitorElement * meCaloEcalE[2]
MonitorElement * meMuonRpcBToF[2]
MonitorElement * meCaloPreSh[2]
MonitorElement * meMuonCscToF[2]
MonitorElement * meGeantVtxY[2]
MonitorElement * meMuonDtToF[2]
MonitorElement * meCaloPreShE[2]
MonitorElement * meCaloHcalE[2]
MonitorElement * meTrackerSi[2]
MonitorElement * meMCG4Trk[2]
MonitorElement * meCaloEcal[2]
MonitorElement * meCaloPreShToF[2]
edm::EDGetTokenT< PGlobalSimHit > GlobalHitSrc_Token_
MonitorElement * meCaloEcalToF[2]
MonitorElement * meMuonRpcFToF[2]
MonitorElement * meTrackerPx[2]
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * meGeantVtxZ[2]
MonitorElement * meGeantVtxX[2]
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * meCaloHcalToF[2]
Definition: Run.h:42