51#ifdef DEBUG_STABLE_CONES
69 for (i=0;i<
mask+1;i++)
81 for (i=0;i<
mask+1;i++){
109#ifdef DEBUG_STABLE_CONES
190 elm->is_stable =
true;
base class for dynamic coordinates management
Creference ref
reference number for the vector
double eta
particle pseudo-rapidity
void build_etaphi()
build eta-phi from 4-momentum info !!! WARNING !!! !!! computing eta and phi is time-consuming !...
double phi
particle azimuthal angle
unsigned int ref[3]
actual data for the reference
a circulator that is foreseen to take as template member either a pointer or an iterator;
int mask
number of occupied cells
hash_element ** hash_array
the cone data itself
int insert(Cmomentum *v, Cmomentum *parent, Cmomentum *child, bool p_io, bool c_io)
insert a new candidate into the hash.
double R2
circle radius (squared) NOTE: need to be set before any call to 'insert'
int n_cones
number of elements
bool is_inside(Cmomentum *centre, Cmomentum *v)
test if a particle is inside a cone of given centre.
hash_cones(int _Np, double _R2)
constructor with initialisation
information on store cones candidates.
hash_element * next
pointer to the next element