00001 #ifndef SHALLOW_SIMHITCLUSTERS_PRODUCER 00002 #define SHALLOW_SIMHITCLUSTERS_PRODUCER 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "FWCore/Framework/interface/Frameworkfwd.h" 00006 #include "FWCore/Utilities/interface/InputTag.h" 00007 #include "CalibTracker/SiStripCommon/interface/ShallowTools.h" 00008 class SiStripCluster; 00009 00010 class ShallowSimhitClustersProducer : public edm::EDProducer { 00011 public: 00012 explicit ShallowSimhitClustersProducer(const edm::ParameterSet&); 00013 private: 00014 std::vector<edm::InputTag> inputTags; 00015 edm::InputTag theClustersLabel; 00016 std::string Prefix; 00017 00018 void produce( edm::Event &, const edm::EventSetup & ); 00019 shallow::CLUSTERMAP::const_iterator match_cluster(const unsigned&, 00020 const float&, 00021 const shallow::CLUSTERMAP&, 00022 const edmNew::DetSetVector<SiStripCluster>& ) const; 00023 }; 00024 #endif