#include <KDTreeLinkerBase.h>
Public Member Functions | |
virtual void | buildTree ()=0 |
virtual void | clear ()=0 |
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 | setPhiOffset (double phiOffset) |
virtual void | updatePFBlockEltWithLinks ()=0 |
virtual | ~KDTreeLinkerBase () |
Protected Attributes | |
float | cristalPhiEtaMaxSize_ |
float | cristalXYMaxSize_ |
bool | debug_ |
float | phiOffset_ |
Definition at line 9 of file KDTreeLinkerBase.h.
KDTreeLinkerBase::KDTreeLinkerBase | ( | ) |
Definition at line 3 of file KDTreeLinkerBase.cc.
: cristalPhiEtaMaxSize_ (0.04), cristalXYMaxSize_ (3.), phiOffset_ (0.25), debug_ (false) { }
KDTreeLinkerBase::~KDTreeLinkerBase | ( | ) | [virtual] |
Definition at line 11 of file KDTreeLinkerBase.cc.
{ }
virtual void KDTreeLinkerBase::buildTree | ( | ) | [pure virtual] |
Implemented in KDTreeLinkerPSEcal, KDTreeLinkerTrackEcal, and KDTreeLinkerTrackHcal.
Referenced by process().
virtual void KDTreeLinkerBase::clear | ( | ) | [pure virtual] |
Implemented in KDTreeLinkerPSEcal, KDTreeLinkerTrackEcal, and KDTreeLinkerTrackHcal.
Referenced by process().
float KDTreeLinkerBase::getCristalPhiEtaMaxSize | ( | ) | const |
Definition at line 40 of file KDTreeLinkerBase.cc.
References cristalPhiEtaMaxSize_.
Referenced by KDTreeLinkerTrackHcal::searchLinks(), and KDTreeLinkerTrackEcal::searchLinks().
{ return cristalPhiEtaMaxSize_; }
float KDTreeLinkerBase::getCristalXYMaxSize | ( | ) | const |
Definition at line 46 of file KDTreeLinkerBase.cc.
References cristalXYMaxSize_.
Referenced by KDTreeLinkerPSEcal::searchLinks().
{ return cristalXYMaxSize_; }
float KDTreeLinkerBase::getPhiOffset | ( | ) | const |
Definition at line 52 of file KDTreeLinkerBase.cc.
References phiOffset_.
Referenced by KDTreeLinkerTrackHcal::buildTree(), and KDTreeLinkerTrackEcal::buildTree().
{ return phiOffset_; }
virtual void KDTreeLinkerBase::insertFieldClusterElt | ( | reco::PFBlockElement * | cluster | ) | [pure virtual] |
Implemented in KDTreeLinkerPSEcal, KDTreeLinkerTrackEcal, and KDTreeLinkerTrackHcal.
virtual void KDTreeLinkerBase::insertTargetElt | ( | reco::PFBlockElement * | target | ) | [pure virtual] |
Implemented in KDTreeLinkerPSEcal, KDTreeLinkerTrackEcal, and KDTreeLinkerTrackHcal.
void KDTreeLinkerBase::process | ( | ) | [virtual] |
Definition at line 58 of file KDTreeLinkerBase.cc.
References buildTree(), clear(), searchLinks(), and updatePFBlockEltWithLinks().
Referenced by PFBlockAlgo::findBlocks().
{ buildTree(); searchLinks(); updatePFBlockEltWithLinks(); clear(); }
virtual void KDTreeLinkerBase::searchLinks | ( | ) | [pure virtual] |
Implemented in KDTreeLinkerPSEcal, KDTreeLinkerTrackEcal, and KDTreeLinkerTrackHcal.
Referenced by process().
void KDTreeLinkerBase::setCristalPhiEtaMaxSize | ( | float | size | ) |
Definition at line 16 of file KDTreeLinkerBase.cc.
References cristalPhiEtaMaxSize_, and findQualityFiles::size.
Referenced by KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal().
{ cristalPhiEtaMaxSize_ = size; }
void KDTreeLinkerBase::setCristalXYMaxSize | ( | float | size | ) |
Definition at line 22 of file KDTreeLinkerBase.cc.
References cristalXYMaxSize_, and findQualityFiles::size.
{ cristalXYMaxSize_ = size; }
void KDTreeLinkerBase::setDebug | ( | bool | isDebug | ) |
void KDTreeLinkerBase::setPhiOffset | ( | double | phiOffset | ) |
Definition at line 28 of file KDTreeLinkerBase.cc.
References phiOffset_.
Referenced by KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal().
{ phiOffset_ = phiOffset; }
virtual void KDTreeLinkerBase::updatePFBlockEltWithLinks | ( | ) | [pure virtual] |
Implemented in KDTreeLinkerPSEcal, KDTreeLinkerTrackEcal, and KDTreeLinkerTrackHcal.
Referenced by process().
float KDTreeLinkerBase::cristalPhiEtaMaxSize_ [protected] |
Definition at line 60 of file KDTreeLinkerBase.h.
Referenced by getCristalPhiEtaMaxSize(), and setCristalPhiEtaMaxSize().
float KDTreeLinkerBase::cristalXYMaxSize_ [protected] |
Definition at line 61 of file KDTreeLinkerBase.h.
Referenced by getCristalXYMaxSize(), and setCristalXYMaxSize().
bool KDTreeLinkerBase::debug_ [protected] |
Definition at line 70 of file KDTreeLinkerBase.h.
Referenced by setDebug().
float KDTreeLinkerBase::phiOffset_ [protected] |
Definition at line 67 of file KDTreeLinkerBase.h.
Referenced by getPhiOffset(), and setPhiOffset().