10 useKDTree_(conf.getParameter<bool>(
"useKDTree")),
11 debug_(conf.getUntrackedParameter<bool>(
"debug",
false)) {}
43 clus1->positionREP().Eta(), clus1->positionREP().Phi(), clus2->positionREP().Eta(), clus2->positionREP().Phi());
Abstract base class for a PFBlock element (track, cluster...)
static double computeDist(double eta1, double phi1, double eta2, double phi2, bool etaPhi=true)
computes a chisquare
bool isNonnull() const
Checks for non-null.
const SuperClusterRef & superClusterRef() const
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
const PFClusterRef & clusterRef() const override
ECALAndECALLinker(const edm::ParameterSet &conf)
bool linkPrefilter(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
#define DEFINE_EDM_PLUGIN(factory, type, name)