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