46 if (!pRecHits.isValid()) {
52 edm::LogInfo(
"ExampleClusterProducerInfo") <<
"total # calibrated rechits: " <<
rechits->size() ;
58 std::auto_ptr< reco::BasicClusterCollection >
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
ExampleClusterAlgo * algo_
std::string clusterCollection_
std::string hitCollection_
reco::BasicClusterCollection makeClusters(const EcalRecHitCollection &rechits)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual void produce(edm::Event &evt, const edm::EventSetup &es)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
~ExampleClusterProducer()
ExampleClusterProducer(const edm::ParameterSet &ps)