Public Member Functions | Static Public Member Functions | List of all members
lar_content::kdtree_type_adaptor< T > Class Template Reference

kdtree_type_adaptor More...

#include <KDTreeLinkerToolsT.h>

Public Member Functions

template<>
const pandora::CartesianVector & position (const pandora::CaloHit *const t)
 
template<>
const pandora::CartesianVector & position (const pandora::CartesianVector *const t)
 

Static Public Member Functions

static const pandora::CartesianVector & position (const T *const t)
 position More...
 

Detailed Description

template<typename T>
class lar_content::kdtree_type_adaptor< T >

kdtree_type_adaptor

Definition at line 128 of file KDTreeLinkerToolsT.h.

Member Function Documentation

template<typename T >
const pandora::CartesianVector & lar_content::kdtree_type_adaptor< T >::position ( const T *const  t)
inlinestatic

position

Parameters
t
Returns
position

Definition at line 289 of file KDTreeLinkerToolsT.h.

290 {
291  return t->GetPosition();
292 }
template<>
const pandora::CartesianVector & lar_content::kdtree_type_adaptor< const pandora::CaloHit >::position ( const pandora::CaloHit *const  t)
inline

Definition at line 295 of file KDTreeLinkerToolsT.h.

296 {
297  return t->GetPositionVector();
298 }
template<>
const pandora::CartesianVector & lar_content::kdtree_type_adaptor< const pandora::CartesianVector >::position ( const pandora::CartesianVector *const  t)
inline

Definition at line 301 of file KDTreeLinkerToolsT.h.

302 {
303  return *t;
304 }

The documentation for this class was generated from the following file: