CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GlobalRecHitsHistogrammer.h
Go to the documentation of this file.
1 #ifndef GlobalRecHitsHistogrammer_h
2 #define GlobalRecHitsHistogrammer_h
3 
15 // framework & common header files
22 
23 //DQM services
26 
27 
28 //#include "DataFormats/Common/interface/Provenance.h"
33 
34 
35 // event info
37 
38 // helper files
39 //#include <CLHEP/Vector/LorentzVector.h>
40 //#include <CLHEP/Units/SystemOfUnits.h>
41 
42 #include <iostream>
43 #include <stdlib.h>
44 #include <string>
45 #include <memory>
46 #include <vector>
47 #include <map>
48 #include <math.h>
49 
50 #include "TString.h"
52 
53 
55 {
56 
57  public:
58 
59  //typedef std::vector<float> FloatVector;
60  //typedef std::vector<double> DoubleVector;
61  //typedef std::vector<int> IntVector;
62  typedef std::map<uint32_t,float,std::less<uint32_t> > MapType;
63 
66  virtual void beginJob();
67  virtual void endJob();
68  virtual void analyze(const edm::Event&, const edm::EventSetup&);
69 
70 
71  private:
72 
73  // parameter information
74  std::string fName;
75  int verbosity;
76  int frequency;
77  std::string label;
80 
82  std::string outputfile;
83  bool doOutput;
84 
86  //edm::InputTag srcGlobalRecHits;
87 
88  // Electromagnetic info
89  // ECal info
90 
93 
94 
95 
96  // HCal info
97 
100 
101 
102  // Tracker info
103  // SiStrip
104 
108 
109 
110  // SiPxl
111 
115 
116  // Muon info
117  // DT
118 
125 
126 
127  // private statistics information
128  unsigned int count;
129 
130 }; // end class declaration
131 
132 
133 
134 
135 
136 
137 #endif //PGlobalRecHitsProducer_h
std::map< uint32_t, float, std::less< uint32_t > > MapType
GlobalRecHitsHistogrammer(const edm::ParameterSet &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)