CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
KDTreeLinkerBase Class Referenceabstract

#include <KDTreeLinkerBase.h>

Inheritance diagram for KDTreeLinkerBase:
KDTreeLinkerPSEcal KDTreeLinkerTrackEcal KDTreeLinkerTrackHcal

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.

4  : cristalPhiEtaMaxSize_ (0.04),
6  phiOffset_ (0.25),
7  debug_ (false)
8 {
9 }
KDTreeLinkerBase::~KDTreeLinkerBase ( )
virtual

Definition at line 11 of file KDTreeLinkerBase.cc.

12 {
13 }

Member Function Documentation

virtual void KDTreeLinkerBase::buildTree ( )
pure virtual
virtual void KDTreeLinkerBase::clear ( )
pure virtual
float KDTreeLinkerBase::getCristalPhiEtaMaxSize ( ) const

Definition at line 40 of file KDTreeLinkerBase.cc.

References cristalPhiEtaMaxSize_.

Referenced by KDTreeLinkerTrackEcal::searchLinks(), and KDTreeLinkerTrackHcal::searchLinks().

41 {
42  return cristalPhiEtaMaxSize_;
43 }
float KDTreeLinkerBase::getCristalXYMaxSize ( ) const

Definition at line 46 of file KDTreeLinkerBase.cc.

References cristalXYMaxSize_.

Referenced by KDTreeLinkerPSEcal::searchLinks().

47 {
48  return cristalXYMaxSize_;
49 }
float KDTreeLinkerBase::getPhiOffset ( ) const

Definition at line 52 of file KDTreeLinkerBase.cc.

References phiOffset_.

Referenced by KDTreeLinkerTrackEcal::buildTree(), and KDTreeLinkerTrackHcal::buildTree().

53 {
54  return phiOffset_;
55 }
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)

Definition at line 16 of file KDTreeLinkerBase.cc.

References cristalPhiEtaMaxSize_, and findQualityFiles::size.

Referenced by KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal().

17 {
19 }
tuple size
Write out results.
void KDTreeLinkerBase::setCristalXYMaxSize ( float  size)

Definition at line 22 of file KDTreeLinkerBase.cc.

References cristalXYMaxSize_, and findQualityFiles::size.

23 {
25 }
tuple size
Write out results.
void KDTreeLinkerBase::setDebug ( bool  isDebug)

Definition at line 34 of file KDTreeLinkerBase.cc.

References debug, and debug_.

35 {
36  debug_ = debug;
37 }
#define debug
Definition: HDRShower.cc:19
void KDTreeLinkerBase::setPhiOffset ( double  phiOffset)

Definition at line 28 of file KDTreeLinkerBase.cc.

References phiOffset_.

Referenced by KDTreeLinkerTrackHcal::KDTreeLinkerTrackHcal().

29 {
30  phiOffset_ = phiOffset;
31 }
virtual void KDTreeLinkerBase::updatePFBlockEltWithLinks ( )
pure virtual

Member Data Documentation

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