#include <KDTreeLinkerBase.h>
Public Member Functions | |
virtual void | buildTree ()=0 |
virtual void | clear ()=0 |
const reco::PFBlockElement::Type & | fieldType () const |
virtual void | insertFieldClusterElt (reco::PFBlockElement *cluster)=0 |
virtual void | insertTargetElt (reco::PFBlockElement *target)=0 |
KDTreeLinkerBase (const edm::ParameterSet &conf) | |
void | process () |
virtual void | searchLinks ()=0 |
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 void | updatePFBlockEltWithLinks ()=0 |
virtual | ~KDTreeLinkerBase () |
Static Protected Member Functions | |
template<typename T > | |
static std::vector< size_t > | sort_indexes (const std::vector< T > &v) |
Protected Attributes | |
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 19 of file KDTreeLinkerBase.h.
|
inline |
Definition at line 21 of file KDTreeLinkerBase.h.
|
inlinevirtual |
Definition at line 22 of file KDTreeLinkerBase.h.
|
pure virtual |
Implemented in KDTreeLinkerTrackEcal, KDTreeLinkerTrackHcal, and KDTreeLinkerPSEcal.
Referenced by process().
|
pure virtual |
Implemented in KDTreeLinkerTrackEcal, KDTreeLinkerTrackHcal, and KDTreeLinkerPSEcal.
Referenced by process().
|
inline |
|
pure virtual |
Implemented in KDTreeLinkerTrackEcal, KDTreeLinkerTrackHcal, and KDTreeLinkerPSEcal.
|
pure virtual |
Implemented in KDTreeLinkerTrackEcal, KDTreeLinkerTrackHcal, and KDTreeLinkerPSEcal.
|
inline |
Definition at line 66 of file KDTreeLinkerBase.h.
References buildTree(), clear(), searchLinks(), and updatePFBlockEltWithLinks().
|
pure virtual |
Implemented in KDTreeLinkerTrackEcal, KDTreeLinkerTrackHcal, and KDTreeLinkerPSEcal.
Referenced by process().
void KDTreeLinkerBase::setDebug | ( | bool | isDebug | ) |
|
inline |
|
inline |
Definition at line 24 of file KDTreeLinkerBase.h.
References _targetType.
|
inlinestaticprotected |
Definition at line 94 of file KDTreeLinkerBase.h.
References mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, heavyIonCSV_trainingSettings::idx, jetUpdater_cfi::sort, and findQualityFiles::v.
Referenced by KDTreeLinkerTrackHcal::updatePFBlockEltWithLinks().
|
inline |
Definition at line 28 of file KDTreeLinkerBase.h.
References _targetType.
|
pure virtual |
Implemented in KDTreeLinkerTrackEcal, KDTreeLinkerTrackHcal, and KDTreeLinkerPSEcal.
Referenced by process().
|
protected |
Definition at line 75 of file KDTreeLinkerBase.h.
Referenced by fieldType(), setFieldType(), KDTreeLinkerPSEcal::updatePFBlockEltWithLinks(), KDTreeLinkerTrackEcal::updatePFBlockEltWithLinks(), and KDTreeLinkerTrackHcal::updatePFBlockEltWithLinks().
|
protected |
Definition at line 75 of file KDTreeLinkerBase.h.
Referenced by setTargetType(), targetType(), KDTreeLinkerPSEcal::updatePFBlockEltWithLinks(), KDTreeLinkerTrackEcal::updatePFBlockEltWithLinks(), and KDTreeLinkerTrackHcal::updatePFBlockEltWithLinks().
|
protected |
Definition at line 77 of file KDTreeLinkerBase.h.
Referenced by KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal(), KDTreeLinkerTrackHcal::searchLinks(), and KDTreeLinkerTrackEcal::searchLinks().
|
protected |
Definition at line 78 of file KDTreeLinkerBase.h.
Referenced by KDTreeLinkerPSEcal::searchLinks().
|
protected |
Definition at line 87 of file KDTreeLinkerBase.h.
Referenced by KDTreeLinkerPSEcal::insertFieldClusterElt(), KDTreeLinkerTrackHcal::insertFieldClusterElt(), and KDTreeLinkerTrackEcal::insertFieldClusterElt().
|
protected |
Definition at line 90 of file KDTreeLinkerBase.h.
|
protected |
Definition at line 84 of file KDTreeLinkerBase.h.
Referenced by KDTreeLinkerTrackEcal::buildTree(), KDTreeLinkerTrackHcal::buildTree(), and KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal().