#include <KDTreeLinkerTrackEcal.h>
Public Member Functions | |
void | buildTree () override |
void | clear () override |
void | insertFieldClusterElt (reco::PFBlockElement *ecalCluster) override |
void | insertTargetElt (reco::PFBlockElement *track) override |
KDTreeLinkerTrackEcal () | |
void | searchLinks () override |
void | updatePFBlockEltWithLinks () override |
~KDTreeLinkerTrackEcal () 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 KDTreeLinkerTrackEcal.h.
KDTreeLinkerTrackEcal::KDTreeLinkerTrackEcal | ( | ) |
Definition at line 13 of file KDTreeLinkerTrackEcal.cc.
|
override |
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 63 of file KDTreeLinkerTrackEcal.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 237 of file KDTreeLinkerTrackEcal.cc.
References KDTreeLinkerAlgo< DATA >::clear(), fieldClusterSet_, rechit2ClusterLinks_, rechitsSet_, target2ClusterLinks_, targetSet_, and tree_.
Referenced by ~KDTreeLinkerTrackEcal().
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 32 of file KDTreeLinkerTrackEcal.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 23 of file KDTreeLinkerTrackEcal.cc.
References reco::PFTrajectoryPoint::ECALShowerMax, targetSet_, and reco::PFBlockElement::trackRefPF().
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 104 of file KDTreeLinkerTrackEcal.cc.
References reco::PFTrajectoryPoint::ClosestApproach, KDTreeLinkerBase::cristalPhiEtaMaxSize_, PFLayer::ECAL_BARREL, reco::PFTrajectoryPoint::ECALShowerMax, PVValHelper::eta, reco::PFTrajectoryPoint::isValid(), M_PI, min(), reco::PFTrajectoryPoint::momentum(), phi, reco::PFTrajectoryPoint::position(), reco::PFTrajectoryPoint::positionREP(), rpcPointValidation_cfi::recHit, rechit2ClusterLinks_, KDTreeLinkerAlgo< DATA >::search(), mathSSE::sqrt(), target2ClusterLinks_, targetSet_, listHistos::trackPt, tree_, x, and y.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 214 of file KDTreeLinkerTrackEcal.cc.
References reco::PFMultiLinksTC::linkedClusters, and target2ClusterLinks_.
|
private |
Definition at line 45 of file KDTreeLinkerTrackEcal.h.
Referenced by clear(), and insertFieldClusterElt().
|
private |
Definition at line 54 of file KDTreeLinkerTrackEcal.h.
Referenced by clear(), insertFieldClusterElt(), and searchLinks().
|
private |
Definition at line 48 of file KDTreeLinkerTrackEcal.h.
Referenced by buildTree(), clear(), and insertFieldClusterElt().
|
private |
Definition at line 51 of file KDTreeLinkerTrackEcal.h.
Referenced by clear(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 44 of file KDTreeLinkerTrackEcal.h.
Referenced by clear(), insertTargetElt(), and searchLinks().
|
private |
Definition at line 57 of file KDTreeLinkerTrackEcal.h.
Referenced by buildTree(), clear(), and searchLinks().