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
const PFClusterRef & clusterRef() const
const SuperClusterRef & superClusterRef() const
bool isNonnull() const
Checks for non-null.
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
ECALAndECALLinker(const edm::ParameterSet &conf)
bool linkPrefilter(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
#define DEFINE_EDM_PLUGIN(factory, type, name)
volatile std::atomic< bool > shutdown_flag false