ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Classes | Macros | Functions
fastcluster_R_dm.cxx File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pos_node
 

Macros

#define size_(r_)   (((r_ < N) ? 1 : node_size[r_ - N]))
 

Functions

void order_nodes (const int N, const int *const merge, const t_index *const node_size, int *const order)
 
template<const bool sorted>
void generate_R_dendrogram (int *const merge, double *const height, int *const order, cluster_result &Z2, const int N)
 

Macro Definition Documentation

◆ size_

#define size_ (   r_)    (((r_ < N) ? 1 : node_size[r_ - N]))

Definition at line 66 of file fastcluster_R_dm.cxx.

Function Documentation

◆ generate_R_dendrogram()

template<const bool sorted>
void generate_R_dendrogram ( int *const  merge,
double *const  height,
int *const  order,
cluster_result Z2,
const int  N 
)

Definition at line 68 of file fastcluster_R_dm.cxx.

◆ order_nodes()

void order_nodes ( const int  N,
const int *const  merge,
const t_index *const  node_size,
int *const  order 
)

Definition at line 12 of file fastcluster_R_dm.cxx.