siscone::hash_cones Class Reference list of cones candidates. More...
Collaboration diagram for siscone::hash_cones:
Detailed Descriptionlist of cones candidates. We store in this class all the hash_elements and give functions to manipulate them. Constructor & Destructor Documentation◆ hash_cones()
◆ ~hash_cones()
destructor Definition at line 77 of file hash.cpp. References hash_array, mask, and siscone::hash_element::next. Member Function Documentation◆ insert() [1/2]
insert a new candidate into the hash.
Definition at line 171 of file hash.cpp. References siscone::hash_element::eta, siscone::Cmomentum::eta, hash_array, siscone::hash_element::is_stable, mask, n_cones, siscone::hash_element::next, siscone::hash_element::phi, siscone::Cmomentum::phi, siscone::hash_element::ref, siscone::Cmomentum::ref, and siscone::Creference::ref. ◆ insert() [2/2]
insert a new candidate into the hash.
Definition at line 102 of file hash.cpp. References siscone::Cmomentum::build_etaphi(), siscone::hash_element::eta, siscone::Cmomentum::eta, hash_array, is_inside(), siscone::hash_element::is_stable, mask, n_cones, siscone::hash_element::next, siscone::hash_element::phi, siscone::Cmomentum::phi, siscone::hash_element::ref, siscone::Cmomentum::ref, and siscone::Creference::ref. ◆ is_inside()test if a particle is inside a cone of given centre. check if the particle of coordinates 'v' is inside the circle of radius R centered at 'centre'.
Definition at line 219 of file hash.cpp. References siscone::Cmomentum::eta, siscone::Cmomentum::phi, and R2. Referenced by insert(). Member Data Documentation◆ hash_array
the cone data itself Definition at line 93 of file hash.h. Referenced by hash_cones(), insert(), and ~hash_cones(). ◆ mask
number of occupied cells number of cells-1 Definition at line 104 of file hash.h. Referenced by hash_cones(), insert(), and ~hash_cones(). ◆ n_cones
◆ R2
circle radius (squared) NOTE: need to be set before any call to 'insert' Definition at line 108 of file hash.h. Referenced by hash_cones(), and is_inside(). The documentation for this class was generated from the following files: The SISCone project has been developed by Gavin Salam and Gregory Soyez Documentation generated on Tue Jun 20 2023 18:08:37 for SISCone by Doxygen 1.9.4 |