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>
62 #include <CLHEP/Units/SystemOfUnits.h>
64 
65 #include <cstdlib>
66 #include <iostream>
67 #include <memory>
68 #include <string>
69 #include <vector>
70 
71 #include "TString.h"
72 
74 public:
75  // typedef std::vector<float> FloatVector;
76 
77  explicit GlobalHitsHistogrammer(const edm::ParameterSet &);
78  ~GlobalHitsHistogrammer() override;
79  void analyze(const edm::Event &, const edm::EventSetup &) override;
80  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
81 
82 private:
83  // parameter information
85  int verbosity;
86  int frequency;
87  int vtxunit;
91 
93  bool doOutput;
94 
97 
98  // G4MC info
107 
108  // Electromagnetic info
109  // ECal info
115 
116  // Preshower info
122 
123  // Hadronic info
124  // HCal info
130 
131  // Tracker info
132  // Pixel info
135  int nPxlHits;
143 
144  // Strip info
145  int nSiHits;
155 
156  // Muon info
161 
162  // DT info
166 
167  // CSC info
171 
172  // RPC info
179 
180  // private statistics information
181  unsigned int count;
182 
183 }; // end class declaration
184 
185 #endif
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 * meMCRGP[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]
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:45