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 
13 // framework & common header files
24 //#include "Geometry/CommonDetUnit/interface/GeomDetUnit.h"
25 //#include "DataFormats/DetId/interface/DetId.h"
26 
27 //DQM services
30 
31 // tracker info
32 //#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
33 //#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
34 //#include "DataFormats/SiStripDetId/interface/StripSubdetector.h"
35 //#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
36 
37 // muon info
38 //#include "Geometry/Records/interface/MuonGeometryRecord.h"
39 //#include "Geometry/CSCGeometry/interface/CSCGeometry.h"
40 //#include "Geometry/DTGeometry/interface/DTGeometry.h"
41 //#include "Geometry/RPCGeometry/interface/RPCGeometry.h"
42 //#include "DataFormats/MuonDetId/interface/MuonSubdetId.h"
43 //#include "DataFormats/MuonDetId/interface/RPCDetId.h"
44 //#include "DataFormats/MuonDetId/interface/DTWireId.h"
45 
46 // calorimeter info
47 //#include "Geometry/Records/interface/IdealGeometryRecord.h"
48 //#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
49 //#include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
50 //#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
51 //#include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
52 //#include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
53 
54 // data in edm::event
55 //#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
56 //#include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
57 //#include "SimDataFormats/Track/interface/SimTrackContainer.h"
58 //#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
59 //#include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h"
61 
62 // helper files
63 //#include <CLHEP/Vector/LorentzVector.h>
65 #include "CLHEP/Units/GlobalSystemOfUnits.h"
66 
67 #include <iostream>
68 #include <stdlib.h>
69 #include <string>
70 #include <memory>
71 #include <vector>
72 
73 #include "TString.h"
75 
77 {
78 
79  public:
80 
81  //typedef std::vector<float> FloatVector;
82 
84  virtual ~GlobalHitsHistogrammer();
85  virtual void beginJob( void );
86  virtual void endJob();
87  virtual void analyze(const edm::Event&, const edm::EventSetup&);
88 
89  private:
90 
91  // parameter information
92  std::string fName;
93  int verbosity;
94  int frequency;
95  int vtxunit;
96  std::string label;
99 
101  std::string outputfile;
102  bool doOutput;
103 
105 
106  // G4MC info
115 
116  // Electromagnetic info
117  // ECal info
123 
124  // Preshower info
130 
131  // Hadronic info
132  // HCal info
138 
139  // Tracker info
140  // Pixel info
143  int nPxlHits;
151 
152  // Strip info
153  int nSiHits;
163 
164  // Muon info
169 
170  // DT info
174 
175  // CSC info
179 
180  // RPC info
187 
188  // private statistics information
189  unsigned int count;
190 
191 }; // end class declaration
192 
193 #endif
194 
195 
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]
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]