Public Member Functions | |
void | buildTree () override |
void | clear () override |
void | insertFieldClusterElt (reco::PFBlockElement *ecalCluster) override |
void | insertTargetElt (reco::PFBlockElement *track) override |
KDTreeLinkerTrackEcal (const edm::ParameterSet &conf) | |
void | searchLinks () override |
void | updatePFBlockEltWithLinks () override |
~KDTreeLinkerTrackEcal () 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 KDTreeLinkerTrackEcal.cc.
KDTreeLinkerTrackEcal::KDTreeLinkerTrackEcal | ( | const edm::ParameterSet & | conf | ) |
Definition at line 62 of file KDTreeLinkerTrackEcal.cc.
|
override |
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 101 of file KDTreeLinkerTrackEcal.cc.
References KDTreeLinkerAlgo< DATA, DIM >::build(), RhoEtaPhi::eta(), f, M_PI, phi, RhoEtaPhi::phi(), phimax, phimin, KDTreeLinkerBase::phiOffset_, rechitsSet_, HLT_2022v15_cff::region, and tree_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 263 of file KDTreeLinkerTrackEcal.cc.
References KDTreeLinkerAlgo< DATA, DIM >::clear(), cluster2TargetLinks_, fieldClusterSet_, rechit2ClusterLinks_, rechitsSet_, targetSet_, and tree_.
Referenced by ~KDTreeLinkerTrackEcal().
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 72 of file KDTreeLinkerTrackEcal.cc.
References reco::PFBlockElement::clusterRef(), KDTreeLinkerBase::cutOffFrac, fieldClusterSet_, funct::fract(), HLT_2022v15_cff::fraction, edm::Ref< C, T, F >::isNull(), rechit2ClusterLinks_, and rechitsSet_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 66 of file KDTreeLinkerTrackEcal.cc.
References reco::PFTrajectoryPoint::ECALShowerMax, targetSet_, and HLT_2022v15_cff::track.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 138 of file KDTreeLinkerTrackEcal.cc.
References reco::PFTrajectoryPoint::ClosestApproach, cluster2TargetLinks_, KDTreeLinkerBase::cristalPhiEtaMaxSize_, PFLayer::ECAL_BARREL, reco::PFTrajectoryPoint::ECALShowerMax, PVValHelper::eta, reco::PFTrajectoryPoint::isValid(), M_PI, SiStripPI::min, reco::PFTrajectoryPoint::momentum(), phi, reco::PFTrajectoryPoint::position(), reco::PFTrajectoryPoint::positionREP(), FastTimerService_cff::range, rpcPointValidation_cfi::recHit, rechit2ClusterLinks_, FastTrackerRecHitMaskProducer_cfi::recHits, runTheMatrix::ret, KDTreeLinkerAlgo< DATA, DIM >::search(), mathSSE::sqrt(), targetSet_, listHistos::trackPt, tree_, x, and y.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 238 of file KDTreeLinkerTrackEcal.cc.
References KDTreeLinkerBase::_fieldType, KDTreeLinkerBase::_targetType, cluster2TargetLinks_, and reco::PFMultiLinksTC::linkedPFObjects.
|
private |
Definition at line 49 of file KDTreeLinkerTrackEcal.cc.
Referenced by clear(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 43 of file KDTreeLinkerTrackEcal.cc.
Referenced by clear(), and insertFieldClusterElt().
|
private |
Definition at line 52 of file KDTreeLinkerTrackEcal.cc.
Referenced by clear(), insertFieldClusterElt(), and searchLinks().
|
private |
Definition at line 46 of file KDTreeLinkerTrackEcal.cc.
Referenced by buildTree(), clear(), and insertFieldClusterElt().
|
private |
Definition at line 42 of file KDTreeLinkerTrackEcal.cc.
Referenced by clear(), insertTargetElt(), and searchLinks().
|
private |
Definition at line 55 of file KDTreeLinkerTrackEcal.cc.
Referenced by buildTree(), clear(), and searchLinks().