117 <<
"Error! can't get the rawSuperClusters ";
126 <<
"Error! can't get the RecHits ";
135 <<
"Error! can't get the RecHits ";
157 reco::SuperClusterCollection::const_iterator aClus;
158 for(aClus = rawClusters->begin(); aClus != rawClusters->end(); aClus++)
160 double theEt = aClus->energy()/cosh( aClus->eta() ) ;
163 if ( theEt <
etCut_ )
continue;
169 DetId id = lazyTool.getMaximum(*seed).first;
174 ecalSevLvlAlgoHndl->severityLevel(
id,
rechits);
204 corrClusters->push_back(newClus);
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< reco::SuperClusterCollection > sCInputProducerToken_
#define DEFINE_FWK_MODULE(type)
std::vector< EcalRecHit >::const_iterator const_iterator
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::string outputCollection_
HiSpikeCleaner(const edm::ParameterSet &)
virtual void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< EcalRecHitCollection > rHInputProducerBToken_
volatile std::atomic< bool > shutdown_flag false
edm::EDGetTokenT< EcalRecHitCollection > rHInputProducerEToken_