CMS 3D CMS Logo

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

Functions

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

Function Documentation

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

Definition at line 23 of file HcalHitAnalyzer.cc.

References CaloHitAnalyzer::analyze(), relval_parameters_module::energy, edm::Event::getByType(), and i.

23  {
25  e.getByType(recHits);
26  for(unsigned i = 0 ; i < recHits->size(); ++i) {
27  analyzer.analyze((*recHits)[i].id().rawId(), (*recHits)[i].energy());
28  }
29  }
int i
Definition: DBlmapReader.cc:9
void analyze(int detId, double recEnergy)
to be called for each RecHit