#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 |
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 () |
Private Member Functions | |
void | buildTree (const RecHitSet &rechitsSet, KDTreeLinkerAlgo< reco::PFRecHit const * > &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< reco::PFRecHit const * > | treeNeg_ |
KDTreeLinkerAlgo< reco::PFRecHit const * > | treePos_ |
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 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 >::build(), and reco::PFRecHit::position().
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 230 of file KDTreeLinkerPSEcal.cc.
References KDTreeLinkerAlgo< DATA >::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::cristalXYMaxSize_, reco::PFCluster::layer(), reco::CaloCluster::position(), reco::PFCluster::positionREP(), PFLayer::PS1, ps1ToEcal_, ps2ToEcal_, rpcPointValidation_cfi::recHit, rechit2ClusterLinks_, resPSlength_, resPSpitch_, KDTreeLinkerAlgo< DATA >::search(), target2ClusterLinks_, targetSet_, treeNeg_, treePos_, x, and y.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 207 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().