CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Attributes
HcalSimHitStudy Class Reference
Inheritance diagram for HcalSimHitStudy:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 HcalSimHitStudy (const edm::ParameterSet &ps)
 
 ~HcalSimHitStudy () override=default
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c) override
 
void analyzeHits (std::vector< PCaloHit > &)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Attributes

const bool checkHit_
 
const std::string g4Label
 
const std::string hcalHits
 
const HcalDDDRecConstantshcons_
 
const bool hep17_
 
int ieta_bins_HB
 
int ieta_bins_HE
 
int ieta_bins_HF
 
int ieta_bins_HO
 
float ieta_max_HB
 
float ieta_max_HE
 
float ieta_max_HF
 
float ieta_max_HO
 
float ieta_min_HB
 
float ieta_min_HE
 
float ieta_min_HF
 
float ieta_min_HO
 
int iphi_bins
 
float iphi_max
 
float iphi_min
 
int maxDepth_
 
int maxDepthHB_
 
int maxDepthHE_
 
int maxDepthHF_
 
int maxDepthHO_
 
MonitorElementmeAllNHit_
 
MonitorElementmeBadDetHit_
 
MonitorElementmeBadIdHit_
 
MonitorElementmeBadSubHit_
 
MonitorElementmeDepthHit_
 
MonitorElementmeDetectHit_
 
MonitorElementmeEnergyHit_
 
MonitorElementmeEtaHit_
 
MonitorElementmeEtaPhiHit_
 
std::vector< MonitorElement * > meEtaPhiHitDepth_
 
MonitorElementmeHBDepHit_
 
MonitorElementmeHBEneHit2_
 
MonitorElementmeHBEneHit_
 
MonitorElementmeHBEneMap_
 
MonitorElementmeHBEneSum_
 
MonitorElementmeHBEneSum_vs_ieta_
 
MonitorElementmeHBEtaHit_
 
MonitorElementmeHBL10Ene_
 
MonitorElementmeHBL10EneP_
 
MonitorElementmeHBNHit_
 
MonitorElementmeHBPhiHit_
 
MonitorElementmeHBTimHit_
 
MonitorElementmeHEDepHit_
 
MonitorElementmeHEEneHit2_
 
MonitorElementmeHEEneHit_
 
MonitorElementmeHEEneMap_
 
MonitorElementmeHEEneSum_
 
MonitorElementmeHEEneSum_vs_ieta_
 
MonitorElementmeHEEtaHit_
 
MonitorElementmeHEL10Ene_
 
MonitorElementmeHEL10EneP_
 
MonitorElementmeHENHit_
 
MonitorElementmeHEP17EneHit2_
 
MonitorElementmeHEP17EneHit_
 
MonitorElementmeHEPhiHit_
 
MonitorElementmeHETimHit_
 
MonitorElementmeHFDepHit_
 
MonitorElementmeHFDepHitw_
 
MonitorElementmeHFEneHit2_
 
MonitorElementmeHFEneHit_
 
MonitorElementmeHFEneMap_
 
MonitorElementmeHFEneSum_
 
MonitorElementmeHFEneSum_vs_ieta_
 
MonitorElementmeHFEtaHit_
 
MonitorElementmeHFL10Ene_
 
MonitorElementmeHFL10EneP_
 
MonitorElementmeHFNHit_
 
MonitorElementmeHFPhiHit_
 
MonitorElementmeHFTimHit_
 
MonitorElementmeHODepHit_
 
MonitorElementmeHOEneHit2_
 
MonitorElementmeHOEneHit_
 
MonitorElementmeHOEneMap_
 
MonitorElementmeHOEneSum_
 
MonitorElementmeHOEneSum_vs_ieta_
 
MonitorElementmeHOEtaHit_
 
MonitorElementmeHOL10Ene_
 
MonitorElementmeHOL10EneP_
 
MonitorElementmeHONHit_
 
MonitorElementmeHOPhiHit_
 
MonitorElementmeHOTimHit_
 
MonitorElementmePhiHit_
 
MonitorElementmePhiHitb_
 
MonitorElementmeSubdetHit_
 
MonitorElementmeTimeHit_
 
MonitorElementmeTimeWHit_
 
const std::string outFile_
 
const bool testNumber_
 
const edm::EDGetTokenT< edm::PCaloHitContainertok_hits_
 
const edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecordtok_HRNDC_
 
const bool verbose_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 27 of file HcalSimHitStudy.cc.

Constructor & Destructor Documentation

◆ HcalSimHitStudy()

HcalSimHitStudy::HcalSimHitStudy ( const edm::ParameterSet ps)

Definition at line 81 of file HcalSimHitStudy.cc.

References checkHit_, g4Label, hcalHits, and outFile_.

82  : g4Label(ps.getUntrackedParameter<std::string>("moduleLabel", "g4SimHits")),
83  hcalHits(ps.getUntrackedParameter<std::string>("HitCollection", "HcalHits")),
84  outFile_(ps.getUntrackedParameter<std::string>("outputFile", "hcHit.root")),
85  verbose_(ps.getUntrackedParameter<bool>("Verbose", false)),
86  checkHit_(true),
87  testNumber_(ps.getParameter<bool>("TestNumber")),
88  hep17_(ps.getParameter<bool>("hep17")),
89  tok_hits_(consumes<edm::PCaloHitContainer>(edm::InputTag(g4Label, hcalHits))),
90  tok_HRNDC_(esConsumes<HcalDDDRecConstants, HcalRecNumberingRecord, edm::Transition::BeginRun>()) {
91  edm::LogVerbatim("HcalSim") << "Module Label: " << g4Label << " Hits: " << hcalHits << " / " << checkHit_
92  << " Output: " << outFile_;
93 }
Log< level::Info, true > LogVerbatim
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
const bool testNumber_
const bool verbose_
const bool checkHit_
T getUntrackedParameter(std::string const &, T const &) const
const std::string outFile_
const std::string hcalHits
const edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tok_HRNDC_
const std::string g4Label

◆ ~HcalSimHitStudy()

HcalSimHitStudy::~HcalSimHitStudy ( )
overridedefault

Member Function Documentation

◆ analyze()

void HcalSimHitStudy::analyze ( const edm::Event e,
const edm::EventSetup c 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 258 of file HcalSimHitStudy.cc.

References analyzeHits(), checkHit_, MillePedeFileConverter_cfg::e, edm::HandleBase::isValid(), and tok_hits_.

258  {
259  edm::LogVerbatim("HcalSim") << "Run = " << e.id().run() << " Event = " << e.id().event();
260 
261  bool getHits = false;
262  if (checkHit_) {
263  const edm::Handle<edm::PCaloHitContainer> &hitsHcal = e.getHandle(tok_hits_);
264  if (hitsHcal.isValid()) {
265  getHits = true;
266  std::vector<PCaloHit> caloHits;
267  caloHits.insert(caloHits.end(), hitsHcal->begin(), hitsHcal->end());
268  edm::LogVerbatim("HcalSim") << "HcalValidation: Hit buffer " << caloHits.size();
269  analyzeHits(caloHits);
270  }
271  }
272 
273  edm::LogVerbatim("HcalSim") << "HcalValidation: Input flags Hits " << getHits;
274 }
Log< level::Info, true > LogVerbatim
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
const bool checkHit_
void analyzeHits(std::vector< PCaloHit > &)
bool isValid() const
Definition: HandleBase.h:70

◆ analyzeHits()

void HcalSimHitStudy::analyzeHits ( std::vector< PCaloHit > &  hits)
protected

Definition at line 276 of file HcalSimHitStudy.cc.

References TauDecayModes::dec, hcalRecHitTable_cff::depth, HcalDetId::depth(), DetId::det(), hcalRecHitTable_cff::energy, PVValHelper::eta, dqm::impl::MonitorElement::Fill(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hcons_, hep17_, hfClusterShapes_cfi::hits, mps_fire::i, HcalDetId::ieta(), ieta_bins_HB, ieta_bins_HE, ieta_bins_HF, ieta_bins_HO, ieta_min_HB, ieta_min_HE, ieta_min_HF, ieta_min_HO, createfilelist::int, HcalDetId::iphi(), iphi_bins, dqmiolumiharvest::j, meAllNHit_, meBadDetHit_, meBadIdHit_, meBadSubHit_, meDepthHit_, meDetectHit_, meEnergyHit_, meEtaHit_, meEtaPhiHit_, meEtaPhiHitDepth_, meHBDepHit_, meHBEneHit2_, meHBEneHit_, meHBEneMap_, meHBEneSum_, meHBEneSum_vs_ieta_, meHBEtaHit_, meHBL10Ene_, meHBL10EneP_, meHBNHit_, meHBPhiHit_, meHBTimHit_, meHEDepHit_, meHEEneHit2_, meHEEneHit_, meHEEneMap_, meHEEneSum_, meHEEneSum_vs_ieta_, meHEEtaHit_, meHEL10Ene_, meHEL10EneP_, meHENHit_, meHEP17EneHit2_, meHEP17EneHit_, meHEPhiHit_, meHETimHit_, meHFDepHit_, meHFDepHitw_, meHFEneHit2_, meHFEneHit_, meHFEneMap_, meHFEneSum_, meHFEneSum_vs_ieta_, meHFEtaHit_, meHFL10Ene_, meHFL10EneP_, meHFNHit_, meHFPhiHit_, meHFTimHit_, meHODepHit_, meHOEneHit2_, meHOEneHit_, meHOEneMap_, meHOEneSum_, meHOEneSum_vs_ieta_, meHOEtaHit_, meHOL10Ene_, meHOL10EneP_, meHONHit_, meHOPhiHit_, meHOTimHit_, mePhiHit_, mePhiHitb_, meSubdetHit_, meTimeHit_, meTimeWHit_, phi, HcalHitRelabeller::relabel(), HcalDetId::subdet(), testNumber_, and hcalRecHitTable_cff::time.

Referenced by analyze().

276  {
277  int nHit = hits.size();
278  int nHB = 0, nHE = 0, nHO = 0, nHF = 0, nBad1 = 0, nBad2 = 0, nBad = 0;
279  std::vector<double> encontHB(140, 0.);
280  std::vector<double> encontHE(140, 0.);
281  std::vector<double> encontHF(140, 0.);
282  std::vector<double> encontHO(140, 0.);
283  double entotHB = 0, entotHE = 0, entotHF = 0, entotHO = 0;
284 
285  double HBEneMap[ieta_bins_HB][iphi_bins];
286  double HEEneMap[ieta_bins_HE][iphi_bins];
287  double HOEneMap[ieta_bins_HO][iphi_bins];
288  double HFEneMap[ieta_bins_HF][iphi_bins];
289 
290  // Works in ieta_min_Hx is < 0
291  int eta_offset_HB = -(int)ieta_min_HB;
292  int eta_offset_HE = -(int)ieta_min_HE;
293  int eta_offset_HO = -(int)ieta_min_HO;
294  int eta_offset_HF = -(int)ieta_min_HF;
295 
296  for (int i = 0; i < ieta_bins_HB; i++) {
297  for (int j = 0; j < iphi_bins; j++) {
298  HBEneMap[i][j] = 0.;
299  }
300  }
301 
302  for (int i = 0; i < ieta_bins_HE; i++) {
303  for (int j = 0; j < iphi_bins; j++) {
304  HEEneMap[i][j] = 0.;
305  }
306  }
307 
308  for (int i = 0; i < ieta_bins_HO; i++) {
309  for (int j = 0; j < iphi_bins; j++) {
310  HOEneMap[i][j] = 0.;
311  }
312  }
313 
314  for (int i = 0; i < ieta_bins_HF; i++) {
315  for (int j = 0; j < iphi_bins; j++) {
316  HFEneMap[i][j] = 0.;
317  }
318  }
319 
320  for (int i = 0; i < nHit; i++) {
321  double energy = hits[i].energy();
322  double log10en = log10(energy);
323  int log10i = int((log10en + 10.) * 10.);
324  double time = hits[i].time();
325  unsigned int id = hits[i].id();
326  int det, subdet, depth, eta, phi;
327  HcalDetId hid;
328  if (testNumber_)
330  else
331  hid = HcalDetId(id);
332  det = hid.det();
333  subdet = hid.subdet();
334  depth = hid.depth();
335  eta = hid.ieta();
336  phi = hid.iphi();
337 
338  edm::LogVerbatim("HcalSim") << "Hit[" << i << "] ID " << std::hex << id << std::dec << " Det " << det << " Sub "
339  << subdet << " depth " << depth << " Eta " << eta << " Phi " << phi << " E " << energy
340  << " time " << time;
341  if (det == 4) { // Check DetId.h
342  if (subdet == static_cast<int>(HcalBarrel))
343  nHB++;
344  else if (subdet == static_cast<int>(HcalEndcap))
345  nHE++;
346  else if (subdet == static_cast<int>(HcalOuter))
347  nHO++;
348  else if (subdet == static_cast<int>(HcalForward))
349  nHF++;
350  else {
351  nBad++;
352  nBad2++;
353  }
354  } else {
355  nBad++;
356  nBad1++;
357  }
358 
359  meDetectHit_->Fill(double(det));
360  if (det == 4) {
361  meSubdetHit_->Fill(double(subdet));
362  meDepthHit_->Fill(double(depth));
363  meEtaHit_->Fill(double(eta));
364  meEtaPhiHit_->Fill(double(eta), double(phi));
365  meEtaPhiHitDepth_[depth - 1]->Fill(double(eta), double(phi));
366 
367  // We will group the phi plots by HB,HO and HE,HF since these groups share
368  // similar segmentation schemes
369  if (subdet == static_cast<int>(HcalBarrel))
370  mePhiHit_->Fill(double(phi));
371  else if (subdet == static_cast<int>(HcalEndcap))
372  mePhiHitb_->Fill(double(phi));
373  else if (subdet == static_cast<int>(HcalOuter))
374  mePhiHit_->Fill(double(phi));
375  else if (subdet == static_cast<int>(HcalForward))
376  mePhiHitb_->Fill(double(phi));
377 
378  // KC: HF energy is in photoelectrons rather than eV, so it will not be
379  // included in total HCal energy
380  if (subdet != static_cast<int>(HcalForward)) {
382 
383  // Since the HF energy is a different scale it does not make sense to
384  // include it in the Energy Weighted Plot
385  meTimeWHit_->Fill(double(time), energy);
386  }
387  meTimeHit_->Fill(time);
388 
389  if (subdet == static_cast<int>(HcalBarrel)) {
390  meHBDepHit_->Fill(double(depth));
391  meHBEtaHit_->Fill(double(eta));
392  meHBPhiHit_->Fill(double(phi));
396  meHBL10Ene_->Fill(log10en);
397  if (log10i >= 0 && log10i < 140)
398  encontHB[log10i] += energy;
399  entotHB += energy;
400 
401  HBEneMap[eta + eta_offset_HB][phi - 1] += energy;
402 
403  } else if (subdet == static_cast<int>(HcalEndcap)) {
404  meHEDepHit_->Fill(double(depth));
405  meHEEtaHit_->Fill(double(eta));
406  meHEPhiHit_->Fill(double(phi));
407 
408  bool isHEP17 = (phi >= 63) && (phi <= 66) && (eta > 0);
409  if (hep17_) {
410  if (!isHEP17) {
413  } else {
416  }
417  } else {
420  }
421 
423  meHEL10Ene_->Fill(log10en);
424  if (log10i >= 0 && log10i < 140)
425  encontHE[log10i] += energy;
426  entotHE += energy;
427 
428  HEEneMap[eta + eta_offset_HE][phi - 1] += energy;
429 
430  } else if (subdet == static_cast<int>(HcalOuter)) {
431  meHODepHit_->Fill(double(depth));
432  meHOEtaHit_->Fill(double(eta));
433  meHOPhiHit_->Fill(double(phi));
437  meHOL10Ene_->Fill(log10en);
438  if (log10i >= 0 && log10i < 140)
439  encontHO[log10i] += energy;
440  entotHO += energy;
441 
442  HOEneMap[eta + eta_offset_HO][phi - 1] += energy;
443 
444  } else if (subdet == static_cast<int>(HcalForward)) {
445  meHFDepHit_->Fill(double(depth));
446  meHFDepHitw_->Fill(double(depth), energy);
447  meHFEtaHit_->Fill(double(eta));
448  meHFPhiHit_->Fill(double(phi));
452  meHFL10Ene_->Fill(log10en);
453  if (log10i >= 0 && log10i < 140)
454  encontHF[log10i] += energy;
455  entotHF += energy;
456 
457  HFEneMap[eta + eta_offset_HF][phi - 1] += energy;
458  }
459  }
460  }
461  if (entotHB != 0)
462  for (int i = 0; i < 140; i++)
463  meHBL10EneP_->Fill(-10. + (float(i) + 0.5) / 10., encontHB[i] / entotHB);
464  if (entotHE != 0)
465  for (int i = 0; i < 140; i++)
466  meHEL10EneP_->Fill(-10. + (float(i) + 0.5) / 10., encontHE[i] / entotHE);
467  if (entotHF != 0)
468  for (int i = 0; i < 140; i++)
469  meHFL10EneP_->Fill(-10. + (float(i) + 0.5) / 10., encontHF[i] / entotHF);
470  if (entotHO != 0)
471  for (int i = 0; i < 140; i++)
472  meHOL10EneP_->Fill(-10. + (float(i) + 0.5) / 10., encontHO[i] / entotHO);
473 
474  meAllNHit_->Fill(double(nHit));
475  meBadDetHit_->Fill(double(nBad1));
476  meBadSubHit_->Fill(double(nBad2));
477  meBadIdHit_->Fill(double(nBad));
478  meHBNHit_->Fill(double(nHB));
479  meHENHit_->Fill(double(nHE));
480  meHONHit_->Fill(double(nHO));
481  meHFNHit_->Fill(double(nHF));
482 
483  for (int i = 0; i < ieta_bins_HB; i++) {
484  for (int j = 0; j < iphi_bins; j++) {
485  if (HBEneMap[i][j] != 0) {
486  meHBEneSum_->Fill(HBEneMap[i][j]);
487  meHBEneSum_vs_ieta_->Fill((i - eta_offset_HB), HBEneMap[i][j]);
488  meHBEneMap_->Fill((i - eta_offset_HB), j + 1, HBEneMap[i][j]);
489  }
490  }
491  }
492 
493  for (int i = 0; i < ieta_bins_HE; i++) {
494  for (int j = 0; j < iphi_bins; j++) {
495  if (HEEneMap[i][j] != 0) {
496  meHEEneSum_->Fill(HEEneMap[i][j]);
497  meHEEneSum_vs_ieta_->Fill((i - eta_offset_HE), HEEneMap[i][j]);
498  meHEEneMap_->Fill((i - eta_offset_HE), j + 1, HEEneMap[i][j]);
499  }
500  }
501  }
502 
503  for (int i = 0; i < ieta_bins_HO; i++) {
504  for (int j = 0; j < iphi_bins; j++) {
505  if (HOEneMap[i][j] != 0) {
506  meHOEneSum_->Fill(HOEneMap[i][j]);
507  meHOEneSum_vs_ieta_->Fill((i - eta_offset_HO), HOEneMap[i][j]);
508  meHOEneMap_->Fill((i - eta_offset_HO), j + 1, HOEneMap[i][j]);
509  }
510  }
511  }
512 
513  for (int i = 0; i < ieta_bins_HF; i++) {
514  for (int j = 0; j < iphi_bins; j++) {
515  if (HFEneMap[i][j] != 0) {
516  meHFEneSum_->Fill(HFEneMap[i][j]);
517  meHFEneSum_vs_ieta_->Fill((i - eta_offset_HF), HFEneMap[i][j]);
518  meHFEneMap_->Fill((i - eta_offset_HF), j + 1, HFEneMap[i][j]);
519  }
520  }
521  }
522 
523  edm::LogVerbatim("HcalSim") << "HcalSimHitStudy::analyzeHits: HB " << nHB << " HE " << nHE << " HO " << nHO << " HF "
524  << nHF << " Bad " << nBad << " All " << nHit;
525 }
MonitorElement * mePhiHit_
MonitorElement * meHBEneMap_
Log< level::Info, true > LogVerbatim
MonitorElement * meHEDepHit_
MonitorElement * meHOL10Ene_
MonitorElement * meHOEneSum_vs_ieta_
MonitorElement * meHOEneSum_
const bool testNumber_
MonitorElement * meHOPhiHit_
MonitorElement * meDetectHit_
MonitorElement * meHFNHit_
MonitorElement * meHFEtaHit_
MonitorElement * meHFL10EneP_
MonitorElement * meHBEneSum_vs_ieta_
MonitorElement * meHFEneHit2_
MonitorElement * meHOL10EneP_
MonitorElement * meHFDepHitw_
MonitorElement * meHBNHit_
MonitorElement * meHFTimHit_
MonitorElement * meHEEneSum_vs_ieta_
constexpr Detector det() const
get the detector field from this detid
Definition: DetId.h:46
MonitorElement * meHBEneHit2_
MonitorElement * meHONHit_
void Fill(long long x)
MonitorElement * meAllNHit_
MonitorElement * meHBL10Ene_
MonitorElement * meHEEneSum_
constexpr HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:138
MonitorElement * meBadDetHit_
MonitorElement * meHEP17EneHit2_
MonitorElement * meHFL10Ene_
MonitorElement * mePhiHitb_
MonitorElement * meHETimHit_
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
MonitorElement * meTimeHit_
const HcalDDDRecConstants * hcons_
MonitorElement * meHFDepHit_
MonitorElement * meHBEneSum_
MonitorElement * meHOEneMap_
MonitorElement * meHBTimHit_
MonitorElement * meHFEneSum_vs_ieta_
MonitorElement * meTimeWHit_
DetId relabel(const uint32_t testId) const
MonitorElement * meHBDepHit_
MonitorElement * meHFEneSum_
MonitorElement * meHFEneMap_
MonitorElement * meBadSubHit_
MonitorElement * meHENHit_
MonitorElement * meBadIdHit_
MonitorElement * meHEL10EneP_
MonitorElement * meEnergyHit_
MonitorElement * meHOEtaHit_
MonitorElement * meEtaPhiHit_
MonitorElement * meHEEneMap_
MonitorElement * meEtaHit_
MonitorElement * meHBEneHit_
MonitorElement * meHOTimHit_
MonitorElement * meHBL10EneP_
MonitorElement * meHEEneHit2_
MonitorElement * meHFPhiHit_
MonitorElement * meDepthHit_
MonitorElement * meHBEtaHit_
MonitorElement * meHODepHit_
std::vector< MonitorElement * > meEtaPhiHitDepth_
MonitorElement * meHEL10Ene_
MonitorElement * meHEEneHit_
MonitorElement * meHEPhiHit_
MonitorElement * meSubdetHit_
MonitorElement * meHBPhiHit_
constexpr int iphi() const
get the cell iphi
Definition: HcalDetId.h:157
MonitorElement * meHEP17EneHit_
MonitorElement * meHFEneHit_
MonitorElement * meHEEtaHit_
MonitorElement * meHOEneHit_
MonitorElement * meHOEneHit2_
constexpr int depth() const
get the tower depth
Definition: HcalDetId.h:164

◆ bookHistograms()

void HcalSimHitStudy::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  run,
edm::EventSetup const &  es 
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 95 of file HcalSimHitStudy.cc.

References checkHit_, hcalRecHitTable_cff::depth, edm::EventSetup::getData(), HcalDDDRecConstants::getEtaRange(), HcalDDDRecConstants::getMaxDepth(), HcalDDDRecConstants::getNPhi(), hcons_, cuy::ib, ieta_bins_HB, ieta_bins_HE, ieta_bins_HF, ieta_bins_HO, ieta_max_HB, ieta_max_HE, ieta_max_HF, ieta_max_HO, ieta_min_HB, ieta_min_HE, ieta_min_HF, ieta_min_HO, hcalTTPDigis_cfi::iEtaMax, createfilelist::int, iphi_bins, iphi_max, iphi_min, SiStripPI::max, maxDepth_, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, meAllNHit_, meBadDetHit_, meBadIdHit_, meBadSubHit_, meDepthHit_, meDetectHit_, meEnergyHit_, meEtaHit_, meEtaPhiHit_, meEtaPhiHitDepth_, meHBDepHit_, meHBEneHit2_, meHBEneHit_, meHBEneMap_, meHBEneSum_, meHBEneSum_vs_ieta_, meHBEtaHit_, meHBL10Ene_, meHBL10EneP_, meHBNHit_, meHBPhiHit_, meHBTimHit_, meHEDepHit_, meHEEneHit2_, meHEEneHit_, meHEEneMap_, meHEEneSum_, meHEEneSum_vs_ieta_, meHEEtaHit_, meHEL10Ene_, meHEL10EneP_, meHENHit_, meHEP17EneHit2_, meHEP17EneHit_, meHEPhiHit_, meHETimHit_, meHFDepHit_, meHFDepHitw_, meHFEneHit2_, meHFEneHit_, meHFEneMap_, meHFEneSum_, meHFEneSum_vs_ieta_, meHFEtaHit_, meHFL10Ene_, meHFL10EneP_, meHFNHit_, meHFPhiHit_, meHFTimHit_, meHODepHit_, meHOEneHit2_, meHOEneHit_, meHOEneMap_, meHOEneSum_, meHOEneSum_vs_ieta_, meHOEtaHit_, meHOL10Ene_, meHOL10EneP_, meHONHit_, meHOPhiHit_, meHOTimHit_, mePhiHit_, mePhiHitb_, meSubdetHit_, meTimeHit_, meTimeWHit_, and tok_HRNDC_.

95  {
96  hcons_ = &es.getData(tok_HRNDC_);
104 
105  // Get Phi segmentation from geometry, use the max phi number so that all iphi
106  // values are included.
107 
108  int NphiMax = hcons_->getNPhi(0);
109 
110  NphiMax = (hcons_->getNPhi(1) > NphiMax ? hcons_->getNPhi(1) : NphiMax);
111  NphiMax = (hcons_->getNPhi(2) > NphiMax ? hcons_->getNPhi(2) : NphiMax);
112  NphiMax = (hcons_->getNPhi(3) > NphiMax ? hcons_->getNPhi(3) : NphiMax);
113 
114  // Center the iphi bins on the integers
115  iphi_min = 0.5;
116  iphi_max = NphiMax + 0.5;
118 
119  int iEtaHBMax = hcons_->getEtaRange(0).second;
120  int iEtaHEMax = std::max(hcons_->getEtaRange(1).second, 1);
121  int iEtaHFMax = hcons_->getEtaRange(2).second;
122  int iEtaHOMax = hcons_->getEtaRange(3).second;
123 
124  // Retain classic behavior, all plots have same ieta range.
125  // Comment out code to allow each subdetector to have its on range
126 
127  int iEtaMax = (iEtaHBMax > iEtaHEMax ? iEtaHBMax : iEtaHEMax);
128  iEtaMax = (iEtaMax > iEtaHFMax ? iEtaMax : iEtaHFMax);
129  iEtaMax = (iEtaMax > iEtaHOMax ? iEtaMax : iEtaHOMax);
130 
131  iEtaHBMax = iEtaMax;
132  iEtaHEMax = iEtaMax;
133  iEtaHFMax = iEtaMax;
134  iEtaHOMax = iEtaMax;
135 
136  // Give an empty bin around the subdet ieta range to make it clear that all
137  // ieta rings have been included
138  ieta_min_HB = -iEtaHBMax - 1.5;
139  ieta_max_HB = iEtaHBMax + 1.5;
141 
142  ieta_min_HE = -iEtaHEMax - 1.5;
143  ieta_max_HE = iEtaHEMax + 1.5;
145 
146  ieta_min_HF = -iEtaHFMax - 1.5;
147  ieta_max_HF = iEtaHFMax + 1.5;
149 
150  ieta_min_HO = -iEtaHOMax - 1.5;
151  ieta_max_HO = iEtaHOMax + 1.5;
153 
154  Char_t hname[100];
155  Char_t htitle[100];
156 
157  ib.setCurrentFolder("HcalHitsV/HcalSimHitsTask");
158 
159  // Histograms for Hits
160  if (checkHit_) {
161  meAllNHit_ = ib.book1D("Hit01", "Number of Hits in HCal", 20000, 0., 20000.);
162  meBadDetHit_ = ib.book1D("Hit02", "Hits with wrong Det", 100, 0., 100.);
163  meBadSubHit_ = ib.book1D("Hit03", "Hits with wrong Subdet", 100, 0., 100.);
164  meBadIdHit_ = ib.book1D("Hit04", "Hits with wrong ID", 100, 0., 100.);
165  meHBNHit_ = ib.book1D("Hit05", "Number of Hits in HB", 20000, 0., 20000.);
166  meHENHit_ = ib.book1D("Hit06", "Number of Hits in HE", 10000, 0., 10000.);
167  meHONHit_ = ib.book1D("Hit07", "Number of Hits in HO", 10000, 0., 10000.);
168  meHFNHit_ = ib.book1D("Hit08", "Number of Hits in HF", 10000, 0., 10000.);
169  meDetectHit_ = ib.book1D("Hit09", "Detector ID", 50, 0., 50.);
170  meSubdetHit_ = ib.book1D("Hit10", "Subdetectors in HCal", 50, 0., 50.);
171  meDepthHit_ = ib.book1D("Hit11", "Depths in HCal", 20, 0., 20.);
172  meEtaHit_ = ib.book1D("Hit12", "Eta in HCal", ieta_bins_HF, ieta_min_HF, ieta_max_HF);
173  meEtaPhiHit_ =
174  ib.book2D("Hit12b", "Eta-phi in HCal", ieta_bins_HF, ieta_min_HF, ieta_max_HF, iphi_bins, iphi_min, iphi_max);
175  for (int depth = 1; depth <= maxDepth_; depth++) {
176  sprintf(hname, "Hit12bd%d", depth);
177  sprintf(htitle, "Eta-phi in HCal d%d", depth);
178  meEtaPhiHitDepth_.push_back(
179  ib.book2D(hname, htitle, ieta_bins_HF, ieta_min_HF, ieta_max_HF, iphi_bins, iphi_min, iphi_max));
180  }
181  // KC: There are different phi segmentation schemes, this plot uses wider
182  // bins to represent the most sparse segmentation
183  mePhiHit_ = ib.book1D("Hit13", "Phi in HCal (HB,HO)", iphi_bins, iphi_min, iphi_max);
184  mePhiHitb_ = ib.book1D("Hit13b", "Phi in HCal (HE,HF)", iphi_bins, iphi_min, iphi_max);
185  meEnergyHit_ = ib.book1D("Hit14", "Energy in HCal", 2000, 0., 20.);
186  meTimeHit_ = ib.book1D("Hit15", "Time in HCal", 528, 0., 528.);
187  meTimeWHit_ = ib.book1D("Hit16", "Time in HCal (E wtd)", 528, 0., 528.);
188  meHBDepHit_ = ib.book1D("Hit17", "Depths in HB", 20, 0., 20.);
189  meHEDepHit_ = ib.book1D("Hit18", "Depths in HE", 20, 0., 20.);
190  meHODepHit_ = ib.book1D("Hit19", "Depths in HO", 20, 0., 20.);
191  meHFDepHit_ = ib.book1D("Hit20", "Depths in HF", 20, 0., 20.);
192  meHFDepHitw_ = ib.book1D("Hit20b", "Depths in HF (p.e. weighted)", 20, 0., 20.);
193  meHBEtaHit_ = ib.book1D("Hit21", "Eta in HB", ieta_bins_HB, ieta_min_HB, ieta_max_HB);
194  meHEEtaHit_ = ib.book1D("Hit22", "Eta in HE", ieta_bins_HE, ieta_min_HE, ieta_max_HE);
195  meHOEtaHit_ = ib.book1D("Hit23", "Eta in HO", ieta_bins_HO, ieta_min_HO, ieta_max_HO);
196  meHFEtaHit_ = ib.book1D("Hit24", "Eta in HF", ieta_bins_HF, ieta_min_HF, ieta_max_HF);
197  meHBPhiHit_ = ib.book1D("Hit25", "Phi in HB", iphi_bins, iphi_min, iphi_max);
198  meHEPhiHit_ = ib.book1D("Hit26", "Phi in HE", iphi_bins, iphi_min, iphi_max);
199  meHOPhiHit_ = ib.book1D("Hit27", "Phi in HO", iphi_bins, iphi_min, iphi_max);
200  meHFPhiHit_ = ib.book1D("Hit28", "Phi in HF", iphi_bins, iphi_min, iphi_max);
201  meHBEneHit_ = ib.book1D("Hit29", "Energy in HB", 2000, 0., 20.);
202  meHEEneHit_ = ib.book1D("Hit30", "Energy in HE", 500, 0., 5.);
203  meHEP17EneHit_ = ib.book1D("Hit30b", "Energy in HEP17", 500, 0., 5.);
204  meHOEneHit_ = ib.book1D("Hit31", "Energy in HO", 500, 0., 5.);
205  meHFEneHit_ = ib.book1D("Hit32", "Energy in HF", 1001, -0.5, 1000.5);
206 
207  // HxEneMap, HxEneSum, HxEneSum_vs_ieta plot the sum of the simhits energy
208  // within a single ieta-iphi tower.
209 
210  meHBEneMap_ =
211  ib.book2D("HBEneMap", "HBEneMap", ieta_bins_HB, ieta_min_HB, ieta_max_HB, iphi_bins, iphi_min, iphi_max);
212  meHEEneMap_ =
213  ib.book2D("HEEneMap", "HEEneMap", ieta_bins_HE, ieta_min_HE, ieta_max_HE, iphi_bins, iphi_min, iphi_max);
214  meHOEneMap_ =
215  ib.book2D("HOEneMap", "HOEneMap", ieta_bins_HO, ieta_min_HO, ieta_max_HO, iphi_bins, iphi_min, iphi_max);
216  meHFEneMap_ =
217  ib.book2D("HFEneMap", "HFEneMap", ieta_bins_HF, ieta_min_HF, ieta_max_HF, iphi_bins, iphi_min, iphi_max);
218 
219  meHBEneSum_ = ib.book1D("HBEneSum", "HBEneSum", 2000, 0., 20.);
220  meHEEneSum_ = ib.book1D("HEEneSum", "HEEneSum", 500, 0., 5.);
221  meHOEneSum_ = ib.book1D("HOEneSum", "HOEneSum", 500, 0., 5.);
222  meHFEneSum_ = ib.book1D("HFEneSum", "HFEneSum", 1001, -0.5, 1000.5);
223 
224  meHBEneSum_vs_ieta_ = ib.bookProfile(
225  "HBEneSum_vs_ieta", "HBEneSum_vs_ieta", ieta_bins_HB, ieta_min_HB, ieta_max_HB, 2011, -10.5, 2000.5, " ");
226  meHEEneSum_vs_ieta_ = ib.bookProfile(
227  "HEEneSum_vs_ieta", "HEEneSum_vs_ieta", ieta_bins_HE, ieta_min_HE, ieta_max_HE, 2011, -10.5, 2000.5, " ");
228  meHOEneSum_vs_ieta_ = ib.bookProfile(
229  "HOEneSum_vs_ieta", "HOEneSum_vs_ieta", ieta_bins_HO, ieta_min_HO, ieta_max_HO, 2011, -10.5, 2000.5, " ");
230  meHFEneSum_vs_ieta_ = ib.bookProfile(
231  "HFEneSum_vs_ieta", "HFEneSum_vs_ieta", ieta_bins_HF, ieta_min_HF, ieta_max_HF, 2011, -10.5, 2000.5, " ");
232 
233  meHBTimHit_ = ib.book1D("Hit33", "Time in HB", 528, 0., 528.);
234  meHETimHit_ = ib.book1D("Hit34", "Time in HE", 528, 0., 528.);
235  meHOTimHit_ = ib.book1D("Hit35", "Time in HO", 528, 0., 528.);
236  meHFTimHit_ = ib.book1D("Hit36", "Time in HF", 528, 0., 528.);
237  // These are the zoomed in energy ranges
238  meHBEneHit2_ = ib.book1D("Hit37", "Energy in HB 2", 100, 0., 0.0001);
239  meHEEneHit2_ = ib.book1D("Hit38", "Energy in HE 2", 100, 0., 0.0001);
240  meHEP17EneHit2_ = ib.book1D("Hit38b", "Energy in HEP17 2", 100, 0., 0.0001);
241  meHOEneHit2_ = ib.book1D("Hit39", "Energy in HO 2", 100, 0., 0.0001);
242  meHFEneHit2_ = ib.book1D("Hit40", "Energy in HF 2", 100, 0.5, 100.5);
243  meHBL10Ene_ = ib.book1D("Hit41", "Log10Energy in HB", 140, -10., 4.);
244  meHEL10Ene_ = ib.book1D("Hit42", "Log10Energy in HE", 140, -10., 4.);
245  meHFL10Ene_ = ib.book1D("Hit43", "Log10Energy in HF", 50, -1., 4.);
246  meHOL10Ene_ = ib.book1D("Hit44", "Log10Energy in HO", 140, -10., 4.);
247  meHBL10EneP_ = ib.bookProfile("Hit45", "Log10Energy in HB vs Hit contribution", 140, -10., 4., 100, 0., 1.);
248  meHEL10EneP_ = ib.bookProfile("Hit46", "Log10Energy in HE vs Hit contribution", 140, -10., 4., 100, 0., 1.);
249  meHFL10EneP_ = ib.bookProfile("Hit47", "Log10Energy in HF vs Hit contribution", 140, -10., 4., 100, 0., 1.);
250  meHOL10EneP_ = ib.bookProfile("Hit48", "Log10Energy in HO vs Hit contribution", 140, -10., 4., 100, 0., 1.);
251  }
252 }
MonitorElement * mePhiHit_
MonitorElement * meHBEneMap_
std::pair< int, int > getEtaRange(const int &i) const
MonitorElement * meHEDepHit_
MonitorElement * meHOL10Ene_
MonitorElement * meHOEneSum_vs_ieta_
MonitorElement * meHOEneSum_
MonitorElement * meHOPhiHit_
MonitorElement * meDetectHit_
MonitorElement * meHFNHit_
MonitorElement * meHFEtaHit_
int getNPhi(const int &type) const
MonitorElement * meHFL10EneP_
MonitorElement * meHBEneSum_vs_ieta_
MonitorElement * meHFEneHit2_
MonitorElement * meHOL10EneP_
const bool checkHit_
MonitorElement * meHFDepHitw_
MonitorElement * meHBNHit_
MonitorElement * meHFTimHit_
MonitorElement * meHEEneSum_vs_ieta_
MonitorElement * meHBEneHit2_
MonitorElement * meHONHit_
MonitorElement * meAllNHit_
MonitorElement * meHBL10Ene_
MonitorElement * meHEEneSum_
MonitorElement * meBadDetHit_
MonitorElement * meHEP17EneHit2_
MonitorElement * meHFL10Ene_
MonitorElement * mePhiHitb_
MonitorElement * meHETimHit_
MonitorElement * meTimeHit_
const HcalDDDRecConstants * hcons_
MonitorElement * meHFDepHit_
MonitorElement * meHBEneSum_
MonitorElement * meHOEneMap_
MonitorElement * meHBTimHit_
MonitorElement * meHFEneSum_vs_ieta_
MonitorElement * meTimeWHit_
int getMaxDepth(const int &type) const
MonitorElement * meHBDepHit_
MonitorElement * meHFEneSum_
MonitorElement * meHFEneMap_
MonitorElement * meBadSubHit_
MonitorElement * meHENHit_
MonitorElement * meBadIdHit_
MonitorElement * meHEL10EneP_
MonitorElement * meEnergyHit_
const edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tok_HRNDC_
MonitorElement * meHOEtaHit_
MonitorElement * meEtaPhiHit_
MonitorElement * meHEEneMap_
MonitorElement * meEtaHit_
MonitorElement * meHBEneHit_
MonitorElement * meHOTimHit_
MonitorElement * meHBL10EneP_
MonitorElement * meHEEneHit2_
MonitorElement * meHFPhiHit_
MonitorElement * meDepthHit_
MonitorElement * meHBEtaHit_
MonitorElement * meHODepHit_
std::vector< MonitorElement * > meEtaPhiHitDepth_
MonitorElement * meHEL10Ene_
MonitorElement * meHEEneHit_
MonitorElement * meHEPhiHit_
MonitorElement * meSubdetHit_
MonitorElement * meHBPhiHit_
MonitorElement * meHEP17EneHit_
MonitorElement * meHFEneHit_
MonitorElement * meHEEtaHit_
ib
Definition: cuy.py:661
MonitorElement * meHOEneHit_
MonitorElement * meHOEneHit2_

Member Data Documentation

◆ checkHit_

const bool HcalSimHitStudy::checkHit_
private

Definition at line 58 of file HcalSimHitStudy.cc.

Referenced by analyze(), bookHistograms(), and HcalSimHitStudy().

◆ g4Label

const std::string HcalSimHitStudy::g4Label
private

Definition at line 57 of file HcalSimHitStudy.cc.

Referenced by HcalSimHitStudy().

◆ hcalHits

const std::string HcalSimHitStudy::hcalHits
private

Definition at line 57 of file HcalSimHitStudy.cc.

Referenced by HcalSimHitStudy().

◆ hcons_

const HcalDDDRecConstants* HcalSimHitStudy::hcons_
private

Definition at line 41 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ hep17_

const bool HcalSimHitStudy::hep17_
private

Definition at line 58 of file HcalSimHitStudy.cc.

Referenced by analyzeHits().

◆ ieta_bins_HB

int HcalSimHitStudy::ieta_bins_HB
private

Definition at line 48 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ ieta_bins_HE

int HcalSimHitStudy::ieta_bins_HE
private

Definition at line 50 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ ieta_bins_HF

int HcalSimHitStudy::ieta_bins_HF
private

Definition at line 54 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ ieta_bins_HO

int HcalSimHitStudy::ieta_bins_HO
private

Definition at line 52 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ ieta_max_HB

float HcalSimHitStudy::ieta_max_HB
private

Definition at line 49 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ ieta_max_HE

float HcalSimHitStudy::ieta_max_HE
private

Definition at line 51 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ ieta_max_HF

float HcalSimHitStudy::ieta_max_HF
private

Definition at line 55 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ ieta_max_HO

float HcalSimHitStudy::ieta_max_HO
private

Definition at line 53 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ ieta_min_HB

float HcalSimHitStudy::ieta_min_HB
private

Definition at line 49 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ ieta_min_HE

float HcalSimHitStudy::ieta_min_HE
private

Definition at line 51 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ ieta_min_HF

float HcalSimHitStudy::ieta_min_HF
private

Definition at line 55 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ ieta_min_HO

float HcalSimHitStudy::ieta_min_HO
private

Definition at line 53 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ iphi_bins

int HcalSimHitStudy::iphi_bins
private

Definition at line 46 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ iphi_max

float HcalSimHitStudy::iphi_max
private

Definition at line 47 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ iphi_min

float HcalSimHitStudy::iphi_min
private

Definition at line 47 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ maxDepth_

int HcalSimHitStudy::maxDepth_
private

Definition at line 44 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ maxDepthHB_

int HcalSimHitStudy::maxDepthHB_
private

Definition at line 42 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ maxDepthHE_

int HcalSimHitStudy::maxDepthHE_
private

Definition at line 42 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ maxDepthHF_

int HcalSimHitStudy::maxDepthHF_
private

Definition at line 43 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ maxDepthHO_

int HcalSimHitStudy::maxDepthHO_
private

Definition at line 43 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ meAllNHit_

MonitorElement* HcalSimHitStudy::meAllNHit_
private

Definition at line 62 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meBadDetHit_

MonitorElement * HcalSimHitStudy::meBadDetHit_
private

Definition at line 62 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meBadIdHit_

MonitorElement * HcalSimHitStudy::meBadIdHit_
private

Definition at line 62 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meBadSubHit_

MonitorElement * HcalSimHitStudy::meBadSubHit_
private

Definition at line 62 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meDepthHit_

MonitorElement * HcalSimHitStudy::meDepthHit_
private

Definition at line 64 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meDetectHit_

MonitorElement* HcalSimHitStudy::meDetectHit_
private

Definition at line 64 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meEnergyHit_

MonitorElement * HcalSimHitStudy::meEnergyHit_
private

Definition at line 66 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meEtaHit_

MonitorElement * HcalSimHitStudy::meEtaHit_
private

Definition at line 64 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meEtaPhiHit_

MonitorElement * HcalSimHitStudy::meEtaPhiHit_
private

Definition at line 64 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meEtaPhiHitDepth_

std::vector<MonitorElement *> HcalSimHitStudy::meEtaPhiHitDepth_
private

Definition at line 65 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBDepHit_

MonitorElement* HcalSimHitStudy::meHBDepHit_
private

Definition at line 67 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBEneHit2_

MonitorElement* HcalSimHitStudy::meHBEneHit2_
private

Definition at line 75 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBEneHit_

MonitorElement* HcalSimHitStudy::meHBEneHit_
private

Definition at line 70 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBEneMap_

MonitorElement* HcalSimHitStudy::meHBEneMap_
private

Definition at line 71 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBEneSum_

MonitorElement* HcalSimHitStudy::meHBEneSum_
private

Definition at line 72 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBEneSum_vs_ieta_

MonitorElement* HcalSimHitStudy::meHBEneSum_vs_ieta_
private

Definition at line 73 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBEtaHit_

MonitorElement* HcalSimHitStudy::meHBEtaHit_
private

Definition at line 68 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBL10Ene_

MonitorElement* HcalSimHitStudy::meHBL10Ene_
private

Definition at line 76 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBL10EneP_

MonitorElement* HcalSimHitStudy::meHBL10EneP_
private

Definition at line 77 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBNHit_

MonitorElement* HcalSimHitStudy::meHBNHit_
private

Definition at line 63 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBPhiHit_

MonitorElement* HcalSimHitStudy::meHBPhiHit_
private

Definition at line 69 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHBTimHit_

MonitorElement* HcalSimHitStudy::meHBTimHit_
private

Definition at line 74 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEDepHit_

MonitorElement * HcalSimHitStudy::meHEDepHit_
private

Definition at line 67 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEEneHit2_

MonitorElement * HcalSimHitStudy::meHEEneHit2_
private

Definition at line 75 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEEneHit_

MonitorElement * HcalSimHitStudy::meHEEneHit_
private

Definition at line 70 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEEneMap_

MonitorElement * HcalSimHitStudy::meHEEneMap_
private

Definition at line 71 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEEneSum_

MonitorElement * HcalSimHitStudy::meHEEneSum_
private

Definition at line 72 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEEneSum_vs_ieta_

MonitorElement * HcalSimHitStudy::meHEEneSum_vs_ieta_
private

Definition at line 73 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEEtaHit_

MonitorElement * HcalSimHitStudy::meHEEtaHit_
private

Definition at line 68 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEL10Ene_

MonitorElement * HcalSimHitStudy::meHEL10Ene_
private

Definition at line 76 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEL10EneP_

MonitorElement * HcalSimHitStudy::meHEL10EneP_
private

Definition at line 77 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHENHit_

MonitorElement * HcalSimHitStudy::meHENHit_
private

Definition at line 63 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEP17EneHit2_

MonitorElement * HcalSimHitStudy::meHEP17EneHit2_
private

Definition at line 78 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEP17EneHit_

MonitorElement* HcalSimHitStudy::meHEP17EneHit_
private

Definition at line 78 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHEPhiHit_

MonitorElement * HcalSimHitStudy::meHEPhiHit_
private

Definition at line 69 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHETimHit_

MonitorElement * HcalSimHitStudy::meHETimHit_
private

Definition at line 74 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFDepHit_

MonitorElement * HcalSimHitStudy::meHFDepHit_
private

Definition at line 67 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFDepHitw_

MonitorElement * HcalSimHitStudy::meHFDepHitw_
private

Definition at line 67 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFEneHit2_

MonitorElement * HcalSimHitStudy::meHFEneHit2_
private

Definition at line 75 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFEneHit_

MonitorElement * HcalSimHitStudy::meHFEneHit_
private

Definition at line 70 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFEneMap_

MonitorElement * HcalSimHitStudy::meHFEneMap_
private

Definition at line 71 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFEneSum_

MonitorElement * HcalSimHitStudy::meHFEneSum_
private

Definition at line 72 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFEneSum_vs_ieta_

MonitorElement * HcalSimHitStudy::meHFEneSum_vs_ieta_
private

Definition at line 73 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFEtaHit_

MonitorElement * HcalSimHitStudy::meHFEtaHit_
private

Definition at line 68 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFL10Ene_

MonitorElement * HcalSimHitStudy::meHFL10Ene_
private

Definition at line 76 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFL10EneP_

MonitorElement * HcalSimHitStudy::meHFL10EneP_
private

Definition at line 77 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFNHit_

MonitorElement * HcalSimHitStudy::meHFNHit_
private

Definition at line 63 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFPhiHit_

MonitorElement * HcalSimHitStudy::meHFPhiHit_
private

Definition at line 69 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHFTimHit_

MonitorElement * HcalSimHitStudy::meHFTimHit_
private

Definition at line 74 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHODepHit_

MonitorElement * HcalSimHitStudy::meHODepHit_
private

Definition at line 67 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHOEneHit2_

MonitorElement * HcalSimHitStudy::meHOEneHit2_
private

Definition at line 75 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHOEneHit_

MonitorElement * HcalSimHitStudy::meHOEneHit_
private

Definition at line 70 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHOEneMap_

MonitorElement * HcalSimHitStudy::meHOEneMap_
private

Definition at line 71 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHOEneSum_

MonitorElement * HcalSimHitStudy::meHOEneSum_
private

Definition at line 72 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHOEneSum_vs_ieta_

MonitorElement * HcalSimHitStudy::meHOEneSum_vs_ieta_
private

Definition at line 73 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHOEtaHit_

MonitorElement * HcalSimHitStudy::meHOEtaHit_
private

Definition at line 68 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHOL10Ene_

MonitorElement * HcalSimHitStudy::meHOL10Ene_
private

Definition at line 76 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHOL10EneP_

MonitorElement * HcalSimHitStudy::meHOL10EneP_
private

Definition at line 77 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHONHit_

MonitorElement * HcalSimHitStudy::meHONHit_
private

Definition at line 63 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHOPhiHit_

MonitorElement * HcalSimHitStudy::meHOPhiHit_
private

Definition at line 69 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meHOTimHit_

MonitorElement * HcalSimHitStudy::meHOTimHit_
private

Definition at line 74 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ mePhiHit_

MonitorElement* HcalSimHitStudy::mePhiHit_
private

Definition at line 66 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ mePhiHitb_

MonitorElement * HcalSimHitStudy::mePhiHitb_
private

Definition at line 66 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meSubdetHit_

MonitorElement * HcalSimHitStudy::meSubdetHit_
private

Definition at line 64 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meTimeHit_

MonitorElement * HcalSimHitStudy::meTimeHit_
private

Definition at line 66 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meTimeWHit_

MonitorElement * HcalSimHitStudy::meTimeWHit_
private

Definition at line 66 of file HcalSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ outFile_

const std::string HcalSimHitStudy::outFile_
private

Definition at line 57 of file HcalSimHitStudy.cc.

Referenced by HcalSimHitStudy().

◆ testNumber_

const bool HcalSimHitStudy::testNumber_
private

Definition at line 58 of file HcalSimHitStudy.cc.

Referenced by analyzeHits().

◆ tok_hits_

const edm::EDGetTokenT<edm::PCaloHitContainer> HcalSimHitStudy::tok_hits_
private

Definition at line 59 of file HcalSimHitStudy.cc.

Referenced by analyze().

◆ tok_HRNDC_

const edm::ESGetToken<HcalDDDRecConstants, HcalRecNumberingRecord> HcalSimHitStudy::tok_HRNDC_
private

Definition at line 60 of file HcalSimHitStudy.cc.

Referenced by bookHistograms().

◆ verbose_

const bool HcalSimHitStudy::verbose_
private

Definition at line 58 of file HcalSimHitStudy.cc.