CMS 3D CMS Logo

HcalSimHitStudy.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HcalSimHitStudy_H
2 #define SimG4CMS_HcalSimHitStudy_H
3 
6 
11 
14 
17 
20 
23 
24 #include <fstream>
25 #include <iostream>
26 #include <map>
27 #include <string>
28 #include <vector>
29 
31 public:
33  ~HcalSimHitStudy() override;
34 
35  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
36 
37 protected:
38  // void endJob ();
39  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
40 
41  void analyzeHits(std::vector<PCaloHit> &);
42 
43 private:
47  int maxDepth_;
49 
50  int iphi_bins;
60 
63 
65 
69  std::vector<MonitorElement *> meEtaPhiHitDepth_;
83 };
84 
85 #endif
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
HcalSimHitStudy::meEtaPhiHit_
MonitorElement * meEtaPhiHit_
Definition: HcalSimHitStudy.h:68
HcalSimHitStudy::~HcalSimHitStudy
~HcalSimHitStudy() override
Definition: HcalSimHitStudy.cc:23
MessageLogger.h
HcalSimHitStudy::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: HcalSimHitStudy.cc:189
ESHandle.h
HcalSimHitStudy::meHODepHit_
MonitorElement * meHODepHit_
Definition: HcalSimHitStudy.h:71
HcalSimHitStudy::meHEEneSum_
MonitorElement * meHEEneSum_
Definition: HcalSimHitStudy.h:76
HcalSimHitStudy::meHOL10EneP_
MonitorElement * meHOL10EneP_
Definition: HcalSimHitStudy.h:81
HcalSimHitStudy::meHOEneSum_vs_ieta_
MonitorElement * meHOEneSum_vs_ieta_
Definition: HcalSimHitStudy.h:77
edm::Run
Definition: Run.h:45
HcalSimHitStudy::maxDepthHF_
int maxDepthHF_
Definition: HcalSimHitStudy.h:46
edm::EDGetTokenT< edm::PCaloHitContainer >
HcalSimHitStudy::meHOEneMap_
MonitorElement * meHOEneMap_
Definition: HcalSimHitStudy.h:75
HcalSimHitStudy::ieta_bins_HF
int ieta_bins_HF
Definition: HcalSimHitStudy.h:58
HcalSimHitStudy::meHENHit_
MonitorElement * meHENHit_
Definition: HcalSimHitStudy.h:67
HcalSimHitStudy::meHFEneSum_vs_ieta_
MonitorElement * meHFEneSum_vs_ieta_
Definition: HcalSimHitStudy.h:77
HcalSimHitStudy::outFile_
std::string outFile_
Definition: HcalSimHitStudy.h:61
HcalSimHitStudy::meHEL10Ene_
MonitorElement * meHEL10Ene_
Definition: HcalSimHitStudy.h:80
HcalSimHitStudy::ieta_min_HF
float ieta_min_HF
Definition: HcalSimHitStudy.h:59
HcalSimHitStudy::hep17_
bool hep17_
Definition: HcalSimHitStudy.h:62
DQMStore.h
HcalRecNumberingRecord.h
HcalSimHitStudy::testNumber_
bool testNumber_
Definition: HcalSimHitStudy.h:62
HcalSimHitStudy::meHOEtaHit_
MonitorElement * meHOEtaHit_
Definition: HcalSimHitStudy.h:72
HcalSimHitStudy::meHEEneMap_
MonitorElement * meHEEneMap_
Definition: HcalSimHitStudy.h:75
HcalSimHitStudy::g4Label
std::string g4Label
Definition: HcalSimHitStudy.h:61
HcalSimHitStudy::meHBEneSum_vs_ieta_
MonitorElement * meHBEneSum_vs_ieta_
Definition: HcalSimHitStudy.h:77
HcalSimHitStudy::meHEL10EneP_
MonitorElement * meHEL10EneP_
Definition: HcalSimHitStudy.h:81
HcalSimHitStudy::meHOTimHit_
MonitorElement * meHOTimHit_
Definition: HcalSimHitStudy.h:78
HcalSimHitStudy::meHBL10EneP_
MonitorElement * meHBL10EneP_
Definition: HcalSimHitStudy.h:81
HcalSimHitStudy::meHFEneMap_
MonitorElement * meHFEneMap_
Definition: HcalSimHitStudy.h:75
HcalSimHitStudy::ieta_max_HE
float ieta_max_HE
Definition: HcalSimHitStudy.h:55
HcalSimHitStudy::meHOEneHit_
MonitorElement * meHOEneHit_
Definition: HcalSimHitStudy.h:74
HcalSimHitStudy::mePhiHit_
MonitorElement * mePhiHit_
Definition: HcalSimHitStudy.h:70
HcalSimHitStudy::meHFTimHit_
MonitorElement * meHFTimHit_
Definition: HcalSimHitStudy.h:78
MakerMacros.h
HcalSimHitStudy::meHEEneHit2_
MonitorElement * meHEEneHit2_
Definition: HcalSimHitStudy.h:79
HcalSimHitStudy::meEtaPhiHitDepth_
std::vector< MonitorElement * > meEtaPhiHitDepth_
Definition: HcalSimHitStudy.h:69
HcalSimHitStudy::meHBEneMap_
MonitorElement * meHBEneMap_
Definition: HcalSimHitStudy.h:75
HcalSimHitStudy::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: HcalSimHitStudy.cc:25
HcalSimHitStudy
Definition: HcalSimHitStudy.h:30
HcalSimHitStudy::hcalHits
std::string hcalHits
Definition: HcalSimHitStudy.h:61
Service.h
HcalSimHitStudy::meHBEneHit2_
MonitorElement * meHBEneHit2_
Definition: HcalSimHitStudy.h:79
HcalSimHitStudy::meSubdetHit_
MonitorElement * meSubdetHit_
Definition: HcalSimHitStudy.h:68
HcalSimHitStudy::meHONHit_
MonitorElement * meHONHit_
Definition: HcalSimHitStudy.h:67
HcalSimHitStudy::meHFDepHit_
MonitorElement * meHFDepHit_
Definition: HcalSimHitStudy.h:71
HcalSimHitStudy::meBadIdHit_
MonitorElement * meBadIdHit_
Definition: HcalSimHitStudy.h:66
HcalSimHitStudy::maxDepth_
int maxDepth_
Definition: HcalSimHitStudy.h:47
HcalSimHitStudy::maxDepthHE_
int maxDepthHE_
Definition: HcalSimHitStudy.h:45
HcalSimHitStudy::meHEP17EneHit_
MonitorElement * meHEP17EneHit_
Definition: HcalSimHitStudy.h:82
HcalSimHitStudy::ieta_min_HE
float ieta_min_HE
Definition: HcalSimHitStudy.h:55
HcalSimHitStudy::ieta_bins_HE
int ieta_bins_HE
Definition: HcalSimHitStudy.h:54
HcalSimHitStudy::meHFL10Ene_
MonitorElement * meHFL10Ene_
Definition: HcalSimHitStudy.h:80
HcalSimHitStudy::ieta_max_HF
float ieta_max_HF
Definition: HcalSimHitStudy.h:59
HcalSimHitStudy::meHFPhiHit_
MonitorElement * meHFPhiHit_
Definition: HcalSimHitStudy.h:73
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalSimHitStudy::checkHit_
bool checkHit_
Definition: HcalSimHitStudy.h:62
HcalSimHitStudy::meHFEneSum_
MonitorElement * meHFEneSum_
Definition: HcalSimHitStudy.h:76
HcalSimHitStudy::tok_hits_
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
Definition: HcalSimHitStudy.h:64
HcalSimHitStudy::meHBDepHit_
MonitorElement * meHBDepHit_
Definition: HcalSimHitStudy.h:71
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
HcalSimHitStudy::ieta_min_HO
float ieta_min_HO
Definition: HcalSimHitStudy.h:57
HcalSimHitStudy::meHFEneHit2_
MonitorElement * meHFEneHit2_
Definition: HcalSimHitStudy.h:79
edm::ParameterSet
Definition: ParameterSet.h:47
HcalSimHitStudy::ieta_max_HB
float ieta_max_HB
Definition: HcalSimHitStudy.h:53
HcalSimHitStudy::maxDepthHB_
int maxDepthHB_
Definition: HcalSimHitStudy.h:45
HcalSimHitStudy::meTimeHit_
MonitorElement * meTimeHit_
Definition: HcalSimHitStudy.h:70
Event.h
HcalSimHitStudy::verbose_
bool verbose_
Definition: HcalSimHitStudy.h:62
HcalSimHitStudy::meHOL10Ene_
MonitorElement * meHOL10Ene_
Definition: HcalSimHitStudy.h:80
HcalSimHitStudy::meHBEneSum_
MonitorElement * meHBEneSum_
Definition: HcalSimHitStudy.h:76
HcalSimHitStudy::meHETimHit_
MonitorElement * meHETimHit_
Definition: HcalSimHitStudy.h:78
HcalSimHitStudy::meHBPhiHit_
MonitorElement * meHBPhiHit_
Definition: HcalSimHitStudy.h:73
HcalSimHitStudy::meEnergyHit_
MonitorElement * meEnergyHit_
Definition: HcalSimHitStudy.h:70
HcalSimHitStudy::iphi_max
float iphi_max
Definition: HcalSimHitStudy.h:51
PCaloHit.h
HcalSimHitStudy::ieta_bins_HO
int ieta_bins_HO
Definition: HcalSimHitStudy.h:56
HcalSimHitStudy::analyzeHits
void analyzeHits(std::vector< PCaloHit > &)
Definition: HcalSimHitStudy.cc:211
HcalSimHitStudy::meHEEneSum_vs_ieta_
MonitorElement * meHEEneSum_vs_ieta_
Definition: HcalSimHitStudy.h:77
HcalSimHitStudy::meHOEneHit2_
MonitorElement * meHOEneHit2_
Definition: HcalSimHitStudy.h:79
HcalSimHitStudy::meDetectHit_
MonitorElement * meDetectHit_
Definition: HcalSimHitStudy.h:68
HcalSimHitStudy::meTimeWHit_
MonitorElement * meTimeWHit_
Definition: HcalSimHitStudy.h:70
edm::EventSetup
Definition: EventSetup.h:57
HcalSimHitStudy::mePhiHitb_
MonitorElement * mePhiHitb_
Definition: HcalSimHitStudy.h:70
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
HcalSimHitStudy::meHBL10Ene_
MonitorElement * meHBL10Ene_
Definition: HcalSimHitStudy.h:80
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord >
HcalSimHitStudy::meBadSubHit_
MonitorElement * meBadSubHit_
Definition: HcalSimHitStudy.h:66
HcalSimHitStudy::tok_HRNDC_
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tok_HRNDC_
Definition: HcalSimHitStudy.h:48
HcalSimHitStudy::hcons
const HcalDDDRecConstants * hcons
Definition: HcalSimHitStudy.h:44
HcalSimHitStudy::ieta_min_HB
float ieta_min_HB
Definition: HcalSimHitStudy.h:53
HcalSimHitStudy::ieta_max_HO
float ieta_max_HO
Definition: HcalSimHitStudy.h:57
HcalSimHitStudy::meHEDepHit_
MonitorElement * meHEDepHit_
Definition: HcalSimHitStudy.h:71
HcalSimHitStudy::meBadDetHit_
MonitorElement * meBadDetHit_
Definition: HcalSimHitStudy.h:66
HcalSimHitStudy::meDepthHit_
MonitorElement * meDepthHit_
Definition: HcalSimHitStudy.h:68
HcalSimHitStudy::meHEPhiHit_
MonitorElement * meHEPhiHit_
Definition: HcalSimHitStudy.h:73
Frameworkfwd.h
HcalSimHitStudy::meHBNHit_
MonitorElement * meHBNHit_
Definition: HcalSimHitStudy.h:67
HcalDDDRecConstants.h
HcalSimHitStudy::meEtaHit_
MonitorElement * meEtaHit_
Definition: HcalSimHitStudy.h:68
HcalSimHitStudy::meHOPhiHit_
MonitorElement * meHOPhiHit_
Definition: HcalSimHitStudy.h:73
HcalSimHitStudy::meHOEneSum_
MonitorElement * meHOEneSum_
Definition: HcalSimHitStudy.h:76
HcalSimHitStudy::iphi_min
float iphi_min
Definition: HcalSimHitStudy.h:51
EventSetup.h
HcalSimHitStudy::meHFNHit_
MonitorElement * meHFNHit_
Definition: HcalSimHitStudy.h:67
HcalSimHitStudy::meHBEneHit_
MonitorElement * meHBEneHit_
Definition: HcalSimHitStudy.h:74
PCaloHitContainer.h
HcalSimHitStudy::meHEP17EneHit2_
MonitorElement * meHEP17EneHit2_
Definition: HcalSimHitStudy.h:82
dqm::implementation::IBooker
Definition: DQMStore.h:43
HcalDDDRecConstants
Definition: HcalDDDRecConstants.h:23
HcalSimHitStudy::meAllNHit_
MonitorElement * meAllNHit_
Definition: HcalSimHitStudy.h:66
HcalSimHitStudy::meHFL10EneP_
MonitorElement * meHFL10EneP_
Definition: HcalSimHitStudy.h:81
HcalSimHitStudy::meHFDepHitw_
MonitorElement * meHFDepHitw_
Definition: HcalSimHitStudy.h:71
ParameterSet.h
HcalSimHitStudy::meHFEtaHit_
MonitorElement * meHFEtaHit_
Definition: HcalSimHitStudy.h:72
HcalSimHitStudy::meHFEneHit_
MonitorElement * meHFEneHit_
Definition: HcalSimHitStudy.h:74
HcalSimHitStudy::meHEEtaHit_
MonitorElement * meHEEtaHit_
Definition: HcalSimHitStudy.h:72
edm::Event
Definition: Event.h:73
HcalSimHitStudy::ieta_bins_HB
int ieta_bins_HB
Definition: HcalSimHitStudy.h:52
HcalSimHitStudy::maxDepthHO_
int maxDepthHO_
Definition: HcalSimHitStudy.h:46
HcalSimHitStudy::meHBTimHit_
MonitorElement * meHBTimHit_
Definition: HcalSimHitStudy.h:78
HcalSimHitStudy::meHEEneHit_
MonitorElement * meHEEneHit_
Definition: HcalSimHitStudy.h:74
HcalSimHitStudy::meHBEtaHit_
MonitorElement * meHBEtaHit_
Definition: HcalSimHitStudy.h:72
HcalSimHitStudy::HcalSimHitStudy
HcalSimHitStudy(const edm::ParameterSet &ps)
Definition: HcalSimHitStudy.cc:7
HcalSimHitStudy::iphi_bins
int iphi_bins
Definition: HcalSimHitStudy.h:50
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37