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)
const PFClusterRef & clusterRef() const override
const SuperClusterRef & superClusterRef() const
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
bool isNull() const
Checks for null.
SCAndECALLinker(const edm::ParameterSet &conf)
#define DEFINE_EDM_PLUGIN(factory, type, name)
bool _superClusterMatchByRef