Go to the documentation of this file.00001 #ifndef TrackingTools_TrackFitters_KFTrajectoryFitterESProducer_h
00002 #define TrackingTools_TrackFitters_KFTrajectoryFitterESProducer_h
00003
00012 #include "FWCore/Framework/interface/ESProducer.h"
00013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00014 #include "TrackingTools/TrackFitters/interface/TrajectoryFitterRecord.h"
00015 #include "TrackingTools/Records/interface/TrackingComponentsRecord.h"
00016 #include "TrackingTools/TrackFitters/interface/KFTrajectoryFitter.h"
00017 #include <boost/shared_ptr.hpp>
00018
00019 class KFTrajectoryFitterESProducer: public edm::ESProducer{
00020 public:
00021 KFTrajectoryFitterESProducer(const edm::ParameterSet & p);
00022 virtual ~KFTrajectoryFitterESProducer();
00023 boost::shared_ptr<TrajectoryFitter> produce(const TrajectoryFitterRecord &);
00024 private:
00025 boost::shared_ptr<TrajectoryFitter> _fitter;
00026 edm::ParameterSet pset_;
00027 };
00028
00029
00030 #endif
00031
00032
00033
00034