SISCone 3.0.5
|
Computes the list of stable comes from a particle list. More...
#include <protocones.h>
Public Member Functions | |
CSphstable_cones () | |
default ctor More... | |
CSphstable_cones (std::vector< CSphmomentum > &_particle_list) | |
ctor with initialisation (sse init for details) | |
~CSphstable_cones () | |
default dtor More... | |
void | init (std::vector< CSphmomentum > &_particle_list) |
initialisation More... | |
int | get_stable_cones (double _radius) |
compute stable cones. More... | |
![]() | |
CSphvicinity () | |
default constructor More... | |
CSphvicinity (std::vector< CSphmomentum > &_particle_list) | |
constructor with initialisation (see set_particle_list) | |
~CSphvicinity () | |
default destructor More... | |
void | set_particle_list (std::vector< CSphmomentum > &_particle_list) |
set the particle_list More... | |
void | build (CSphmomentum *_parent, double _VR) |
build the vicinity list from the list of points. More... | |
Public Attributes | |
std::vector< CSphmomentum > | protocones |
list of stable cones More... | |
sph_hash_cones * | hc |
list of candidates More... | |
int | nb_tot |
total number of tested cones More... | |
![]() | |
CSphmomentum * | parent |
parent vector More... | |
double | VR |
radius of the vicinity More... | |
double | VR2 |
squared radius of the vicinity More... | |
double | cosVR |
cosine of the radius of the vicinity More... | |
double | R |
normal radius More... | |
double | R2 |
squared normal radius More... | |
double | tan2R |
squared tangent of the normal radius More... | |
double | D2_R |
euclidian distance (squared) corresp. to the arc R More... | |
double | inv_R_EPS_COCIRC |
R / EPSILON_COCIRCULAR. More... | |
double | inv_R_2EPS_COCIRC |
R / (2*EPSILON_COCIRCULAR) More... | |
int | n_part |
number of particles More... | |
std::vector< CSphmomentum > | plist |
the list of particles More... | |
std::vector< siscone::Cvicinity_inclusion > | pincluded |
the inclusion state of particles More... | |
CSphvicinity_elm * | ve_list |
list of vicinity elements built from particle list (size=2*n) More... | |
std::vector< CSphvicinity_elm * > | vicinity |
list of points in parent's vicinity More... | |
unsigned int | vicinity_size |
number of elements in vicinity More... | |
Protected Attributes | |
double | R |
cone radius More... | |
double | R2 |
cone radius SQUARED More... | |
double | tan2R |
squared tangent of the cone radius More... | |
![]() | |
CSph3vector | parent_centre |
parent centre More... | |
CSph3vector | angular_dir1 |
main direction to measure angles More... | |
CSph3vector | angular_dir2 |
second direction to measure angles (sign) More... | |
Additional Inherited Members | |
![]() | |
void | append_to_vicinity (CSphmomentum *v) |
append a particle to the 'vicinity' list after having tested it and computed the angular-ordering quantities More... | |
Computes the list of stable comes from a particle list.
This class does the first fundamental task of te cone algorithm: it is used to compute the list of stable cones given a list of particles.
Definition at line 89 of file protocones.h.
siscone_spherical::CSphstable_cones::CSphstable_cones | ( | ) |
siscone_spherical::CSphstable_cones::~CSphstable_cones | ( | ) |
int siscone_spherical::CSphstable_cones::get_stable_cones | ( | double | _radius | ) |
compute stable cones.
This function really does the job i.e. computes the list of stable cones (in a seedless way)
_radius | radius of the cones |
Definition at line 143 of file protocones.cpp.
References siscone_spherical::CSph3vector::_phi, siscone_spherical::CSph3vector::_theta, siscone_spherical::CSphvicinity::build(), hc, siscone_spherical::CSphvicinity::n_part, siscone_spherical::CSphvicinity::parent, siscone_spherical::CSphvicinity::plist, protocones, R, R2, tan2R, and siscone_spherical::CSphvicinity::vicinity_size.
Referenced by siscone_spherical::CSphsiscone::compute_jets(), and siscone_spherical::CSphsiscone::compute_jets_progressive_removal().
void siscone_spherical::CSphstable_cones::init | ( | std::vector< CSphmomentum > & | _particle_list | ) |
initialisation
_particle_list | list of particles |
Definition at line 116 of file protocones.cpp.
References hc, protocones, and siscone_spherical::CSphvicinity::set_particle_list().
Referenced by siscone_spherical::CSphsiscone::compute_jets(), and siscone_spherical::CSphsiscone::compute_jets_progressive_removal().
sph_hash_cones* siscone_spherical::CSphstable_cones::hc |
list of candidates
Definition at line 119 of file protocones.h.
Referenced by CSphstable_cones(), get_stable_cones(), init(), and ~CSphstable_cones().
int siscone_spherical::CSphstable_cones::nb_tot |
total number of tested cones
Definition at line 122 of file protocones.h.
Referenced by CSphstable_cones().
std::vector<CSphmomentum> siscone_spherical::CSphstable_cones::protocones |
list of stable cones
Definition at line 116 of file protocones.h.
Referenced by siscone_spherical::CSphsiscone::compute_jets(), siscone_spherical::CSphsiscone::compute_jets_progressive_removal(), get_stable_cones(), and init().
|
protected |
|
protected |
cone radius SQUARED
Definition at line 132 of file protocones.h.
Referenced by siscone_spherical::CSphsiscone::compute_jets(), siscone_spherical::CSphsiscone::compute_jets_progressive_removal(), get_stable_cones(), and siscone_spherical::CSphsiscone::recompute_jets().
|
protected |
squared tangent of the cone radius
Definition at line 135 of file protocones.h.
Referenced by get_stable_cones().