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/GlobalSystemOfUnits.h"
64 
65 #include <cstdlib>
66 #include <iostream>
67 #include <memory>
68 #include <string>
69 #include <vector>
70 
72 #include "TString.h"
73 
75 public:
76  // typedef std::vector<float> FloatVector;
77 
78  explicit GlobalHitsHistogrammer(const edm::ParameterSet &);
79  ~GlobalHitsHistogrammer() override;
80  void analyze(const edm::Event &, const edm::EventSetup &) override;
81  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
82 
83 private:
84  // parameter information
86  int verbosity;
87  int frequency;
88  int vtxunit;
92 
94  bool doOutput;
95 
98 
99  // G4MC info
108 
109  // Electromagnetic info
110  // ECal info
116 
117  // Preshower info
123 
124  // Hadronic info
125  // HCal info
131 
132  // Tracker info
133  // Pixel info
136  int nPxlHits;
144 
145  // Strip info
146  int nSiHits;
156 
157  // Muon info
162 
163  // DT info
167 
168  // CSC info
172 
173  // RPC info
180 
181  // private statistics information
182  unsigned int count;
183 
184 }; // end class declaration
185 
186 #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 * 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