CMS 3D CMS Logo

GlobalHitsProdHistStripper.h
Go to the documentation of this file.
1 #ifndef GlobalHitsProdHistStripper_h
2 #define GlobalHitsProdHistStripper_h
3 
11 // framework & common header files
23 
24 //DQM services
27 
28 // helper files
29 //#include <CLHEP/Vector/LorentzVector.h>
31 #include "CLHEP/Units/GlobalSystemOfUnits.h"
32 
33 #include <iostream>
34 #include <cstdlib>
35 #include <string>
36 #include <memory>
37 #include <vector>
38 
39 #include "TString.h"
41 
43 {
44 
45  public:
46 
47  //typedef std::vector<float> FloatVector;
48 
50  ~GlobalHitsProdHistStripper() override;
51  void beginJob( void ) override;
52  void endJob() override;
53  void analyze(const edm::Event&, const edm::EventSetup&) override;
54  void beginRun(const edm::Run&, const edm::EventSetup&) override;
55  void endRun(const edm::Run&, const edm::EventSetup&) override;
56 
57  private:
58 
59  // parameter information
61  int verbosity;
62  int frequency;
63  int vtxunit;
66 
67 
70  bool doOutput;
71 
72  std::map<std::string,MonitorElement*> monitorElements;
73 
74  std::vector<MonitorElement*> me;
75 
76  // G4MC info
85 
86  // Electromagnetic info
87  // ECal info
93 
94  // Preshower info
100 
101  // Hadronic info
102  // HCal info
108 
109  // Tracker info
110  // Pixel info
111  //int nPxlBrlHits;
112  //int nPxlFwdHits;
113  //int nPxlHits;
121 
122  // Strip info
123  //int nSiHits;
124  //int nSiBrlHits;
125  //int nSiFwdHits;
133 
134  // Muon info
138  //int nMuonHits;
139 
140  // DT info
141  //int nMuonDtHits;
144 
145  // CSC info
146  //int nMuonCscHits;
149 
150  // RPC info
151  //int nMuonRpcBrlHits;
152  //int nMuonRpcFwdHits;
157 
158  // private statistics information
159  unsigned int count;
160 
161 }; // end class declaration
162 
163 #endif
164 
165 
std::map< std::string, MonitorElement * > monitorElements
GlobalHitsProdHistStripper(const edm::ParameterSet &)
std::vector< MonitorElement * > me
void beginRun(const edm::Run &, const edm::EventSetup &) override
void analyze(const edm::Event &, const edm::EventSetup &) override
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition: Run.h:43