Public Member Functions | Public Attributes | List of all members
lar_content::KDTreeNodeInfoT< DATA, DIM > Class Template Reference

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

#include <PreProcessingAlgorithm.h>

Public Member Functions

 KDTreeNodeInfoT ()
 Default constructor. More...
 
template<typename... Ts>
 KDTreeNodeInfoT (const DATA &d, Ts...dimargs)
 Constructor. More...
 

Public Attributes

DATA data
 
std::array< float, DIM > dims
 

Detailed Description

template<typename DATA, unsigned DIM>
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.

Definition at line 19 of file PreProcessingAlgorithm.h.

Constructor & Destructor Documentation

template<typename DATA , unsigned DIM>
lar_content::KDTreeNodeInfoT< DATA, DIM >::KDTreeNodeInfoT ( )
inline

Default constructor.

Definition at line 249 of file KDTreeLinkerToolsT.h.

249  : data()
250 {
251 }
template<typename DATA, unsigned DIM>
template<typename... Ts>
lar_content::KDTreeNodeInfoT< DATA, DIM >::KDTreeNodeInfoT ( const DATA &  d,
Ts...  dimargs 
)
inline

Constructor.

Parameters
d
dimargs

Definition at line 257 of file KDTreeLinkerToolsT.h.

257  : data(d), dims{{dimargs...}}
258 {
259 }
std::array< float, DIM > dims

Member Data Documentation

template<typename DATA, unsigned DIM>
DATA lar_content::KDTreeNodeInfoT< DATA, DIM >::data

Definition at line 83 of file KDTreeLinkerToolsT.h.

template<typename DATA, unsigned DIM>
std::array<float, DIM> lar_content::KDTreeNodeInfoT< DATA, DIM >::dims

Definition at line 84 of file KDTreeLinkerToolsT.h.


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