34 if( elem1->
type() > elem2->
type() ) {
45 <<
"SuperClusterRef is invalid!";
53 sclus->position().phi(),
54 clus->positionREP().Eta(),
55 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
const PFClusterRef & clusterRef() const override
SCAndHGCalLinker(const edm::ParameterSet &conf)
const SuperClusterRef & superClusterRef() const
bool isNull() const
Checks for null.
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
#define DEFINE_EDM_PLUGIN(factory, type, name)