26 switch (elem1->
type()) {
46 pselem = static_cast<const reco::PFBlockElementCluster*>(elem1);
47 ecalelem = static_cast<const reco::PFBlockElementCluster*>(elem2);
49 pselem = static_cast<const reco::PFBlockElementCluster*>(elem2);
50 ecalelem = static_cast<const reco::PFBlockElementCluster*>(elem1);
55 throw cms::Exception(
"BadClusterRefs") <<
"PFBlockElementCluster's refs are null!";
65 reco::PFMultilinksType::const_iterator mlit = multilinks.begin();
66 for (; mlit != multilinks.end(); ++mlit)
67 if (mlit->clusterRef == ecalref)
71 if (mlit != multilinks.end()) {
73 ecalxyzpos.X() / 1000., ecalxyzpos.Y() / 1000., psxyzpos.X() / 1000., psxyzpos.Y() / 1000.,
false);