File indexing completed on 2024-04-06 12:18:41
0001 #ifndef HLTL1NumberFilter_h
0002 #define HLTL1NumberFilter_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include "FWCore/Framework/interface/Frameworkfwd.h"
0023 #include "FWCore/Framework/interface/Event.h"
0024 #include "FWCore/Framework/interface/global/EDFilter.h"
0025
0026 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0027 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0028 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0029
0030 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
0031
0032 #include <string>
0033
0034
0035
0036
0037
0038 class HLTL1NumberFilter : public edm::global::EDFilter<> {
0039 public:
0040 explicit HLTL1NumberFilter(const edm::ParameterSet &);
0041 ~HLTL1NumberFilter() override;
0042 static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
0043
0044 private:
0045 bool filter(edm::StreamID, edm::Event &, const edm::EventSetup &) const override;
0046
0047
0048
0049
0050 const edm::EDGetTokenT<FEDRawDataCollection> inputToken_;
0051
0052 const unsigned int period_;
0053
0054 const int fedId_;
0055
0056 const bool invert_;
0057
0058 const bool useTCDS_;
0059 };
0060
0061 #endif