29 noiseEnergyThreshold_(ps.getParameter<double>(
"noiseEnergyThreshold")),
30 noiseChi2Threshold_(ps.getParameter<double>(
"noiseChi2Threshold")),
31 reducedHitCollection_(ps.getParameter<
std::
string>(
"reducedHitCollection")),
50 int nTot = hit_collection->
size();
54 auto redCollection = std::make_unique<EcalRecHitCollection>();
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const edm::EDGetTokenT< EcalRecHitCollection > hitCollection_
std::vector< EcalRecHit >::const_iterator const_iterator
const double noiseEnergyThreshold_
const_iterator end() const
T const * product() const
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
const double noiseChi2Threshold_
const std::string reducedHitCollection_
RecHitFilter(const edm::ParameterSet &ps)
const_iterator begin() const