27 if (!rechitMask[
hit] || !seedable[
hit])
39 const auto rh_energy = refhit->energy();
42 cluster.
setSeed(refhit->detId());
44 cluster.
setTime(refhit->time());
void setLayer(PFLayer::Layer layer)
set layer
reco::PFRecHitRef makeRefhit(const edm::Handle< reco::PFRecHitCollection > &h, const unsigned i) const
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
void setPosition(const math::XYZPoint &p)
void setTime(float time, float timeError=0)
Fraction of a PFRecHit (rechits can be shared between several PFCluster's)
void setEnergy(double energy)
static std::string const input
void setSeed(const DetId &id)
void calculatePositionREP()
computes posrep_ once and for all
void reset()
resets clusters parameters
XYZPointD XYZPoint
point in space with cartesian internal representation
void addRecHitFraction(const reco::PFRecHitFraction &frac)
add a given fraction of the rechit
void setDepth(double depth)