Definition at line 6 of file ECALAndHCALLinker.cc.
◆ ECALAndHCALLinker()
◆ testLink()
Implements BlockElementLinkerBase.
Definition at line 23 of file ECALAndHCALLinker.cc.
27 ecalelem = static_cast<const reco::PFBlockElementCluster*>(elem1);
28 hcalelem = static_cast<const reco::PFBlockElementCluster*>(elem2);
30 ecalelem = static_cast<const reco::PFBlockElementCluster*>(elem2);
31 hcalelem = static_cast<const reco::PFBlockElementCluster*>(elem1);
37 throw cms::Exception(
"BadClusterRefs") <<
"PFBlockElementCluster's refs are null!";
41 ecalreppos.Eta(), ecalreppos.Phi(), hcalref->positionREP().Eta(), hcalref->positionREP().Phi())
43 return (dist < 0.2 ? dist : -1.0);
References funct::abs(), reco::PFBlockElementCluster::clusterRef(), LinkByRecHit::computeDist(), Exception, edm::Ref< C, T, F >::isNull(), minAbsEtaEcal_, and reco::PFBlockElement::type().
◆ debug_
bool ECALAndHCALLinker::debug_ |
|
private |
◆ minAbsEtaEcal_
double ECALAndHCALLinker::minAbsEtaEcal_ |
|
private |
◆ useKDTree_
bool ECALAndHCALLinker::useKDTree_ |
|
private |