diff --git a/DQM/HcalTasks/plugins/RawTask.cc b/DQM/HcalTasks/plugins/RawTask.cc index d1f23cb22e61c..802064588ed0d 100644 --- a/DQM/HcalTasks/plugins/RawTask.cc +++ b/DQM/HcalTasks/plugins/RawTask.cc @@ -263,7 +263,7 @@ RawTask::RawTask(edm::ParameterSet const& ps): for (int is=0; isgetSpigotData(is, htr, raw.size()); - if (r!=0) + if (r!=0 || !htr.check()) continue; HcalElectronicsId eid = HcalElectronicsId( constants::FIBERCH_MIN, constants::FIBER_VME_MIN,