Definition at line 6 of file ECALAndHCALCaloJetLinker.cc.
◆ ECALAndHCALCaloJetLinker()
Definition at line 8 of file ECALAndHCALCaloJetLinker.cc.
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
BlockElementLinkerBase(const edm::ParameterSet &conf)
◆ testLink()
Implements BlockElementLinkerBase.
Definition at line 21 of file ECALAndHCALCaloJetLinker.cc.
References reco::PFBlockElementCluster::clusterRef(), LinkByRecHit::computeDist(), Exception, edm::Ref< C, T, F >::isNull(), and reco::PFBlockElement::type().
35 throw cms::Exception(
"BadClusterRefs") <<
"PFBlockElementCluster's refs are null!";
45 ecalreppos.Eta(), ecalreppos.Phi(), hcalref->positionREP().Eta(), hcalref->positionREP().Phi());
47 return (dist < 0.2 ? dist : -1.0);
static double computeDist(double eta1, double phi1, double eta2, double phi2, bool etaPhi=true)
computes a chisquare
bool isNull() const
Checks for null.
ROOT::Math::PositionVector3D< ROOT::Math::CylindricalEta3D< double > > REPPoint
◆ debug_
bool ECALAndHCALCaloJetLinker::debug_ |
|
private |
◆ useKDTree_
bool ECALAndHCALCaloJetLinker::useKDTree_ |
|
private |