Go to the documentation of this file.
31 std::vector<unsigned> ordered_hits(
hits.size());
32 for (
unsigned i = 0;
i <
hits.size(); ++
i)
35 std::sort(ordered_hits.begin(), ordered_hits.end(), [&](
unsigned i,
unsigned j) {
39 for (
const auto&
idx : ordered_hits) {
ECALPFSeedCleaner(const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
static const std::string input
float energy() const
rechit energy
void update(const edm::EventSetup &) override
edm::ESHandle< EcalPFSeedingThresholds > ths_
#define DEFINE_EDM_PLUGIN(factory, type, name)
edm::ESGetToken< EcalPFSeedingThresholds, EcalPFSeedingThresholdsRcd > thsToken_
void clean(const edm::Handle< reco::PFRecHitCollection > &input, std::vector< bool > &mask) override
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
unsigned detId() const
rechit detId
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
ECALPFSeedCleaner & operator=(const ECALPFSeedCleaner &)=delete