#include <KDTreeLinkerTrackHcal.h>
Public Member Functions | |
void | buildTree () override |
void | clear () override |
void | insertFieldClusterElt (reco::PFBlockElement *hcalCluster) override |
void | insertTargetElt (reco::PFBlockElement *track) override |
KDTreeLinkerTrackHcal () | |
void | searchLinks () override |
void | updatePFBlockEltWithLinks () override |
~KDTreeLinkerTrackHcal () override | |
Public Member Functions inherited from KDTreeLinkerBase | |
const reco::PFBlockElement::Type & | fieldType () const |
void | process () |
void | setDebug (bool isDebug) |
void | setFieldType (const reco::PFBlockElement::Type &fld) |
void | setTargetType (const reco::PFBlockElement::Type &tgt) |
const reco::PFBlockElement::Type & | targetType () const |
virtual | ~KDTreeLinkerBase () |
Additional Inherited Members | |
Protected Attributes inherited from KDTreeLinkerBase | |
reco::PFBlockElement::Type | _fieldType |
reco::PFBlockElement::Type | _targetType |
float | cristalPhiEtaMaxSize_ = 0.04 |
float | cristalXYMaxSize_ = 3. |
bool | debug_ = false |
float | phiOffset_ = 0.25 |
Definition at line 12 of file KDTreeLinkerTrackHcal.h.
KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal | ( | ) |
Definition at line 13 of file KDTreeLinkerTrackHcal.cc.
References KDTreeLinkerBase::cristalPhiEtaMaxSize_, and KDTreeLinkerBase::phiOffset_.
|
override |
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 66 of file KDTreeLinkerTrackHcal.cc.
References KDTreeLinkerAlgo< DATA >::build(), RhoEtaPhi::eta(), M_PI, phi, RhoEtaPhi::phi(), phimax, phimin, KDTreeLinkerBase::phiOffset_, rechitsSet_, and tree_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 216 of file KDTreeLinkerTrackHcal.cc.
References KDTreeLinkerAlgo< DATA >::clear(), cluster2TargetLinks_, fieldClusterSet_, rechit2ClusterLinks_, rechitsSet_, targetSet_, and tree_.
Referenced by ~KDTreeLinkerTrackHcal().
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 35 of file KDTreeLinkerTrackHcal.cc.
References reco::PFBlockElement::clusterRef(), fieldClusterSet_, funct::fract(), dedxEstimators_cff::fraction, edm::Ref< C, T, F >::isNull(), rechit2ClusterLinks_, and rechitsSet_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 26 of file KDTreeLinkerTrackHcal.cc.
References reco::PFTrajectoryPoint::HCALEntrance, targetSet_, and reco::PFBlockElement::trackRefPF().
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 107 of file KDTreeLinkerTrackHcal.cc.
References cluster2TargetLinks_, KDTreeLinkerBase::cristalPhiEtaMaxSize_, PVValHelper::eta, reco::PFTrajectoryPoint::HCALEntrance, reco::PFTrajectoryPoint::HCALExit, reco::PFTrajectoryPoint::isValid(), M_PI, phi, reco::PFTrajectoryPoint::positionREP(), rpcPointValidation_cfi::recHit, rechit2ClusterLinks_, KDTreeLinkerAlgo< DATA >::search(), targetSet_, and tree_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 183 of file KDTreeLinkerTrackHcal.cc.
References cluster2TargetLinks_, fieldClusterSet_, reco::PFTrajectoryPoint::HCALEntrance, reco::PFMultiLinksTC::linkedClusters, and reco::PFTrajectoryPoint::positionREP().
|
private |
Definition at line 51 of file KDTreeLinkerTrackHcal.h.
Referenced by clear(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 45 of file KDTreeLinkerTrackHcal.h.
Referenced by clear(), insertFieldClusterElt(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 54 of file KDTreeLinkerTrackHcal.h.
Referenced by clear(), insertFieldClusterElt(), and searchLinks().
|
private |
Definition at line 48 of file KDTreeLinkerTrackHcal.h.
Referenced by buildTree(), clear(), and insertFieldClusterElt().
|
private |
Definition at line 44 of file KDTreeLinkerTrackHcal.h.
Referenced by clear(), insertTargetElt(), and searchLinks().
|
private |
Definition at line 57 of file KDTreeLinkerTrackHcal.h.
Referenced by buildTree(), clear(), and searchLinks().