Public Member Functions | |
void | buildTree () override |
void | clear () override |
void | insertFieldClusterElt (reco::PFBlockElement *ecalCluster) override |
void | insertTargetElt (reco::PFBlockElement *psCluster) override |
KDTreeLinkerPSEcal (const edm::ParameterSet &conf) | |
void | searchLinks () override |
void | updatePFBlockEltWithLinks () override |
~KDTreeLinkerPSEcal () override | |
Public Member Functions inherited from KDTreeLinkerBase | |
const reco::PFBlockElement::Type & | fieldType () const |
KDTreeLinkerBase (const edm::ParameterSet &conf) | |
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 | |
Static Protected Member Functions inherited from KDTreeLinkerBase | |
template<typename T > | |
static std::vector< size_t > | sort_indexes (const std::vector< T > &v) |
Protected Attributes inherited from KDTreeLinkerBase | |
reco::PFBlockElement::Type | _fieldType |
reco::PFBlockElement::Type | _targetType |
float | cristalPhiEtaMaxSize_ = 0.04 |
float | cristalXYMaxSize_ = 3. |
const float | cutOffFrac = 1E-4 |
bool | debug_ = false |
float | phiOffset_ = 0.25 |
Definition at line 10 of file KDTreeLinkerPSEcal.cc.
KDTreeLinkerPSEcal::KDTreeLinkerPSEcal | ( | const edm::ParameterSet & | conf | ) |
Definition at line 73 of file KDTreeLinkerPSEcal.cc.
|
override |
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 116 of file KDTreeLinkerPSEcal.cc.
References rechitsNegSet_, rechitsPosSet_, treeNeg_, and treePos_.
|
private |
Definition at line 121 of file KDTreeLinkerPSEcal.cc.
References reco::PFRecHit::position(), and HLT_FULL_cff::region.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 256 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 85 of file KDTreeLinkerPSEcal.cc.
References reco::PFBlockElement::clusterRef(), KDTreeLinkerBase::cutOffFrac, PFLayer::ECAL_ENDCAP, fieldClusterSet_, funct::fract(), HLT_FULL_cff::fraction, edm::Ref< C, T, F >::isNull(), rechit2ClusterLinks_, rechitsNegSet_, and rechitsPosSet_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 78 of file KDTreeLinkerPSEcal.cc.
References targetSet_.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 141 of file KDTreeLinkerPSEcal.cc.
References KDTreeLinkerBase::cristalXYMaxSize_, reco::PFCluster::layer(), reco::CaloCluster::position(), reco::PFCluster::positionREP(), PFLayer::PS1, ps1ToEcal_, ps2ToEcal_, rpcPointValidation_cfi::recHit, rechit2ClusterLinks_, FastTrackerRecHitMaskProducer_cfi::recHits, resPSlength_, resPSpitch_, runTheMatrix::ret, KDTreeLinkerAlgo< DATA, DIM >::search(), target2ClusterLinks_, targetSet_, treeNeg_, treePos_, x, and y.
|
overridevirtual |
Implements KDTreeLinkerBase.
Definition at line 231 of file KDTreeLinkerPSEcal.cc.
References KDTreeLinkerBase::_fieldType, KDTreeLinkerBase::_targetType, reco::PFMultiLinksTC::linkedClusters, and target2ClusterLinks_.
|
private |
Definition at line 51 of file KDTreeLinkerPSEcal.cc.
Referenced by clear(), and insertFieldClusterElt().
|
private |
Definition at line 46 of file KDTreeLinkerPSEcal.cc.
Referenced by searchLinks().
|
private |
Definition at line 47 of file KDTreeLinkerPSEcal.cc.
Referenced by searchLinks().
|
private |
Definition at line 62 of file KDTreeLinkerPSEcal.cc.
Referenced by clear(), insertFieldClusterElt(), and searchLinks().
|
private |
Definition at line 55 of file KDTreeLinkerPSEcal.cc.
Referenced by buildTree(), clear(), and insertFieldClusterElt().
|
private |
Definition at line 56 of file KDTreeLinkerPSEcal.cc.
Referenced by buildTree(), clear(), and insertFieldClusterElt().
|
private |
Definition at line 45 of file KDTreeLinkerPSEcal.cc.
Referenced by searchLinks().
|
private |
Definition at line 44 of file KDTreeLinkerPSEcal.cc.
Referenced by searchLinks().
|
private |
Definition at line 59 of file KDTreeLinkerPSEcal.cc.
Referenced by clear(), searchLinks(), and updatePFBlockEltWithLinks().
|
private |
Definition at line 50 of file KDTreeLinkerPSEcal.cc.
Referenced by clear(), insertTargetElt(), and searchLinks().
|
private |
Definition at line 65 of file KDTreeLinkerPSEcal.cc.
Referenced by buildTree(), clear(), and searchLinks().
|
private |
Definition at line 66 of file KDTreeLinkerPSEcal.cc.
Referenced by buildTree(), clear(), and searchLinks().