test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
KDTreeNodeInfo< DATA > Struct Template Reference

#include <KDTreeLinkerTools.h>

Public Types

enum  { kDim1 =0, kDim2 =1 }
 

Public Member Functions

 KDTreeNodeInfo ()
 
 KDTreeNodeInfo (const DATA &d, float dim_1, float dim_2)
 
 KDTreeNodeInfo ()
 
 KDTreeNodeInfo (const reco::PFRecHit *rhptr, double d1, double d2)
 

Public Attributes

DATA data
 
float dim [2]
 
double dim1
 
double dim2
 
const reco::PFRecHitptr
 

Detailed Description

template<typename DATA>
struct KDTreeNodeInfo< DATA >

Definition at line 44 of file KDTreeLinkerTools.h.

Member Enumeration Documentation

template<typename DATA>
anonymous enum
Enumerator
kDim1 
kDim2 

Definition at line 38 of file KDTreeLinkerTools.h.

Constructor & Destructor Documentation

template<typename DATA>
KDTreeNodeInfo< DATA >::KDTreeNodeInfo ( )
inline

Definition at line 51 of file KDTreeLinkerTools.h.

52  : ptr(0)
53  {}
const reco::PFRecHit * ptr
template<typename DATA>
KDTreeNodeInfo< DATA >::KDTreeNodeInfo ( const reco::PFRecHit rhptr,
double  d1,
double  d2 
)
inline

Definition at line 55 of file KDTreeLinkerTools.h.

58  : ptr(rhptr), dim1(d1), dim2(d2)
59  {}
const reco::PFRecHit * ptr
template<typename DATA>
KDTreeNodeInfo< DATA >::KDTreeNodeInfo ( )
inline

Definition at line 41 of file KDTreeLinkerTools.h.

42  {}
template<typename DATA>
KDTreeNodeInfo< DATA >::KDTreeNodeInfo ( const DATA &  d,
float  dim_1,
float  dim_2 
)
inline

Definition at line 44 of file KDTreeLinkerTools.h.

47  : data(d), dim{dim_1, dim_2}
48  {}
tuple d
Definition: ztail.py:151

Member Data Documentation

template<typename DATA>
DATA KDTreeNodeInfo< DATA >::data
template<typename DATA>
float KDTreeNodeInfo< DATA >::dim[2]
template<typename DATA>
double KDTreeNodeInfo< DATA >::dim1
template<typename DATA>
double KDTreeNodeInfo< DATA >::dim2
template<typename DATA>
const reco::PFRecHit* KDTreeNodeInfo< DATA >::ptr

Definition at line 46 of file KDTreeLinkerTools.h.