Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
class | Point |
class | Shuffle |
class | triplet |
Public Member Functions | |
ClosestPair2D (const std::vector< Coord2D > &positions, const Coord2D &left_corner, const Coord2D &right_corner) | |
ClosestPair2D (const std::vector< Coord2D > &positions, const Coord2D &left_corner, const Coord2D &right_corner, const unsigned int max_size) | |
void | closest_pair (unsigned int &ID1, unsigned int &ID2, double &distance2) const |
void | remove (unsigned int ID) |
unsigned int | insert (const Coord2D &) |
virtual unsigned int | replace (unsigned int ID1, unsigned int ID2, const Coord2D &position) |
virtual void | replace_many (const std::vector< unsigned int > &IDs_to_remove, const std::vector< Coord2D > &new_positions, std::vector< unsigned int > &new_IDs) |
void | print_tree_depths (std::ostream &outdev) const |
unsigned int | size () |
Public Member Functions inherited from ClosestPair2DBase | |
virtual | ~ClosestPair2DBase () |
Private Types | |
typedef SearchTree< Shuffle > | Tree |
typedef Tree::circulator | circulator |
typedef Tree::const_circulator | const_circulator |
Private Member Functions | |
void | _initialize (const std::vector< Coord2D > &positions, const Coord2D &left_corner, const Coord2D &right_corner, const unsigned int max_size) |
void | _add_label (Point *point, unsigned int review_flag) |
void | _set_label (Point *point, unsigned int review_flag) |
void | _deal_with_points_to_review () |
void | _remove_from_search_tree (Point *point_to_remove) |
void | _insert_into_search_tree (Point *new_point) |
void | _point2shuffle (Point &, Shuffle &, unsigned int shift) |
int | _ID (const Point *) const |
Private Attributes | |
triplet< SharedPtr< Tree > > | _trees |
SharedPtr< MinHeap > | _heap |
std::vector< Point > | _points |
std::stack< Point * > | _available_points |
std::vector< Point * > | _points_under_review |
Coord2D | _left_corner |
double | _range |
triplet< unsigned int > | _shifts |
triplet< unsigned int > | _rel_shifts |
unsigned int | _cp_search_range |
Static Private Attributes | |
static const unsigned int | _nshift = 3 |
static const unsigned int | _remove_heap_entry = 1 |
static const unsigned int | _review_heap_entry = 2 |
static const unsigned int | _review_neighbour = 4 |
Definition at line 727 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 727 of file fjcore.cc
|
private |
|
private |
|
private |
|
inline |
Definition at line 729 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 729 of file fjcore.cc
References _initialize().
|
inline |
Definition at line 733 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 733 of file fjcore.cc
References _initialize().
|
inlineprivate |
Definition at line 1247 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1247 of file fjcore.cc
References ClosestPair2D::Point::review_flag.
|
private |
Definition at line 1292 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1292 of file fjcore.cc
References assert, ClosestPair2D::Point::circ, ClosestPair2D::Point::distance2(), i, Acts::UnitConstants::min, ClosestPair2D::Point::neighbour, ClosestPair2D::Point::neighbour_dist2, ClosestPair2D::Point::review_flag, and size.
|
inlineprivate |
|
private |
Definition at line 1184 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1184 of file fjcore.cc
References assert, ClosestPair2D::Point::circ, ClosestPair2D::Point::distance2(), i, Acts::UnitConstants::min, ClosestPair2D::Point::neighbour, ClosestPair2D::Point::neighbour_dist2, Acts::Experimental::detail::BlueprintHelper::sort(), start, Coord2D::x, and Coord2D::y.
Referenced by ClosestPair2D().
|
private |
Definition at line 1362 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1362 of file fjcore.cc
References ClosestPair2D::Point::circ, ClosestPair2D::Point::distance2(), i, Acts::UnitConstants::min, ClosestPair2D::Point::neighbour, ClosestPair2D::Point::neighbour_dist2, and size.
Definition at line 1166 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1166 of file fjcore.cc
References assert, ClosestPair2D::Point::coord, ClosestPair2D::Shuffle::point, Coord2D::x, ClosestPair2D::Shuffle::x, Coord2D::y, and ClosestPair2D::Shuffle::y.
|
private |
Definition at line 1260 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1260 of file fjcore.cc
References ClosestPair2D::Point::circ, ClosestPair2D::Point::distance2(), i, Acts::UnitConstants::min, ClosestPair2D::Point::neighbour, ClosestPair2D::Point::neighbour_dist2, SearchTree< T >::circulator::next(), and size.
|
inlineprivate |
Definition at line 1251 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1251 of file fjcore.cc
References ClosestPair2D::Point::review_flag.
|
virtual |
Implements ClosestPair2DBase.
Definition at line 1240 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1240 of file fjcore.cc
References swap().
Referenced by ClusterSequence::_CP2DChan_cluster(), and ClusterSequence::_CP2DChan_limited_cluster().
|
virtual |
Implements ClosestPair2DBase.
Definition at line 1323 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1323 of file fjcore.cc
References assert, and ClosestPair2D::Point::coord.
|
inline |
|
virtual |
Implements ClosestPair2DBase.
Definition at line 1255 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1255 of file fjcore.cc
|
virtual |
Reimplemented from ClosestPair2DBase.
Definition at line 1332 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1332 of file fjcore.cc
References ClosestPair2D::Point::coord, and position.
Referenced by ClusterSequence::_CP2DChan_cluster().
|
virtual |
Reimplemented from ClosestPair2DBase.
Definition at line 1345 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 1345 of file fjcore.cc
References ClosestPair2D::Point::coord, and i.
Referenced by ClusterSequence::_CP2DChan_limited_cluster().
|
inlinevirtual |
Implements ClosestPair2DBase.
Definition at line 815 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 815 of file fjcore.cc
References _available_points, and _points.
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
Definition at line 776 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 776 of file fjcore.cc
Referenced by print_tree_depths().