37 const std::vector< reco::PFRecHitFraction >& fracs =
40 out<<
"PFSuperCluster "
41 <<
", clusters: "<<cluster.
clusters().size()
42 <<
", layer: "<<cluster.
layer()
43 <<
"\tE = "<<cluster.
energy()
45 <<pos.X()<<
","<<pos.Y()<<
","<<pos.Z()<<
" | "
47 <<posrep.Rho()<<
","<<posrep.Eta()<<
","<<posrep.Phi()<<
" | "
48 <<fracs.size()<<
" rechits";
50 for(
unsigned i=0;
i<fracs.size();
i++) {
52 if( !fracs[
i].recHitRef().isAvailable() )
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
XYZPointD XYZPoint
point in space with cartesian internal representation
ROOT::Math::PositionVector3D< ROOT::Math::CylindricalEta3D< double > > REPPoint
PFSuperCluster & operator=(const PFSuperCluster &)
const std::vector< reco::PFRecHitFraction > & recHitFractions() const
vector of rechit fractions
void reset()
resets clusters parameters
const edm::PtrVector< reco::PFCluster > & clusters() const
vector of clusters
edm::PtrVector< reco::PFCluster > clusters_
vector of clusters