10 _useKDTree(conf.getParameter<bool>(
"useKDTree")),
11 _debug(conf.getUntrackedParameter<bool>(
"debug",
false)) {}
56 clus1->positionREP().Phi(),
57 clus2->positionREP().Eta(),
58 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 PFClusterRef & clusterRef() const
const SuperClusterRef & superClusterRef() const
bool linkPrefilter(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
ECALAndECALLinker(const edm::ParameterSet &conf)
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
#define DEFINE_EDM_PLUGIN(factory, type, name)