86 : _collectionToken(consumes<
T>(iConfig.getParameter<
edm::
InputTag>(
"collectionName"))),
87 _absthr(iConfig.getUntrackedParameter<
int>(
"absoluteThreshold")),
88 _modthr(iConfig.getUntrackedParameter<
int>(
"moduleThreshold")),
89 _useQuality(iConfig.getUntrackedParameter<
bool>(
"useQuality",
false)),
110 if (_qualityWatcher.check(iSetup)) {
111 _qualityHandle = &iSetup.
getData(_qualityToken);
112 LogDebug(
"SiStripQualityUpdated") <<
"SiStripQuality has changed and it will be updated";
117 iEvent.getByToken(_collectionToken, digis);
120 for (
typename T::const_iterator it = digis->begin(); it != digis->end(); it++) {
121 if (!_useQuality || !_qualityHandle->IsModuleBad(it->detId())) {
122 if (_modthr < 0 ||
int(it->size()) < _modthr) {
123 ndigitot += it->size();
128 if (ndigitot > _absthr) {
129 LogDebug(
"LargeEventSelected") <<
"event with " << ndigitot <<
" digi/cluster selected";