CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
HcalHitAnalyzerImpl Namespace Reference

Functions

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

Function Documentation

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

Definition at line 58 of file HcalHitAnalyzer.cc.

References CaloHitAnalyzer::analyze(), relval_parameters_module::energy, edm::Event::getByLabel(), mps_fire::i, and HLT_FULL_cff::recHits.

58  {
60  e.getByLabel(tag, recHits);
61  for (unsigned i = 0; i < recHits->size(); ++i) {
62  analyzer.analyze((*recHits)[i].id().rawId(), (*recHits)[i].energy());
63  }
64  }
void analyze(int detId, double recEnergy)
to be called for each RecHit