Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 50 of file HiSpikeCleaner.cc.
Implements edm::EDProducer.
Definition at line 125 of file HiSpikeCleaner.cc.
References etCut_, funct::false, edm::SortedCollection< T, SORT >::find(), edm::EventSetup::get(), edm::Event::getByLabel(), EcalClusterLazyTools::getMaximum(), edm::InputTag::label(), outputCollection_, edm::Event::put(), rHInputProducerB_, rHInputProducerE_, sCInputProducer_, EcalSeverityLevelAlgo::severityLevel(), EcalSeverityLevelAlgo::swissCross(), swissCutThr_, and TimingCut_.
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;
189 DetId id = lazyTool.getMaximum(*seed).first;
193 if( it != rechits.end() ) {
224 corrClusters->push_back(newClus);
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
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)