76 : _digicollectionToken(consumes<
T>(iConfig.getParameter<
edm::
InputTag>(
"collectionName"))),
77 _wantedmod(iConfig.getUntrackedParameter<
std::
vector<unsigned
int> >(
"selectedModules"))
84 edm::LogInfo(
"SelectedModules") <<
"Selected module list";
106 iEvent.getByToken(_digicollectionToken, digis);
108 for (
typename T::const_iterator it = digis->begin(); it != digis->end(); it++) {
109 for (std::vector<unsigned int>::const_iterator
mod = _wantedmod.begin();
110 mod != _wantedmod.end() && it->detId() >= *
mod;
112 if (*
mod == it->detId()) {
113 edm::LogInfo(
"ModuleFound") <<
" module " << *
mod <<
" found with " << it->size() <<
" digis/clusters";