00001 #ifndef TrackPropagation_ESProducers_AnalyticalPropagatorESProducer_h 00002 #define TrackPropagation_ESProducers_AnalyticalPropagatorESProducer_h 00003 00004 #include "FWCore/Framework/interface/ESProducer.h" 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 #include "TrackingTools/Records/interface/TrackingComponentsRecord.h" 00007 #include "TrackPropagation/SteppingHelixPropagator/interface/SteppingHelixPropagator.h" 00008 #include <boost/shared_ptr.hpp> 00009 00010 class SteppingHelixPropagatorESProducer: public edm::ESProducer{ 00011 public: 00012 SteppingHelixPropagatorESProducer(const edm::ParameterSet & p); 00013 virtual ~SteppingHelixPropagatorESProducer(); 00014 boost::shared_ptr<Propagator> produce(const TrackingComponentsRecord &); 00015 private: 00016 boost::shared_ptr<Propagator> _propagator; 00017 edm::ParameterSet pset_; 00018 }; 00019 00020 00021 #endif