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 GlobalPosition_Frontier_DevDB_cff::tag.

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