Go to the documentation of this file.
28 const std::vector<reco::PFRecHitFraction>& fracs = cluster.
recHitFractions();
30 out <<
"PFSuperCluster "
31 <<
", clusters: " << cluster.
clusters().
size() <<
", layer: " << cluster.
layer() <<
"\tE = " << cluster.
energy()
32 <<
"\tXYZ: " <<
pos.X() <<
"," <<
pos.Y() <<
"," <<
pos.Z() <<
" | "
33 <<
"\tREP: " << posrep.Rho() <<
"," << posrep.Eta() <<
"," << posrep.Phi() <<
" | " << fracs.size() <<
" rechits";
35 for (
unsigned i = 0;
i < fracs.size();
i++) {
37 if (!fracs[
i].recHitRef().isAvailable())
40 out << fracs[
i] <<
", ";
size_type size() const
Size of the RefVector.
Particle flow cluster, see clustering algorithm in PFSuperClusterAlgo.
const edm::PtrVector< reco::PFCluster > & clusters() const
vector of clusters
PFLayer::Layer layer() const
cluster layer, see PFLayer.h in this directory
const std::vector< reco::PFRecHitFraction > & recHitFractions() const
vector of rechit fractions
double energy() const
cluster energy
void reset()
resets clusters parameters
PFCluster & operator=(const PFCluster &)
const REPPoint & positionREP() const
cluster position: rho, eta, phi
edm::PtrVector< reco::PFCluster > clusters_
vector of clusters
void reset()
resets clusters parameters
XYZPointD XYZPoint
point in space with cartesian internal representation
std::string printHitAndFraction(unsigned i) const
print hitAndFraction
std::ostream & operator<<(std::ostream &, BeamSpot beam)
void clear()
Clear the PtrVector.
PFSuperCluster & operator=(const PFSuperCluster &)
const math::XYZPoint & position() const
cluster centroid position
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
ROOT::Math::PositionVector3D< ROOT::Math::CylindricalEta3D< double > > REPPoint