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 | |
Static Protected Member Functions inherited from KDTreeLinkerBase | |
template<typename T > | |
static std::vector< size_t > | sort_indexes (const std::vector< T > &v) |
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 11 of file KDTreeLinkerTrackHcal.cc.
KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal | ( | const edm::ParameterSet & | conf | ) |
Definition at line 72 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 131 of file KDTreeLinkerTrackHcal.cc.
References KDTreeLinkerAlgo< DATA, DIM >::build(), RhoEtaPhi::eta(), f, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, M_PI, phi, RhoEtaPhi::phi(), phimax, phimin, KDTreeLinkerBase::phiOffset_, rechitsSet_, nano_mu_digi_cff::region, and tree_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 334 of file KDTreeLinkerTrackHcal.cc.
References KDTreeLinkerAlgo< DATA, DIM >::clear(), fieldClusterSet_, rechit2ClusterLinks_, rechitsSet_, target2ClusterLinks_, targetSet_, and tree_.
Referenced by ~KDTreeLinkerTrackHcal().
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 102 of file KDTreeLinkerTrackHcal.cc.
References reco::PFBlockElement::clusterRef(), KDTreeLinkerBase::cutOffFrac, fieldClusterSet_, funct::fract(), HLT_2024v13_cff::fraction, edm::Ref< C, T, F >::isNull(), rechit2ClusterLinks_, and rechitsSet_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 96 of file KDTreeLinkerTrackHcal.cc.
References targetSet_, HLT_2024v13_cff::track, and trajectoryLayerEntrance_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 168 of file KDTreeLinkerTrackHcal.cc.
References checkExit_, KDTreeLinkerBase::cristalPhiEtaMaxSize_, PVValHelper::eta, reco::PFTrajectoryPoint::isValid(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, M_PI, phi, reco::PFTrajectoryPoint::positionREP(), rpcPointValidation_cfi::recHit, rechit2ClusterLinks_, FastTrackerRecHitMaskProducer_cfi::recHits, runTheMatrix::ret, KDTreeLinkerAlgo< DATA, DIM >::search(), target2ClusterLinks_, targetSet_, trajectoryLayerEntrance_, trajectoryLayerExit_, and tree_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 246 of file KDTreeLinkerTrackHcal.cc.
References KDTreeLinkerBase::_fieldType, KDTreeLinkerBase::_targetType, checkExit_, LinkByRecHit::computeDist(), reco::deltaPhi(), mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, reco::PFMultiLinksTC::linkedPFObjects, GetRecoTauVFromDQM_MC_cff::next, nMaxHcalLinksPerTrack_, reco::PFTrajectoryPoint::position(), reco::PFTrajectoryPoint::positionREP(), KDTreeLinkerBase::sort_indexes(), target2ClusterLinks_, trajectoryLayerEntrance_, and trajectoryLayerExit_.
|
private |
Definition at line 62 of file KDTreeLinkerTrackHcal.cc.
Referenced by KDTreeLinkerTrackHcal(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 43 of file KDTreeLinkerTrackHcal.cc.
Referenced by clear(), and insertFieldClusterElt().
|
private |
Definition at line 65 of file KDTreeLinkerTrackHcal.cc.
Referenced by updatePFBlockEltWithLinks().
|
private |
Definition at line 52 of file KDTreeLinkerTrackHcal.cc.
Referenced by clear(), insertFieldClusterElt(), and searchLinks().
|
private |
Definition at line 46 of file KDTreeLinkerTrackHcal.cc.
Referenced by buildTree(), clear(), and insertFieldClusterElt().
|
private |
Definition at line 49 of file KDTreeLinkerTrackHcal.cc.
Referenced by clear(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 42 of file KDTreeLinkerTrackHcal.cc.
Referenced by clear(), insertTargetElt(), and searchLinks().
|
private |
Definition at line 60 of file KDTreeLinkerTrackHcal.cc.
Referenced by insertTargetElt(), KDTreeLinkerTrackHcal(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 58 of file KDTreeLinkerTrackHcal.cc.
Referenced by KDTreeLinkerTrackHcal().
|
private |
Definition at line 61 of file KDTreeLinkerTrackHcal.cc.
Referenced by KDTreeLinkerTrackHcal(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 59 of file KDTreeLinkerTrackHcal.cc.
Referenced by KDTreeLinkerTrackHcal().
|
private |
Definition at line 55 of file KDTreeLinkerTrackHcal.cc.
Referenced by buildTree(), clear(), and searchLinks().