#include <KDTreeLinkerTrackHcal.h>
Public Member Functions | |
void | buildTree () override |
void | clear () override |
void | insertFieldClusterElt (reco::PFBlockElement *hcalCluster) override |
void | insertTargetElt (reco::PFBlockElement *track) override |
KDTreeLinkerTrackHcal () | |
void | searchLinks () override |
void | updatePFBlockEltWithLinks () override |
~KDTreeLinkerTrackHcal () override | |
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 | |
BlockElt2BlockEltMap | cluster2TargetLinks_ |
BlockEltSet | fieldClusterSet_ |
RecHit2BlockEltMap | rechit2ClusterLinks_ |
RecHitSet | rechitsSet_ |
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 KDTreeLinkerTrackHcal.h.
KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal | ( | ) |
Definition at line 13 of file KDTreeLinkerTrackHcal.cc.
References KDTreeLinkerBase::setCristalPhiEtaMaxSize(), and KDTreeLinkerBase::setPhiOffset().
|
override |
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 66 of file KDTreeLinkerTrackHcal.cc.
References KDTreeLinkerAlgo< DATA, DIM >::build(), RhoEtaPhi::eta(), KDTreeLinkerBase::getPhiOffset(), M_PI, phi, RhoEtaPhi::phi(), phimax, phimin, rechitsSet_, and tree_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 217 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 35 of file KDTreeLinkerTrackHcal.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 26 of file KDTreeLinkerTrackHcal.cc.
References reco::PFTrajectoryPoint::HCALEntrance, targetSet_, and reco::PFBlockElement::trackRefPF().
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 107 of file KDTreeLinkerTrackHcal.cc.
References cluster2TargetLinks_, PVValHelper::eta, KDTreeLinkerBase::getCristalPhiEtaMaxSize(), reco::PFTrajectoryPoint::HCALEntrance, reco::PFTrajectoryPoint::HCALExit, reco::PFTrajectoryPoint::isValid(), M_PI, phi, reco::PFTrajectoryPoint::positionREP(), rechit2ClusterLinks_, KDTreeLinkerAlgo< DATA, DIM >::search(), targetSet_, and tree_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 184 of file KDTreeLinkerTrackHcal.cc.
References cluster2TargetLinks_, fieldClusterSet_, reco::PFTrajectoryPoint::HCALEntrance, reco::PFMultiLinksTC::linkedClusters, and reco::PFTrajectoryPoint::positionREP().
|
private |
Definition at line 51 of file KDTreeLinkerTrackHcal.h.
Referenced by clear(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 45 of file KDTreeLinkerTrackHcal.h.
Referenced by clear(), insertFieldClusterElt(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 54 of file KDTreeLinkerTrackHcal.h.
Referenced by clear(), insertFieldClusterElt(), and searchLinks().
|
private |
Definition at line 48 of file KDTreeLinkerTrackHcal.h.
Referenced by buildTree(), clear(), and insertFieldClusterElt().
|
private |
Definition at line 44 of file KDTreeLinkerTrackHcal.h.
Referenced by clear(), insertTargetElt(), and searchLinks().
|
private |
Definition at line 57 of file KDTreeLinkerTrackHcal.h.
Referenced by buildTree(), clear(), and searchLinks().