136 <<
"Error! can't get the rawSuperClusters "
146 <<
"Error! can't get the RecHits "
155 <<
"Error! can't get the RecHits "
176 reco::SuperClusterCollection::const_iterator aClus;
177 for(aClus = rawClusters->begin(); aClus != rawClusters->end(); aClus++)
179 double theEt = aClus->energy()/cosh( aClus->eta() ) ;
182 if ( theEt <
etCut_ )
continue;
193 if( it != rechits.end() ) {
224 corrClusters->push_back(newClus);
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
edm::InputTag rHInputProducerE_
std::vector< T >::const_iterator const_iterator
edm::InputTag sCInputProducer_
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::string outputCollection_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
HiSpikeCleaner(const edm::ParameterSet &)
virtual void produce(edm::Event &, const edm::EventSetup &)
edm::InputTag rHInputProducerB_
iterator find(key_type k)
static float swissCross(const DetId id, const EcalRecHitCollection &, float recHitEtThreshold=0., bool avoidIeta85=true)
static int severityLevel(const DetId, const EcalRecHitCollection &, const EcalChannelStatus &, float recHitEtThreshold=5., SpikeId spId=kSwissCross, float spIdThreshold=0.95, float recHitEnergyThresholdForTiming=2., float recHitEnergyThresholdForEE=15, float spIdThresholdIEta85=0.999)