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