CMS 3D CMS Logo

Functions
HcalHitAnalyzerImpl Namespace Reference

Functions

template<class Collection >
void analyze (edm::Event const &e, CaloHitAnalyzer &analyzer, edm::InputTag &tag)
 

Function Documentation

◆ analyze()

template<class Collection >
void HcalHitAnalyzerImpl::analyze ( edm::Event const &  e,
CaloHitAnalyzer analyzer,
edm::InputTag tag 
)

Definition at line 22 of file HcalHitAnalyzer.cc.

22  {
24  e.getByLabel(tag, recHits);
25  for (unsigned i = 0; i < recHits->size(); ++i) {
26  analyzer.analyze((*recHits)[i].id().rawId(), (*recHits)[i].energy());
27  }
28  }

References MillePedeFileConverter_cfg::e, HCALHighEnergyHPDFilter_cfi::energy, mps_fire::i, FastTrackerRecHitMaskProducer_cfi::recHits, and makeGlobalPositionRcd_cfg::tag.

mps_fire.i
i
Definition: mps_fire.py:428
edm::Handle
Definition: AssociativeIterator.h:50
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
FastTrackerRecHitMaskProducer_cfi.recHits
recHits
Definition: FastTrackerRecHitMaskProducer_cfi.py:8
makeGlobalPositionRcd_cfg.tag
tag
Definition: makeGlobalPositionRcd_cfg.py:6
analyzer
Definition: SiPixelLorentzAngle.h:82
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37