00001 #ifndef GsfSeedCleaner_H 00002 #define GsfSeedCleaner_H 00003 // system include files 00004 #include <memory> 00005 00006 // user include files 00007 00008 #include "FWCore/Framework/interface/Frameworkfwd.h" 00009 #include "FWCore/Framework/interface/EDProducer.h" 00010 #include "DataFormats/GsfTrackReco/interface/GsfTrack.h" 00011 #include "DataFormats/TrajectorySeed/interface/TrajectorySeed.h" 00012 #include "FWCore/Framework/interface/Event.h" 00013 #include "FWCore/Framework/interface/MakerMacros.h" 00014 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00015 00016 00017 class GsfSeedCleaner : public edm::EDProducer { 00018 00019 public: 00020 explicit GsfSeedCleaner(const edm::ParameterSet&); 00021 ~GsfSeedCleaner(){}; 00022 00023 private: 00024 virtual void beginJob(const edm::EventSetup&){} ; 00025 virtual void produce(edm::Event&, const edm::EventSetup&); 00026 virtual void endJob(){} ; 00027 bool CompareHits(const reco::GsfTrack tk,const TrajectorySeed s); 00028 00029 // ----------access to event data 00030 edm::ParameterSet conf_; 00031 edm::InputTag preIdLabel_; 00032 std::vector<edm::InputTag> tracksContainers_; 00033 00034 00035 00036 }; 00037 #endif