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>
30 #include "CLHEP/Units/GlobalSystemOfUnits.h"
32 
33 #include <cstdlib>
34 #include <iostream>
35 #include <memory>
36 #include <string>
37 #include <vector>
38 
39 #include "TString.h"
40 
42 public:
45 
46  // typedef std::vector<float> FloatVector;
47 
49  ~GlobalHitsProdHistStripper() override;
50  void beginJob(void) override;
51  void endJob() override;
52  void analyze(const edm::Event &, const edm::EventSetup &) override;
53  void beginRun(const edm::Run &, const edm::EventSetup &) override;
54  void endRun(const edm::Run &, const edm::EventSetup &) override;
55 
56 private:
57  // parameter information
59  int verbosity;
60  int frequency;
61  int vtxunit;
64 
67  bool doOutput;
68 
69  std::map<std::string, MonitorElement *> monitorElements;
70 
71  std::vector<MonitorElement *> me;
72 
73  // G4MC info
82 
83  // Electromagnetic info
84  // ECal info
90 
91  // Preshower info
97 
98  // Hadronic info
99  // HCal info
105 
106  // Tracker info
107  // Pixel info
108  // int nPxlBrlHits;
109  // int nPxlFwdHits;
110  // int nPxlHits;
118 
119  // Strip info
120  // int nSiHits;
121  // int nSiBrlHits;
122  // int nSiFwdHits;
130 
131  // Muon info
135  // int nMuonHits;
136 
137  // DT info
138  // int nMuonDtHits;
141 
142  // CSC info
143  // int nMuonCscHits;
146 
147  // RPC info
148  // int nMuonRpcBrlHits;
149  // int nMuonRpcFwdHits;
154 
155  // private statistics information
156  unsigned int count;
157 
158 }; // end class declaration
159 
160 #endif
GlobalHitsProdHistStripper::meCaloPreShPhi
MonitorElement * meCaloPreShPhi
Definition: GlobalHitsProdHistStripper.h:95
Handle.h
GlobalHitsProdHistStripper::verbosity
int verbosity
Definition: GlobalHitsProdHistStripper.h:59
GlobalHitsProdHistStripper::meGeantVtxZ
MonitorElement * meGeantVtxZ[2]
Definition: GlobalHitsProdHistStripper.h:78
GlobalHitsProdHistStripper::meGeantVtxX
MonitorElement * meGeantVtxX[2]
Definition: GlobalHitsProdHistStripper.h:76
MessageLogger.h
GlobalHitsProdHistStripper::meMuonDtToF
MonitorElement * meMuonDtToF[2]
Definition: GlobalHitsProdHistStripper.h:139
ESHandle.h
GlobalHitsProdHistStripper::meCaloEcalEta
MonitorElement * meCaloEcalEta
Definition: GlobalHitsProdHistStripper.h:89
edm::Run
Definition: Run.h:45
GlobalHitsProdHistStripper::dbe
DQMStore * dbe
Definition: GlobalHitsProdHistStripper.h:65
GlobalHitsProdHistStripper::meGeantTrkE
MonitorElement * meGeantTrkE
Definition: GlobalHitsProdHistStripper.h:81
GlobalHitsProdHistStripper::meMuon
MonitorElement * meMuon[2]
Definition: GlobalHitsProdHistStripper.h:132
GlobalHitsProdHistStripper::meCaloPreShToF
MonitorElement * meCaloPreShToF[2]
Definition: GlobalHitsProdHistStripper.h:94
GlobalHitsProdHistStripper::meTrackerSiPhi
MonitorElement * meTrackerSiPhi
Definition: GlobalHitsProdHistStripper.h:124
GlobalHitsProdHistStripper::meTrackerSiFToF
MonitorElement * meTrackerSiFToF
Definition: GlobalHitsProdHistStripper.h:128
GlobalHitsProdHistStripper::meCaloHcalToF
MonitorElement * meCaloHcalToF[2]
Definition: GlobalHitsProdHistStripper.h:102
GlobalHitsProdHistStripper::fName
std::string fName
Definition: GlobalHitsProdHistStripper.h:58
GlobalHitsProdHistStripper::meCaloHcal
MonitorElement * meCaloHcal[2]
Definition: GlobalHitsProdHistStripper.h:100
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
GlobalHitsProdHistStripper::meCaloHcalPhi
MonitorElement * meCaloHcalPhi
Definition: GlobalHitsProdHistStripper.h:103
GlobalHitsProdHistStripper::meMuonDtR
MonitorElement * meMuonDtR
Definition: GlobalHitsProdHistStripper.h:140
EDAnalyzer.h
GlobalHitsProdHistStripper::meTrackerPxFToF
MonitorElement * meTrackerPxFToF
Definition: GlobalHitsProdHistStripper.h:116
GlobalHitsProdHistStripper::meTrackerSiFZ
MonitorElement * meTrackerSiFZ
Definition: GlobalHitsProdHistStripper.h:129
GlobalHitsProdHistStripper::count
unsigned int count
Definition: GlobalHitsProdHistStripper.h:156
GlobalHitsProdHistStripper::meMuonEta
MonitorElement * meMuonEta
Definition: GlobalHitsProdHistStripper.h:134
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
GlobalHitsProdHistStripper::meTrackerPxBR
MonitorElement * meTrackerPxBR
Definition: GlobalHitsProdHistStripper.h:115
GlobalHitsProdHistStripper::meTrackerSiBR
MonitorElement * meTrackerSiBR
Definition: GlobalHitsProdHistStripper.h:127
MakerMacros.h
GlobalHitsProdHistStripper::meTrackerPxFZ
MonitorElement * meTrackerPxFZ
Definition: GlobalHitsProdHistStripper.h:117
GlobalHitsProdHistStripper::meMuonRpcFZ
MonitorElement * meMuonRpcFZ
Definition: GlobalHitsProdHistStripper.h:151
GlobalHitsProdHistStripper::meGeantVtxY
MonitorElement * meGeantVtxY[2]
Definition: GlobalHitsProdHistStripper.h:77
dqm::legacy::DQMStore
Definition: DQMStore.h:727
GlobalHitsProdHistStripper::meMuonCscZ
MonitorElement * meMuonCscZ
Definition: GlobalHitsProdHistStripper.h:145
GlobalHitsProdHistStripper::meTrackerSiEta
MonitorElement * meTrackerSiEta
Definition: GlobalHitsProdHistStripper.h:125
GlobalHitsProdHistStripper::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition: GlobalHitsProdHistStripper.cc:120
Service.h
GlobalHitsProdHistStripper::meMuonPhi
MonitorElement * meMuonPhi
Definition: GlobalHitsProdHistStripper.h:133
Provenance.h
Run.h
GlobalHitsProdHistStripper::getAllProvenances
bool getAllProvenances
Definition: GlobalHitsProdHistStripper.h:62
GlobalHitsProdHistStripper::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: GlobalHitsProdHistStripper.cc:72
GlobalHitsProdHistStripper::meCaloPreShEta
MonitorElement * meCaloPreShEta
Definition: GlobalHitsProdHistStripper.h:96
GlobalHitsProdHistStripper::frequency
int frequency
Definition: GlobalHitsProdHistStripper.h:60
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
GlobalHitsProdHistStripper::meTrackerSi
MonitorElement * meTrackerSi[2]
Definition: GlobalHitsProdHistStripper.h:123
GlobalHitsProdHistStripper::me
std::vector< MonitorElement * > me
Definition: GlobalHitsProdHistStripper.h:71
GlobalHitsProdHistStripper::meTrackerSiBToF
MonitorElement * meTrackerSiBToF
Definition: GlobalHitsProdHistStripper.h:126
GlobalHitsProdHistStripper::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: GlobalHitsProdHistStripper.cc:245
GlobalHitsProdHistStripper::meCaloHcalE
MonitorElement * meCaloHcalE[2]
Definition: GlobalHitsProdHistStripper.h:101
edm::ParameterSet
Definition: ParameterSet.h:47
GlobalHitsProdHistStripper::meTrackerPxBToF
MonitorElement * meTrackerPxBToF
Definition: GlobalHitsProdHistStripper.h:114
Event.h
GlobalHitsProdHistStripper::doOutput
bool doOutput
Definition: GlobalHitsProdHistStripper.h:67
GlobalHitsProdHistStripper::meMuonRpcBR
MonitorElement * meMuonRpcBR
Definition: GlobalHitsProdHistStripper.h:153
GlobalHitsProdHistStripper::meTrackerPx
MonitorElement * meTrackerPx[2]
Definition: GlobalHitsProdHistStripper.h:111
LorentzVector.h
GlobalHitsProdHistStripper::meMuonRpcFToF
MonitorElement * meMuonRpcFToF[2]
Definition: GlobalHitsProdHistStripper.h:150
GlobalHitsProdHistStripper::printProvenanceInfo
bool printProvenanceInfo
Definition: GlobalHitsProdHistStripper.h:63
edm::EventSetup
Definition: EventSetup.h:57
GlobalHitsProdHistStripper::meMuonCscToF
MonitorElement * meMuonCscToF[2]
Definition: GlobalHitsProdHistStripper.h:144
GlobalHitsProdHistStripper::meMCRGP
MonitorElement * meMCRGP[2]
Definition: GlobalHitsProdHistStripper.h:74
GlobalHitsProdHistStripper::meCaloEcalE
MonitorElement * meCaloEcalE[2]
Definition: GlobalHitsProdHistStripper.h:86
GlobalHitsProdHistStripper::meGeantTrkPt
MonitorElement * meGeantTrkPt
Definition: GlobalHitsProdHistStripper.h:80
GlobalHitsProdHistStripper::vtxunit
int vtxunit
Definition: GlobalHitsProdHistStripper.h:61
GlobalHitsProdHistStripper::meCaloHcalEta
MonitorElement * meCaloHcalEta
Definition: GlobalHitsProdHistStripper.h:104
GlobalHitsProdHistStripper::beginJob
void beginJob(void) override
Definition: GlobalHitsProdHistStripper.cc:63
GlobalHitsProdHistStripper::meCaloPreSh
MonitorElement * meCaloPreSh[2]
Definition: GlobalHitsProdHistStripper.h:92
GlobalHitsProdHistStripper::meCaloEcalToF
MonitorElement * meCaloEcalToF[2]
Definition: GlobalHitsProdHistStripper.h:87
Frameworkfwd.h
GlobalHitsProdHistStripper::meMCG4Trk
MonitorElement * meMCG4Trk[2]
Definition: GlobalHitsProdHistStripper.h:79
GlobalHitsProdHistStripper::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: GlobalHitsProdHistStripper.h:43
GlobalHitsProdHistStripper::meTrackerPxPhi
MonitorElement * meTrackerPxPhi
Definition: GlobalHitsProdHistStripper.h:112
GlobalHitsProdHistStripper::meMuonRpcBToF
MonitorElement * meMuonRpcBToF[2]
Definition: GlobalHitsProdHistStripper.h:152
GlobalHitsProdHistStripper::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: GlobalHitsProdHistStripper.h:44
EventSetup.h
GlobalHitsProdHistStripper::GlobalHitsProdHistStripper
GlobalHitsProdHistStripper(const edm::ParameterSet &)
Definition: GlobalHitsProdHistStripper.cc:11
GlobalHitsProdHistStripper::meCaloEcal
MonitorElement * meCaloEcal[2]
Definition: GlobalHitsProdHistStripper.h:85
GlobalHitsProdHistStripper::meMCG4Vtx
MonitorElement * meMCG4Vtx[2]
Definition: GlobalHitsProdHistStripper.h:75
ParameterSet.h
edm::Event
Definition: Event.h:73
GlobalHitsProdHistStripper
Definition: GlobalHitsProdHistStripper.h:41
GlobalHitsProdHistStripper::~GlobalHitsProdHistStripper
~GlobalHitsProdHistStripper() override
Definition: GlobalHitsProdHistStripper.cc:57
GlobalHitsProdHistStripper::meCaloEcalPhi
MonitorElement * meCaloEcalPhi
Definition: GlobalHitsProdHistStripper.h:88
GlobalHitsProdHistStripper::meTrackerPxEta
MonitorElement * meTrackerPxEta
Definition: GlobalHitsProdHistStripper.h:113
GlobalHitsProdHistStripper::outputfile
std::string outputfile
Definition: GlobalHitsProdHistStripper.h:66
GlobalHitsProdHistStripper::monitorElements
std::map< std::string, MonitorElement * > monitorElements
Definition: GlobalHitsProdHistStripper.h:69
GlobalHitsProdHistStripper::meCaloPreShE
MonitorElement * meCaloPreShE[2]
Definition: GlobalHitsProdHistStripper.h:93
GlobalHitsProdHistStripper::endJob
void endJob() override
Definition: GlobalHitsProdHistStripper.cc:65