cms-sw/cmssw — pull request #4941 by mark-grimes (2014-08-13 17:17:02+00:00)
Title: Fix Multi5x5ClusterProducer for Shashlik

Multi5x5ClusterProducer used to crash when given the correct Shashlik hit collection. It was previously "disabled" for Shashlik because the customisation didn't change to the correct hit collection.
This fixes the crash and changes the customisation so that the correct hit collection is used.

@bsunanda, I had to change to create a copy of ShashlikTopology because the method deletes the object at the end ([line 171](https://github.com/cms-sw/cmssw/blob/CMSSW_6_2_X_SLHC/RecoEcal/EgammaClusterProducers/src/Multi5x5ClusterProducer.cc#L171)). Previously the function would run correctly once, then crash the next time (or anything else that tried to use ShashlikTopology from the EventSetup).