File indexing completed on 2024-04-06 12:06:45
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef FilterOutScraping_H
0009 #define FilterOutScraping_H
0010
0011
0012 #include <memory>
0013 #include <vector>
0014 #include <map>
0015 #include <set>
0016
0017
0018 #include "FWCore/Utilities/interface/InputTag.h"
0019 #include "FWCore/Framework/interface/Frameworkfwd.h"
0020 #include "FWCore/Framework/interface/stream/EDFilter.h"
0021 #include "FWCore/Framework/interface/Event.h"
0022 #include "FWCore/Framework/interface/MakerMacros.h"
0023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0024 #include "FWCore/Framework/interface/ESHandle.h"
0025 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0026 #include "DataFormats/TrackReco/interface/Track.h"
0027 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0028
0029
0030
0031
0032
0033 class FilterOutScraping : public edm::stream::EDFilter<> {
0034 public:
0035 explicit FilterOutScraping(const edm::ParameterSet &);
0036 ~FilterOutScraping() override;
0037
0038 private:
0039 bool filter(edm::Event &, const edm::EventSetup &) override;
0040
0041 bool applyfilter;
0042 bool debugOn;
0043 double thresh;
0044 unsigned int numtrack;
0045 edm::EDGetTokenT<reco::TrackCollection> tracks_;
0046 reco::TrackBase::TrackQuality _trackQuality;
0047 };
0048
0049 #endif