00001 #include "FWCore/Framework/interface/Frameworkfwd.h" 00002 #include "FWCore/Framework/interface/EDProducer.h" 00003 #include "FWCore/Framework/interface/Event.h" 00004 #include "FWCore/Utilities/interface/InputTag.h" 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 #include "DataFormats/HepMCCandidate/interface/GenParticle.h" 00007 00008 namespace TopInitID{ 00009 static const int status = 3; 00010 static const int tID = 6; 00011 } 00012 00013 class TopInitSubset : public edm::EDProducer { 00014 00015 public: 00016 00017 explicit TopInitSubset(const edm::ParameterSet&); 00018 ~TopInitSubset(); 00019 00020 virtual void produce(edm::Event&, const edm::EventSetup&); 00021 void fillOutput(const reco::GenParticleCollection&, reco::GenParticleCollection&); 00022 00023 private: 00024 00025 edm::InputTag src_; 00026 };