CMS 3D CMS Logo

Functions
HcalDigiAnalyzerImpl Namespace Reference

Functions

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

Function Documentation

template<class Collection >
void HcalDigiAnalyzerImpl::analyze ( edm::Event const &  e,
HcalDigiStatistics statistics,
edm::InputTag tag 
)

Definition at line 26 of file HcalDigiAnalyzer.cc.

References HcalDigiStatistics::analyze(), gather_cfg::cout, edm::Event::getByLabel(), and mps_fire::i.

26  {
28  e.getByLabel(tag, digis);
29  for (unsigned i = 0; i < digis->size(); ++i) {
30  std::cout << (*digis)[i] << std::endl;
31  statistics.analyze((*digis)[i]);
32  }
33  }
void analyze(const Digi &digi)