#include <KDTreeLinkerBase.h>
Public Member Functions | |
virtual void | buildTree ()=0 |
virtual void | clear ()=0 |
const reco::PFBlockElement::Type & | fieldType () const |
float | getCristalPhiEtaMaxSize () const |
float | getCristalXYMaxSize () const |
float | getPhiOffset () const |
virtual void | insertFieldClusterElt (reco::PFBlockElement *cluster)=0 |
virtual void | insertTargetElt (reco::PFBlockElement *target)=0 |
KDTreeLinkerBase () | |
virtual void | process () |
virtual void | searchLinks ()=0 |
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 void | updatePFBlockEltWithLinks ()=0 |
virtual | ~KDTreeLinkerBase () |
Protected Attributes | |
reco::PFBlockElement::Type | _fieldType |
reco::PFBlockElement::Type | _targetType |
float | cristalPhiEtaMaxSize_ |
float | cristalXYMaxSize_ |
bool | debug_ |
float | phiOffset_ |
Definition at line 9 of file KDTreeLinkerBase.h.
KDTreeLinkerBase::KDTreeLinkerBase | ( | ) |
Definition at line 5 of file KDTreeLinkerBase.cc.
|
virtual |
Definition at line 13 of file KDTreeLinkerBase.cc.
|
pure virtual |
Implemented in KDTreeLinkerPSEcal, KDTreeLinkerTrackEcal, and KDTreeLinkerTrackHcal.
Referenced by fieldType(), and process().
|
pure virtual |
Implemented in KDTreeLinkerTrackEcal, KDTreeLinkerTrackHcal, and KDTreeLinkerPSEcal.
Referenced by fieldType(), and process().
|
inline |
Definition at line 28 of file KDTreeLinkerBase.h.
References _fieldType, buildTree(), clear(), getCristalPhiEtaMaxSize(), getCristalXYMaxSize(), getPhiOffset(), insertFieldClusterElt(), insertTargetElt(), process(), searchLinks(), setCristalPhiEtaMaxSize(), setCristalXYMaxSize(), setDebug(), setPhiOffset(), findQualityFiles::size, edmPickEvents::target, and updatePFBlockEltWithLinks().
float KDTreeLinkerBase::getCristalPhiEtaMaxSize | ( | ) | const |
Definition at line 42 of file KDTreeLinkerBase.cc.
References cristalPhiEtaMaxSize_.
Referenced by fieldType(), KDTreeLinkerTrackHcal::searchLinks(), and KDTreeLinkerTrackEcal::searchLinks().
float KDTreeLinkerBase::getCristalXYMaxSize | ( | ) | const |
Definition at line 48 of file KDTreeLinkerBase.cc.
References cristalXYMaxSize_.
Referenced by fieldType(), and KDTreeLinkerPSEcal::searchLinks().
float KDTreeLinkerBase::getPhiOffset | ( | ) | const |
Definition at line 54 of file KDTreeLinkerBase.cc.
References phiOffset_.
Referenced by KDTreeLinkerTrackEcal::buildTree(), KDTreeLinkerTrackHcal::buildTree(), and fieldType().
|
pure virtual |
Implemented in KDTreeLinkerPSEcal, KDTreeLinkerTrackEcal, and KDTreeLinkerTrackHcal.
Referenced by fieldType().
|
pure virtual |
Implemented in KDTreeLinkerPSEcal, KDTreeLinkerTrackEcal, and KDTreeLinkerTrackHcal.
Referenced by fieldType().
|
virtual |
Definition at line 60 of file KDTreeLinkerBase.cc.
References buildTree(), clear(), searchLinks(), and updatePFBlockEltWithLinks().
Referenced by fieldType().
|
pure virtual |
Implemented in KDTreeLinkerTrackEcal, KDTreeLinkerTrackHcal, and KDTreeLinkerPSEcal.
Referenced by fieldType(), and process().
void KDTreeLinkerBase::setCristalPhiEtaMaxSize | ( | float | size | ) |
Definition at line 18 of file KDTreeLinkerBase.cc.
References cristalPhiEtaMaxSize_, and findQualityFiles::size.
Referenced by fieldType(), and KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal().
void KDTreeLinkerBase::setCristalXYMaxSize | ( | float | size | ) |
Definition at line 24 of file KDTreeLinkerBase.cc.
References cristalXYMaxSize_, and findQualityFiles::size.
Referenced by fieldType().
void KDTreeLinkerBase::setDebug | ( | bool | isDebug | ) |
|
inline |
void KDTreeLinkerBase::setPhiOffset | ( | double | phiOffset | ) |
Definition at line 30 of file KDTreeLinkerBase.cc.
References phiOffset_.
Referenced by fieldType(), and KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal().
|
inline |
Definition at line 16 of file KDTreeLinkerBase.h.
References _targetType.
|
inline |
Definition at line 24 of file KDTreeLinkerBase.h.
References _targetType.
|
pure virtual |
Implemented in KDTreeLinkerTrackEcal, KDTreeLinkerTrackHcal, and KDTreeLinkerPSEcal.
Referenced by fieldType(), and process().
|
protected |
Definition at line 76 of file KDTreeLinkerBase.h.
Referenced by fieldType(), and setFieldType().
|
protected |
Definition at line 76 of file KDTreeLinkerBase.h.
Referenced by setTargetType(), and targetType().
|
protected |
Definition at line 78 of file KDTreeLinkerBase.h.
Referenced by getCristalPhiEtaMaxSize(), and setCristalPhiEtaMaxSize().
|
protected |
Definition at line 79 of file KDTreeLinkerBase.h.
Referenced by getCristalXYMaxSize(), and setCristalXYMaxSize().
|
protected |
Definition at line 88 of file KDTreeLinkerBase.h.
Referenced by setDebug().
|
protected |
Definition at line 85 of file KDTreeLinkerBase.h.
Referenced by getPhiOffset(), and setPhiOffset().