CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/RecoTracker/NuclearSeedGenerator/interface/NuclearSeedsEDProducer.h

Go to the documentation of this file.
00001 #ifndef CD_NuclearSeedsEDProducer_H_
00002 #define CD_NuclearSeedsEDProducer_H_
00003 // -*- C++ -*-
00004 //
00005 // Package:    NuclearSeedsEDProducer
00006 // Class:      NuclearSeedsEDProducer
00007 //
00015 //
00016 // Original Author:  Vincent ROBERFROID
00017 //         Created:  Wed Feb 28 12:05:36 CET 2007
00018 // $Id: NuclearSeedsEDProducer.h,v 1.8 2009/03/04 13:34:27 vlimant Exp $
00019 //
00020 //
00021 
00022 
00023 // system include files
00024 #include <memory>
00025 
00026 // user include files
00027 #include "FWCore/Framework/interface/ESHandle.h"
00028 
00029 #include "FWCore/Framework/interface/Frameworkfwd.h"
00030 #include "FWCore/Framework/interface/EDProducer.h"
00031 
00032 #include "FWCore/Framework/interface/Event.h"
00033 #include "FWCore/Framework/interface/MakerMacros.h"
00034 
00035 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00036 
00037 #include "RecoTracker/NuclearSeedGenerator/interface/NuclearInteractionFinder.h"
00038 
00039 #include "DataFormats/TrackReco/interface/TrackFwd.h"
00040 #include "RecoTracker/NuclearSeedGenerator/interface/TrajectoryToSeedMap.h"
00041 
00042 namespace reco {class TransientTrack;}
00043 
00044 class Trajectory;
00045 
00050 class NuclearSeedsEDProducer : public edm::EDProducer {
00051 
00052    public:
00053       explicit NuclearSeedsEDProducer(const edm::ParameterSet&);
00054       ~NuclearSeedsEDProducer();
00055 
00056    private:
00057       virtual void beginRun(edm::Run & run, const edm::EventSetup&) ;
00058       virtual void produce(edm::Event&, const edm::EventSetup&);
00059       virtual void endJob();
00060 
00061       // ----------member data ---------------------------
00062       edm::ParameterSet conf_;
00063       std::auto_ptr<NuclearInteractionFinder>     theNuclearInteractionFinder;
00064 
00065       bool improveSeeds;
00066       std::string producer_;
00067 };
00068 #endif