#include <KDTreeLinkerTrackEcal.h>
Public Member Functions | |
void | buildTree () |
void | clear () |
void | insertFieldClusterElt (reco::PFBlockElement *ecalCluster) |
void | insertTargetElt (reco::PFBlockElement *track) |
KDTreeLinkerTrackEcal () | |
void | searchLinks () |
void | updatePFBlockEltWithLinks () |
~KDTreeLinkerTrackEcal () | |
Public Member Functions inherited from KDTreeLinkerBase | |
const reco::PFBlockElement::Type & | fieldType () const |
float | getCristalPhiEtaMaxSize () const |
float | getCristalXYMaxSize () const |
float | getPhiOffset () const |
KDTreeLinkerBase () | |
virtual void | process () |
void | setCristalPhiEtaMaxSize (float size) |
void | setCristalXYMaxSize (float size) |
void | setDebug (bool isDebug) |
void | setFieldType (const reco::PFBlockElement::Type &fld) |
void | setPhiOffset (double phiOffset) |
void | setTargetType (const reco::PFBlockElement::Type &tgt) |
const reco::PFBlockElement::Type & | targetType () const |
virtual | ~KDTreeLinkerBase () |
Private Attributes | |
BlockEltSet | fieldClusterSet_ |
RecHit2BlockEltMap | rechit2ClusterLinks_ |
RecHitSet | rechitsSet_ |
BlockElt2BlockEltMap | target2ClusterLinks_ |
BlockEltSet | targetSet_ |
KDTreeLinkerAlgo | tree_ |
Additional Inherited Members | |
Protected Attributes inherited from KDTreeLinkerBase | |
reco::PFBlockElement::Type | _fieldType |
reco::PFBlockElement::Type | _targetType |
float | cristalPhiEtaMaxSize_ |
float | cristalXYMaxSize_ |
bool | debug_ |
float | phiOffset_ |
Definition at line 12 of file KDTreeLinkerTrackEcal.h.
KDTreeLinkerTrackEcal::KDTreeLinkerTrackEcal | ( | ) |
Definition at line 13 of file KDTreeLinkerTrackEcal.cc.
KDTreeLinkerTrackEcal::~KDTreeLinkerTrackEcal | ( | ) |
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 63 of file KDTreeLinkerTrackEcal.cc.
References KDTreeLinkerAlgo< DATA >::build(), KDTreeLinkerBase::getPhiOffset(), M_PI, phi, phimax, phimin, rechitsSet_, and tree_.
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 239 of file KDTreeLinkerTrackEcal.cc.
References KDTreeLinkerAlgo< DATA >::clear(), fieldClusterSet_, rechit2ClusterLinks_, rechitsSet_, target2ClusterLinks_, targetSet_, and tree_.
Referenced by ~KDTreeLinkerTrackEcal().
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 32 of file KDTreeLinkerTrackEcal.cc.
References reco::PFBlockElement::clusterRef(), fieldClusterSet_, funct::fract(), edm::Ref< C, T, F >::isNull(), rechit2ClusterLinks_, and rechitsSet_.
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 23 of file KDTreeLinkerTrackEcal.cc.
References reco::PFTrajectoryPoint::ECALShowerMax, targetSet_, and reco::PFBlockElement::trackRefPF().
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 104 of file KDTreeLinkerTrackEcal.cc.
References reco::PFTrajectoryPoint::ClosestApproach, PFLayer::ECAL_BARREL, reco::PFTrajectoryPoint::ECALShowerMax, reco::tau::disc::Eta(), KDTreeLinkerBase::getCristalPhiEtaMaxSize(), reco::PFTrajectoryPoint::isValid(), M_PI, bookConverter::min, reco::PFTrajectoryPoint::momentum(), colinearityKinematic::Phi, reco::PFTrajectoryPoint::position(), reco::PFTrajectoryPoint::positionREP(), rechit2ClusterLinks_, run_regression::ret, KDTreeLinkerAlgo< DATA >::search(), mathSSE::sqrt(), target2ClusterLinks_, targetSet_, listHistos::trackPt, tree_, x, and detailsBasic3DVector::y.
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 216 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().