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