11 _useKDTree(conf.getParameter<bool>(
"useKDTree")),
12 _debug(conf.getUntrackedParameter<bool>(
"debug",
false)) {}
34 if( elem1->
type() < elem2->
type() ) {
45 <<
"PFBlockElementCluster's refs are null!";
47 if ( tkelem->
trackRef()->pt() > 3.00001 &&
48 tkref->extrapolatedPoint( HOLayer ).isValid() ) {
Abstract base class for a PFBlock element (track, cluster...)
const reco::TrackRef & trackRef() const
const PFClusterRef & clusterRef() const
TrackAndHOLinker(const edm::ParameterSet &conf)
bool isNull() const
Checks for null.
const PFRecTrackRef & trackRefPF() const
#define DEFINE_EDM_PLUGIN(factory, type, name)
LayerType
Define the different layers where the track can be propagated.
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
static double testTrackAndClusterByRecHit(const reco::PFRecTrack &track, const reco::PFCluster &cluster, bool isBrem=false, bool debug=false)