CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GlobalHitsHistogrammer.h
Go to the documentation of this file.
1 #ifndef GlobalHitsHistogrammer_h
2 #define GlobalHitsHistogrammer_h
3 
11 // framework & common header files
22 //#include "Geometry/CommonDetUnit/interface/GeomDetUnit.h"
23 //#include "DataFormats/DetId/interface/DetId.h"
24 
25 //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 
77  public:
78 
79  //typedef std::vector<float> FloatVector;
80 
82  virtual ~GlobalHitsHistogrammer();
83  virtual void beginJob( void );
84  virtual void endJob();
85  virtual void analyze(const edm::Event&, const edm::EventSetup&);
86 
87  private:
88 
89  // parameter information
91  int verbosity;
92  int frequency;
93  int vtxunit;
97 
100  bool doOutput;
101 
104 
105  // G4MC info
114 
115  // Electromagnetic info
116  // ECal info
122 
123  // Preshower info
129 
130  // Hadronic info
131  // HCal info
137 
138  // Tracker info
139  // Pixel info
142  int nPxlHits;
150 
151  // Strip info
152  int nSiHits;
162 
163  // Muon info
168 
169  // DT info
173 
174  // CSC info
178 
179  // RPC info
186 
187  // private statistics information
188  unsigned int count;
189 
190 }; // end class declaration
191 
192 #endif
193 
194 
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 &)
MonitorElement * meGeantVtxZ[2]
MonitorElement * meGeantVtxX[2]
MonitorElement * meCaloHcalToF[2]