#include <KDTreeLinkerPSEcal.h>
Public Member Functions | |
void | buildTree () override |
void | clear () override |
void | insertFieldClusterElt (reco::PFBlockElement *ecalCluster) override |
void | insertTargetElt (reco::PFBlockElement *psCluster) override |
KDTreeLinkerPSEcal () | |
void | searchLinks () override |
void | updatePFBlockEltWithLinks () override |
~KDTreeLinkerPSEcal () 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 Member Functions | |
void | buildTree (const RecHitSet &rechitsSet, KDTreeLinkerAlgo &tree) |
Private Attributes | |
BlockEltSet | fieldClusterSet_ |
const double | ps1ToEcal_ |
const double | ps2ToEcal_ |
RecHit2BlockEltMap | rechit2ClusterLinks_ |
RecHitSet | rechitsNegSet_ |
RecHitSet | rechitsPosSet_ |
const double | resPSlength_ |
const double | resPSpitch_ |
BlockElt2BlockEltMap | target2ClusterLinks_ |
BlockEltSet | targetSet_ |
KDTreeLinkerAlgo | treeNeg_ |
KDTreeLinkerAlgo | treePos_ |
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 KDTreeLinkerPSEcal.h.
KDTreeLinkerPSEcal::KDTreeLinkerPSEcal | ( | ) |
Definition at line 12 of file KDTreeLinkerPSEcal.cc.
|
override |
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 70 of file KDTreeLinkerPSEcal.cc.
References rechitsNegSet_, rechitsPosSet_, treeNeg_, and treePos_.
|
private |
Definition at line 77 of file KDTreeLinkerPSEcal.cc.
References KDTreeLinkerAlgo< DATA, DIM >::build(), and reco::PFRecHit::position().
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 231 of file KDTreeLinkerPSEcal.cc.
References KDTreeLinkerAlgo< DATA, DIM >::clear(), fieldClusterSet_, rechit2ClusterLinks_, rechitsNegSet_, rechitsPosSet_, target2ClusterLinks_, targetSet_, treeNeg_, and treePos_.
Referenced by ~KDTreeLinkerPSEcal().
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 37 of file KDTreeLinkerPSEcal.cc.
References reco::PFBlockElement::clusterRef(), PFLayer::ECAL_ENDCAP, fieldClusterSet_, funct::fract(), dedxEstimators_cff::fraction, edm::Ref< C, T, F >::isNull(), rechit2ClusterLinks_, rechitsNegSet_, and rechitsPosSet_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 27 of file KDTreeLinkerPSEcal.cc.
References targetSet_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 102 of file KDTreeLinkerPSEcal.cc.
References KDTreeLinkerBase::getCristalXYMaxSize(), reco::PFCluster::layer(), reco::CaloCluster::position(), reco::PFCluster::positionREP(), PFLayer::PS1, ps1ToEcal_, ps2ToEcal_, rechit2ClusterLinks_, resPSlength_, resPSpitch_, KDTreeLinkerAlgo< DATA, DIM >::search(), target2ClusterLinks_, targetSet_, treeNeg_, treePos_, x, and y.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 208 of file KDTreeLinkerPSEcal.cc.
References reco::PFMultiLinksTC::linkedClusters, and target2ClusterLinks_.
|
private |
Definition at line 56 of file KDTreeLinkerPSEcal.h.
Referenced by clear(), and insertFieldClusterElt().
|
private |
Definition at line 51 of file KDTreeLinkerPSEcal.h.
Referenced by searchLinks().
|
private |
Definition at line 52 of file KDTreeLinkerPSEcal.h.
Referenced by searchLinks().
|
private |
Definition at line 67 of file KDTreeLinkerPSEcal.h.
Referenced by clear(), insertFieldClusterElt(), and searchLinks().
|
private |
Definition at line 60 of file KDTreeLinkerPSEcal.h.
Referenced by buildTree(), clear(), and insertFieldClusterElt().
|
private |
Definition at line 61 of file KDTreeLinkerPSEcal.h.
Referenced by buildTree(), clear(), and insertFieldClusterElt().
|
private |
Definition at line 50 of file KDTreeLinkerPSEcal.h.
Referenced by searchLinks().
|
private |
Definition at line 49 of file KDTreeLinkerPSEcal.h.
Referenced by searchLinks().
|
private |
Definition at line 64 of file KDTreeLinkerPSEcal.h.
Referenced by clear(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 55 of file KDTreeLinkerPSEcal.h.
Referenced by clear(), insertTargetElt(), and searchLinks().
|
private |
Definition at line 70 of file KDTreeLinkerPSEcal.h.
Referenced by buildTree(), clear(), and searchLinks().
|
private |
Definition at line 71 of file KDTreeLinkerPSEcal.h.
Referenced by buildTree(), clear(), and searchLinks().