57 virtual void endJob()
override ;
118 <<
"Error! can't get the rawSuperClusters ";
127 <<
"Error! can't get the RecHits ";
136 <<
"Error! can't get the RecHits ";
158 reco::SuperClusterCollection::const_iterator aClus;
159 for(aClus = rawClusters->begin(); aClus != rawClusters->end(); aClus++)
161 double theEt = aClus->energy()/cosh( aClus->eta() ) ;
164 if ( theEt <
etCut_ )
continue;
170 DetId id = lazyTool.getMaximum(*seed).first;
175 ecalSevLvlAlgoHndl->severityLevel(
id,
rechits);
205 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
virtual void beginJob() override
virtual void endJob() override
edm::EDGetTokenT< EcalRecHitCollection > rHInputProducerBToken_
volatile std::atomic< bool > shutdown_flag false
edm::EDGetTokenT< EcalRecHitCollection > rHInputProducerEToken_