00001 #ifndef DistanceBetweenComponentsESProducer_h_ 00002 #define DistanceBetweenComponentsESProducer_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 "TrackingTools/GsfTools/interface/DistanceBetweenComponents.h" 00008 #include <boost/shared_ptr.hpp> 00009 00014 template <unsigned int N> 00015 class DistanceBetweenComponentsESProducer : public edm::ESProducer{ 00016 public: 00017 DistanceBetweenComponentsESProducer(const edm::ParameterSet & p); 00018 virtual ~DistanceBetweenComponentsESProducer(); 00019 boost::shared_ptr< DistanceBetweenComponents<N> > produce(const TrackingComponentsRecord &); 00020 private: 00021 edm::ParameterSet pset_; 00022 }; 00023 00024 #include "TrackingTools/GsfTools/plugins/DistanceBetweenComponentsESProducer.icc" 00025 00026 #endif