#include <KDTreeLinkerPSEcal.h>
Public Member Functions | |
void | buildTree () |
void | clear () |
void | insertFieldClusterElt (reco::PFBlockElement *ecalCluster) |
void | insertTargetElt (reco::PFBlockElement *psCluster) |
KDTreeLinkerPSEcal () | |
void | searchLinks () |
void | updatePFBlockEltWithLinks () |
~KDTreeLinkerPSEcal () | |
Public Member Functions inherited from KDTreeLinkerBase | |
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 | setPhiOffset (double phiOffset) |
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 | |
float | cristalPhiEtaMaxSize_ |
float | cristalXYMaxSize_ |
bool | debug_ |
float | phiOffset_ |
Definition at line 12 of file KDTreeLinkerPSEcal.h.
KDTreeLinkerPSEcal::KDTreeLinkerPSEcal | ( | ) |
Definition at line 6 of file KDTreeLinkerPSEcal.cc.
KDTreeLinkerPSEcal::~KDTreeLinkerPSEcal | ( | ) |
Definition at line 14 of file KDTreeLinkerPSEcal.cc.
References clear().
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 68 of file KDTreeLinkerPSEcal.cc.
References rechitsNegSet_, rechitsPosSet_, treeNeg_, and treePos_.
|
private |
Definition at line 75 of file KDTreeLinkerPSEcal.cc.
References KDTreeLinkerAlgo< DATA >::build(), and reco::PFRecHit::position().
|
virtual |
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().
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 35 of file KDTreeLinkerPSEcal.cc.
References reco::PFBlockElement::clusterRef(), PFLayer::ECAL_ENDCAP, fieldClusterSet_, funct::fract(), edm::Ref< C, T, F >::isNull(), rechit2ClusterLinks_, rechitsNegSet_, and rechitsPosSet_.
Referenced by PFBlockAlgo::setInput().
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 21 of file KDTreeLinkerPSEcal.cc.
References reco::PFBlockElement::clusterRef(), and targetSet_.
Referenced by PFBlockAlgo::setInput().
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 100 of file KDTreeLinkerPSEcal.cc.
References KDTreeLinkerBase::getCristalXYMaxSize(), reco::PFCluster::layer(), reco::CaloCluster::position(), reco::PFCluster::positionREP(), PFLayer::PS1, ps1ToEcal_, ps2ToEcal_, rechit2ClusterLinks_, resPSlength_, resPSpitch_, run_regression::ret, KDTreeLinkerAlgo< DATA >::search(), target2ClusterLinks_, targetSet_, treeNeg_, treePos_, x, and detailsBasic3DVector::y.
|
virtual |
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().