Public Member Functions | |
void | buildTree () override |
void | clear () override |
void | insertFieldClusterElt (reco::PFBlockElement *hcalCluster) override |
void | insertTargetElt (reco::PFBlockElement *track) override |
KDTreeLinkerTrackHcal (const edm::ParameterSet &conf) | |
void | searchLinks () override |
void | updatePFBlockEltWithLinks () override |
~KDTreeLinkerTrackHcal () override | |
Public Member Functions inherited from KDTreeLinkerBase | |
const reco::PFBlockElement::Type & | fieldType () const |
KDTreeLinkerBase (const edm::ParameterSet &conf) | |
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. |
const float | cutOffFrac = 1E-4 |
bool | debug_ = false |
float | phiOffset_ = 0.25 |
Definition at line 8 of file KDTreeLinkerTrackHcal.cc.
KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal | ( | const edm::ParameterSet & | conf | ) |
Definition at line 66 of file KDTreeLinkerTrackHcal.cc.
References cms::cuda::assert(), checkExit_, KDTreeLinkerBase::cristalPhiEtaMaxSize_, reco::PFTrajectoryPoint::HCALEntrance, reco::PFTrajectoryPoint::HCALExit, reco::PFTrajectoryPoint::layerTypeByName(), KDTreeLinkerBase::phiOffset_, trajectoryLayerEntrance_, trajectoryLayerEntranceString_, trajectoryLayerExit_, trajectoryLayerExitString_, reco::PFTrajectoryPoint::Unknown, and reco::PFTrajectoryPoint::VFcalEntrance.
|
override |
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 124 of file KDTreeLinkerTrackHcal.cc.
References KDTreeLinkerAlgo< DATA, DIM >::build(), RhoEtaPhi::eta(), f, M_PI, phi, RhoEtaPhi::phi(), phimax, phimin, KDTreeLinkerBase::phiOffset_, rechitsSet_, HLT_2018_cff::region, and tree_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 264 of file KDTreeLinkerTrackHcal.cc.
References KDTreeLinkerAlgo< DATA, DIM >::clear(), cluster2TargetLinks_, fieldClusterSet_, rechit2ClusterLinks_, rechitsSet_, targetSet_, and tree_.
Referenced by ~KDTreeLinkerTrackHcal().
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 95 of file KDTreeLinkerTrackHcal.cc.
References reco::PFBlockElement::clusterRef(), KDTreeLinkerBase::cutOffFrac, fieldClusterSet_, funct::fract(), HLT_2018_cff::fraction, edm::Ref< C, T, F >::isNull(), rechit2ClusterLinks_, and rechitsSet_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 89 of file KDTreeLinkerTrackHcal.cc.
References targetSet_, HLT_2018_cff::track, and trajectoryLayerEntrance_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 161 of file KDTreeLinkerTrackHcal.cc.
References checkExit_, cluster2TargetLinks_, KDTreeLinkerBase::cristalPhiEtaMaxSize_, PVValHelper::eta, reco::PFTrajectoryPoint::isValid(), M_PI, phi, reco::PFTrajectoryPoint::positionREP(), rpcPointValidation_cfi::recHit, rechit2ClusterLinks_, FastTrackerRecHitMaskProducer_cfi::recHits, runTheMatrix::ret, KDTreeLinkerAlgo< DATA, DIM >::search(), targetSet_, trajectoryLayerEntrance_, trajectoryLayerExit_, and tree_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 239 of file KDTreeLinkerTrackHcal.cc.
References cluster2TargetLinks_, fieldClusterSet_, reco::PFMultiLinksTC::linkedClusters, reco::PFTrajectoryPoint::positionREP(), and trajectoryLayerEntrance_.
|
private |
Definition at line 59 of file KDTreeLinkerTrackHcal.cc.
Referenced by KDTreeLinkerTrackHcal(), and searchLinks().
|
private |
Definition at line 46 of file KDTreeLinkerTrackHcal.cc.
Referenced by clear(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 40 of file KDTreeLinkerTrackHcal.cc.
Referenced by clear(), insertFieldClusterElt(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 49 of file KDTreeLinkerTrackHcal.cc.
Referenced by clear(), insertFieldClusterElt(), and searchLinks().
|
private |
Definition at line 43 of file KDTreeLinkerTrackHcal.cc.
Referenced by buildTree(), clear(), and insertFieldClusterElt().
|
private |
Definition at line 39 of file KDTreeLinkerTrackHcal.cc.
Referenced by clear(), insertTargetElt(), and searchLinks().
|
private |
Definition at line 57 of file KDTreeLinkerTrackHcal.cc.
Referenced by insertTargetElt(), KDTreeLinkerTrackHcal(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 55 of file KDTreeLinkerTrackHcal.cc.
Referenced by KDTreeLinkerTrackHcal().
|
private |
Definition at line 58 of file KDTreeLinkerTrackHcal.cc.
Referenced by KDTreeLinkerTrackHcal(), and searchLinks().
|
private |
Definition at line 56 of file KDTreeLinkerTrackHcal.cc.
Referenced by KDTreeLinkerTrackHcal().
|
private |
Definition at line 52 of file KDTreeLinkerTrackHcal.cc.
Referenced by buildTree(), clear(), and searchLinks().