11 useKDTree_(conf.getParameter<bool>(
"useKDTree")),
12 debug_(conf.getUntrackedParameter<bool>(
"debug",
false)) {}
39 if (ni1_TO_DISP == ni2_FROM_DISP) {
44 if (ni1_FROM_DISP == ni2_TO_DISP) {
49 if (ni1_FROM_DISP == ni2_FROM_DISP) {
55 for (
const auto& conv1 : elem1->
convRefs()) {
56 for (
const auto& conv2 : elem2->
convRefs()) {
57 if (conv1.isNonnull() && conv2.isNonnull() && conv1 == conv2) {
Abstract base class for a PFBlock element (track, cluster...)
bool isNonnull() const
Checks for non-null.
TrackAndTrackLinker(const edm::ParameterSet &conf)
bool linkPrefilter(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
virtual const ConversionRefVector & convRefs() const
virtual const PFDisplacedTrackerVertexRef & displacedVertexRef(TrackType trType) const
virtual bool trackType(TrackType trType) const
#define DEFINE_EDM_PLUGIN(factory, type, name)
virtual bool isLinkedToDisplacedVertex() const
virtual const VertexCompositeCandidateRef & V0Ref() const