File indexing completed on 2024-04-06 12:18:40
0001 #ifndef HLTEventNumberFilter_h
0002 #define HLTEventNumberFilter_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/ParameterSet/interface/ParameterSet.h"
0025 #include "FWCore/Framework/interface/global/EDFilter.h"
0026
0027 #include <string>
0028
0029 namespace edm {
0030 class ConfigurationDescriptions;
0031 }
0032
0033
0034
0035
0036
0037 class HLTEventNumberFilter : public edm::global::EDFilter<> {
0038 public:
0039 explicit HLTEventNumberFilter(const edm::ParameterSet&);
0040 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0041
0042 private:
0043 bool filter(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0044
0045
0046
0047
0048 unsigned int period_;
0049
0050 bool invert_;
0051 };
0052
0053 #endif