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