CMS 3D CMS Logo

Public Member Functions | Protected Attributes

KDTreeLinkerBase Class Reference

#include <KDTreeLinkerBase.h>

Inheritance diagram for KDTreeLinkerBase:
KDTreeLinkerPSEcal KDTreeLinkerTrackEcal KDTreeLinkerTrackHcal

List of all members.

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_

Detailed Description

Definition at line 9 of file KDTreeLinkerBase.h.


Constructor & Destructor Documentation

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.

{
}

Member Function Documentation

virtual void KDTreeLinkerBase::buildTree ( ) [pure virtual]
virtual void KDTreeLinkerBase::clear ( ) [pure virtual]
float KDTreeLinkerBase::getCristalPhiEtaMaxSize ( ) const
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]
virtual void KDTreeLinkerBase::insertTargetElt ( reco::PFBlockElement target) [pure virtual]
void KDTreeLinkerBase::process ( ) [virtual]
virtual void KDTreeLinkerBase::searchLinks ( ) [pure virtual]
void KDTreeLinkerBase::setCristalPhiEtaMaxSize ( float  size)
void KDTreeLinkerBase::setCristalXYMaxSize ( float  size)

Definition at line 22 of file KDTreeLinkerBase.cc.

References cristalXYMaxSize_, and findQualityFiles::size.

void KDTreeLinkerBase::setDebug ( bool  isDebug)

Definition at line 34 of file KDTreeLinkerBase.cc.

References debug, and debug_.

{
  debug_ = debug;
}
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]

Member Data Documentation

Definition at line 60 of file KDTreeLinkerBase.h.

Referenced by getCristalPhiEtaMaxSize(), and setCristalPhiEtaMaxSize().

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().