#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 | |
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.
KDTreeLinkerPSEcal::~KDTreeLinkerPSEcal | ( | ) |
Definition at line 20 of file KDTreeLinkerPSEcal.cc.
References clear().
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 74 of file KDTreeLinkerPSEcal.cc.
References rechitsNegSet_, rechitsPosSet_, treeNeg_, and treePos_.
|
private |
Definition at line 81 of file KDTreeLinkerPSEcal.cc.
References KDTreeLinkerAlgo< DATA >::build(), reco::PFRecHit::position(), and HLT_50ns_5e33_v3_cff::region.
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 236 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 41 of file KDTreeLinkerPSEcal.cc.
References reco::PFBlockElement::clusterRef(), PFLayer::ECAL_ENDCAP, fieldClusterSet_, funct::fract(), HLT_25ns14e33_v1_cff::fraction, edm::Ref< C, T, F >::isNull(), rechit2ClusterLinks_, rechitsNegSet_, and rechitsPosSet_.
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 27 of file KDTreeLinkerPSEcal.cc.
References reco::PFBlockElement::clusterRef(), and targetSet_.
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 106 of file KDTreeLinkerPSEcal.cc.
References KDTreeLinkerBase::getCristalXYMaxSize(), reco::PFCluster::layer(), reco::CaloCluster::position(), reco::PFCluster::positionREP(), PFLayer::PS1, ps1ToEcal_, ps2ToEcal_, rechit2ClusterLinks_, HLT_50ns_5e33_v3_cff::recHits, resPSlength_, resPSpitch_, run_regression::ret, KDTreeLinkerAlgo< DATA >::search(), target2ClusterLinks_, targetSet_, treeNeg_, treePos_, x, and detailsBasic3DVector::y.
|
virtual |
Implements KDTreeLinkerBase.
Definition at line 213 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().