File indexing completed on 2024-04-06 12:11:06
0001 #ifndef EventFilter_Utilities_EvFFEDExcluder_h
0002 #define EventFilter_Utilities_EvFFEDExcluder_h
0003
0004 #include <vector>
0005
0006 #include "FWCore/Framework/interface/global/EDProducer.h"
0007
0008 class FEDRawDataCollection;
0009
0010 namespace evf {
0011
0012 class EvFFEDExcluder : public edm::global::EDProducer<> {
0013 public:
0014 explicit EvFFEDExcluder(edm::ParameterSet const&);
0015 ~EvFFEDExcluder() override = default;
0016
0017 void produce(edm::StreamID, edm::Event&, edm::EventSetup const&) const final;
0018 static void fillDescriptions(edm::ConfigurationDescriptions&);
0019
0020 private:
0021 edm::EDGetTokenT<FEDRawDataCollection> const rawDataToken_;
0022 std::vector<unsigned int> const fedIds_;
0023 };
0024
0025 }
0026
0027 #endif