Go to the documentation of this file.00001 #include <memory>
00002 #include <string>
00003 #include <vector>
00004 #include <map>
00005
00006 #include "FWCore/Framework/interface/Frameworkfwd.h"
00007 #include "FWCore/Framework/interface/EDProducer.h"
00008 #include "FWCore/Framework/interface/Event.h"
00009 #include "FWCore/Utilities/interface/InputTag.h"
00010 #include "FWCore/Framework/interface/MakerMacros.h"
00011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00012 #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
00013 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00014
00015 class TtGenEventReco : public edm::EDProducer {
00016
00017 public:
00018
00019 explicit TtGenEventReco(const edm::ParameterSet&);
00020 ~TtGenEventReco();
00021 virtual void produce(edm::Event&, const edm::EventSetup&);
00022
00023 private:
00024
00025 void fillInitialPartons(const reco::GenParticle*, std::vector<const reco::GenParticle*>&);
00026
00027 private:
00028
00029 edm::InputTag src_, init_;
00030 };