12 useKDTree_(conf.getParameter<bool>(
"useKDTree")),
13 debug_(conf.getUntrackedParameter<bool>(
"debug",
false)),
47 sclus->position().eta(), sclus->position().phi(), clus->positionREP().Eta(), clus->positionREP().Phi());
const SuperClusterRef & superClusterRef() const
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
static bool overlap(const reco::CaloCluster &sc1, const reco::CaloCluster &sc, float minfrac=0.01, bool debug=false)
bool superClusterMatchByRef_
SCAndHGCalLinker(const edm::ParameterSet &conf)
const SuperClusterRef & superClusterRef() const
bool isNull() const
Checks for null.
const PFClusterRef & clusterRef() const override
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
#define DEFINE_EDM_PLUGIN(factory, type, name)