LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
KDTreeLinkerToolsT.h File Reference

Header file for the kd tree linker tools template class. More...

#include "Api/PandoraContentApi.h"
#include "Objects/CaloHit.h"
#include "Objects/CartesianVector.h"
#include "Pandora/PandoraInternal.h"
#include <array>
#include <vector>

Go to the source code of this file.

Classes

class  lar_content::KDTreeBoxT< DIM >
 Box structure used to define 2D field. It's used in KDTree building step to divide the detector space (ECAL, HCAL...) and in searching step to create a bounding box around the demanded point (Track collision point, PS projection...). More...
 
class  lar_content::KDTreeNodeInfoT< DATA, DIM >
 Data stored in each KDTree node. The dim1/dim2 fields are usually the duplication of some PFRecHit values (eta/phi or x/y). But in some situations, phi field is shifted by +-2.Pi. More...
 
class  lar_content::KDTreeNodeT< DATA, DIM >
 KDTree node. More...
 
class  lar_content::kdtree_type_adaptor< T >
 kdtree_type_adaptor More...
 

Namespaces

 pandora
 
 lar_content
 

Typedefs

typedef KDTreeBoxT< 2 > lar_content::KDTreeBox
 
typedef KDTreeBoxT< 3 > lar_content::KDTreeCube
 

Functions

std::pair< float, float > lar_content::minmax (const float a, const float b)
 minmax More...
 
template<typename T >
KDTreeBox lar_content::fill_and_bound_2d_kd_tree (const MANAGED_CONTAINER< const T * > &points, std::vector< KDTreeNodeInfoT< const T *, 2 >> &nodes)
 fill_and_bound_2d_kd_tree More...
 
template<typename T >
KDTreeCube lar_content::fill_and_bound_3d_kd_tree (const MANAGED_CONTAINER< const T * > &points, std::vector< KDTreeNodeInfoT< const T *, 3 >> &nodes)
 fill_and_bound_3d_kd_tree More...
 
KDTreeBox lar_content::build_2d_kd_search_region (const pandora::CaloHit *const point, const float x_span, const float z_span)
 build_2d_kd_search_region More...
 
KDTreeBox lar_content::build_2d_kd_search_region (const pandora::CartesianVector &pos, const float x_span, const float z_span)
 build_2d_kd_search_region More...
 
KDTreeCube lar_content::build_3d_kd_search_region (const pandora::CaloHit *const point, const float x_span, const float y_span, const float z_span)
 build_3d_kd_search_region More...
 
KDTreeCube lar_content::build_3d_kd_search_region (const pandora::CartesianVector &pos, const float x_span, const float y_span, const float z_span)
 build_3d_kd_search_region More...
 

Detailed Description

Header file for the kd tree linker tools template class.

Log

Definition in file KDTreeLinkerToolsT.h.