18 std::vector<unsigned int>
ret;
29 }(
config.getParameter<std::vector<unsigned int>>(
"fedsToExclude"))) {
30 produces<FEDRawDataCollection>();
36 desc.add<std::vector<unsigned int>>(
"fedsToExclude", {});
37 descriptions.
add(
"EvFFEDExcluder",
desc);
41 auto out = std::make_unique<FEDRawDataCollection>();
42 auto const rawDataHandle =
event.getHandle(rawDataToken_);
44 for (
auto const fedId : fedIds_)
45 if (rawDataHandle->FEDData(
fedId).size() > 0)
void produce(edm::StreamID, edm::Event &, edm::EventSetup const &) const final
ret
prodAgent to be discontinued
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
static void fillDescriptions(edm::ConfigurationDescriptions &)
EvFFEDExcluder(edm::ParameterSet const &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static constexpr int lastFEDId()