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 30 of file HcalDigiAnalyzer.cc.

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

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