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] <<
", ";
const math::XYZPoint & position() const
cluster centroid position
size_type size() const
Size of the RefVector.
std::string printHitAndFraction(unsigned i) const
print hitAndFraction
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Particle flow cluster, see clustering algorithm in PFSuperClusterAlgo.
const std::vector< reco::PFRecHitFraction > & recHitFractions() const
vector of rechit fractions
PFCluster & operator=(const PFCluster &)
PFLayer::Layer layer() const
cluster layer, see PFLayer.h in this directory
const REPPoint & positionREP() const
cluster position: rho, eta, phi
std::ostream & operator<<(std::ostream &, BeamSpot beam)
const edm::PtrVector< reco::PFCluster > & clusters() const
vector of clusters
double energy() const
cluster energy
void reset()
resets clusters parameters
edm::PtrVector< reco::PFCluster > clusters_
vector of clusters
XYZPointD XYZPoint
point in space with cartesian internal representation
void clear()
Clear the PtrVector.
ROOT::Math::PositionVector3D< ROOT::Math::CylindricalEta3D< double > > REPPoint
PFSuperCluster & operator=(const PFSuperCluster &)
void reset()
resets clusters parameters