|
SISCone 3.0.5
|
list of element in the vicinity of a parent. More...
#include <vicinity.h>


Public Member Functions | |
| Cvicinity () | |
| default constructor | |
| Cvicinity (std::vector< Cmomentum > &_particle_list) | |
| constructor with initialisation (see set_particle_list) | |
| ~Cvicinity () | |
| default destructor | |
| void | set_particle_list (std::vector< Cmomentum > &_particle_list) |
| set the particle_list | |
| void | build (Cmomentum *_parent, double _VR) |
| build the vicinity list from the list of points. | |
Public Attributes | |
| Cmomentum * | parent |
| parent vector | |
| double | VR |
| radius of the vicinity | |
| double | VR2 |
| squared radius of the vicinity | |
| double | R |
| normal radius | |
| double | R2 |
| squared normal radius | |
| double | inv_R_EPS_COCIRC |
| R / EPSILON_COCIRCULAR. | |
| double | inv_R_2EPS_COCIRC |
| R / (2*EPSILON_COCIRCULAR) | |
| int | n_part |
| number of particles | |
| std::vector< Cmomentum > | plist |
| the list of particles | |
| std::vector< Cvicinity_inclusion > | pincluded |
| the inclusion state of particles | |
| Cvicinity_elm * | ve_list |
| list of vicinity elements built from particle list (size=2*n) | |
| std::vector< Cvicinity_elm * > | vicinity |
| list of points in parent's vicinity | |
| unsigned int | vicinity_size |
| number of elements in vicinity | |
Protected Member Functions | |
| void | append_to_vicinity (Cmomentum *v) |
| append a particle to the 'vicinity' list after having tested it and computed the angular-ordering quantities | |
Protected Attributes | |
| double | pcx |
| parent centre (eta) | |
| double | pcy |
| parent centre (phi) | |
list of element in the vicinity of a parent.
class used to manage the points which are in the vicinity of a parent point.
Definition at line 95 of file vicinity.h.
| siscone::Cvicinity::Cvicinity | ( | ) |
| siscone::Cvicinity::~Cvicinity | ( | ) |
append a particle to the 'vicinity' list after having tested it and computed the angular-ordering quantities
| v | vector to test |
Definition at line 220 of file vicinity.cpp.
References siscone::Cvicinity_elm::angle, siscone::Cvicinity_elm::cocircular, siscone::Cvicinity_elm::cocircular_range, siscone::Cmomentum::eta, siscone::Cvicinity_elm::eta, siscone::Cmomentum::index, inv_R_2EPS_COCIRC, inv_R_EPS_COCIRC, parent, pcx, pcy, siscone::Cmomentum::phi, siscone::Cvicinity_elm::phi, R2, siscone::Cvicinity_elm::side, twopi, ve_list, vicinity, and VR2.
Referenced by build().
build the vicinity list from the list of points.
| _parent | reference particle |
| _VR | vicinity radius |
Definition at line 176 of file vicinity.cpp.
References append_to_vicinity(), EPSILON_COCIRCULAR, siscone::Cmomentum::eta, inv_R_2EPS_COCIRC, inv_R_EPS_COCIRC, n_part, parent, pcx, pcy, siscone::Cmomentum::phi, plist, R, R2, vicinity, vicinity_size, VR, and VR2.
Referenced by siscone::Cstable_cones::get_stable_cones().
set the particle_list
| _particle_list | list of particles (type Cmomentum) |
Definition at line 103 of file vicinity.cpp.
References siscone::Cvicinity_elm::is_inside, n_part, pincluded, plist, siscone::Cvicinity_elm::v, ve_list, and vicinity.
Referenced by siscone::Cstable_cones::init().
| double siscone::Cvicinity::inv_R_2EPS_COCIRC |
R / (2*EPSILON_COCIRCULAR)
Definition at line 126 of file vicinity.h.
Referenced by append_to_vicinity(), and build().
| double siscone::Cvicinity::inv_R_EPS_COCIRC |
R / EPSILON_COCIRCULAR.
Definition at line 125 of file vicinity.h.
Referenced by append_to_vicinity(), and build().
| int siscone::Cvicinity::n_part |
number of particles
Definition at line 129 of file vicinity.h.
Referenced by build(), Cvicinity(), siscone::Cstable_cones::get_stable_cones(), and set_particle_list().
| Cmomentum* siscone::Cvicinity::parent |
parent vector
Definition at line 120 of file vicinity.h.
Referenced by append_to_vicinity(), build(), Cvicinity(), and siscone::Cstable_cones::get_stable_cones().
|
protected |
parent centre (eta)
Definition at line 150 of file vicinity.h.
Referenced by append_to_vicinity(), and build().
|
protected |
parent centre (phi)
Definition at line 151 of file vicinity.h.
Referenced by append_to_vicinity(), and build().
| std::vector<Cvicinity_inclusion> siscone::Cvicinity::pincluded |
the inclusion state of particles
Definition at line 131 of file vicinity.h.
Referenced by set_particle_list().
| std::vector<Cmomentum> siscone::Cvicinity::plist |
the list of particles
Definition at line 130 of file vicinity.h.
Referenced by build(), siscone::Cstable_cones::get_stable_cones(), and set_particle_list().
| double siscone::Cvicinity::R |
| double siscone::Cvicinity::R2 |
squared normal radius
Definition at line 124 of file vicinity.h.
Referenced by append_to_vicinity(), and build().
| Cvicinity_elm* siscone::Cvicinity::ve_list |
list of vicinity elements built from particle list (size=2*n)
Definition at line 132 of file vicinity.h.
Referenced by append_to_vicinity(), Cvicinity(), set_particle_list(), and ~Cvicinity().
| std::vector<Cvicinity_elm*> siscone::Cvicinity::vicinity |
list of points in parent's vicinity
Definition at line 138 of file vicinity.h.
Referenced by append_to_vicinity(), build(), and set_particle_list().
number of elements in vicinity
Definition at line 139 of file vicinity.h.
Referenced by build(), and siscone::Cstable_cones::get_stable_cones().
| double siscone::Cvicinity::VR |
radius of the vicinity
Definition at line 121 of file vicinity.h.
Referenced by build(), and Cvicinity().
| double siscone::Cvicinity::VR2 |
squared radius of the vicinity
Definition at line 122 of file vicinity.h.
Referenced by append_to_vicinity(), build(), and Cvicinity().