00001 #ifndef RecoLocalTracker_SiStripClusterizer_h 00002 #define RecoLocalTracker_SiStripClusterizer_h 00003 00004 #include "FWCore/Framework/interface/Frameworkfwd.h" 00005 #include "FWCore/Framework/interface/EDProducer.h" 00006 #include "RecoLocalTracker/SiStripClusterizer/interface/StripClusterizerAlgorithm.h" 00007 00008 class SiStripClusterizer : public edm::EDProducer { 00009 00010 public: 00011 00012 explicit SiStripClusterizer(const edm::ParameterSet& conf); 00013 virtual void produce(edm::Event&, const edm::EventSetup&); 00014 00015 private: 00016 00017 template<class T> bool findInput(const edm::InputTag&, edm::Handle<T>&, const edm::Event&); 00018 const std::vector<edm::InputTag> inputTags; 00019 std::auto_ptr<StripClusterizerAlgorithm> algorithm; 00020 00021 }; 00022 00023 #endif