37 throw cms::Exception(
"BadClusterRefs") <<
"PFBlockElementCluster's refs are null!";
39 if (tkelem->
trackRef()->pt() > 3.00001 && tkref->extrapolatedPoint(HOLayer).isValid()) {
Abstract base class for a PFBlock element (track, cluster...)
TrackAndHOLinker(const edm::ParameterSet &conf)
bool isNull() const
Checks for null.
const PFClusterRef & clusterRef() const override
const reco::TrackRef & trackRef() const override
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
#define DEFINE_EDM_PLUGIN(factory, type, name)
const PFRecTrackRef & trackRefPF() const override
LayerType
Define the different layers where the track can be propagated.
static double testTrackAndClusterByRecHit(const reco::PFRecTrack &track, const reco::PFCluster &cluster, bool isBrem=false, bool debug=false)