test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 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  }
int i
Definition: DBlmapReader.cc:9
void analyze(const Digi &digi)
tuple cout
Definition: gather_cfg.py:121