CMS 3D CMS Logo

Functions
HcalDigiAnalyzerImpl Namespace Reference

Functions

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

Function Documentation

◆ analyze()

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

Definition at line 129 of file HcalDigiAnalyzer.cc.

References MillePedeFileConverter_cfg::e, mps_fire::i, debug_messages_cfi::statistics, and unpackBuffers-CaloStage2::token.

129  {
130  const edm::Handle<Collection> &digis = e.getHandle(token);
131  for (unsigned i = 0; i < digis->size(); ++i) {
132  edm::LogVerbatim("HcalSim") << (*digis)[i];
133  statistics.analyze((*digis)[i]);
134  }
135  }
Log< level::Info, true > LogVerbatim