File indexing completed on 2024-04-06 12:10:32
0001 #ifndef EventFilter_FilterByLTC_h
0002 #define EventFilter_FilterByLTC_h
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "FWCore/Framework/interface/one/EDFilter.h"
0012 #include "FWCore/Utilities/interface/InputTag.h"
0013
0014 namespace edm {
0015 class ParameterSet;
0016 class Event;
0017 class EventSetup;
0018 }
0019
0020 class FilterByLTC : public edm::one::EDFilter<> {
0021 public:
0022
0023 FilterByLTC(const edm::ParameterSet& pset);
0024
0025
0026 virtual ~FilterByLTC();
0027
0028 virtual bool filter(edm::Event& event, const edm::EventSetup& eventSetup);
0029
0030 private:
0031
0032 int nEventsProcessed;
0033 int nEventsSelected;
0034
0035
0036
0037
0038
0039 int theTriggerSource;
0040 edm::InputTag ltcTag_;
0041 };
0042 #endif