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.
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
const PFRecTrackRef & trackRefPF() const
#define DEFINE_EDM_PLUGIN(factory, type, name)
volatile std::atomic< bool > shutdown_flag false
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)