ATLAS Offline Software
|
A collection of routines for geometric tasks in 2D and on a cylinder. More...
Classes | |
class | line_t |
class | point_set_t |
class | point_t |
Very basic point objects. More... | |
class | point_vect_t |
Typedefs | |
typedef std::list< point_t > | point_list_t |
Functions | |
template<class inT , class ouT > | |
void | findConvexHull (inT &inSet, ouT &outSet) |
Find convex hull of a set of points in euclidian plan. More... | |
template<class ouT > | |
void | findConvexHull (point_set_t &inSet, ouT &outSet) |
specialization for point_set_t More... | |
template<class inT > | |
void | _findConvexHull (point_set_t &inSet, inT &outSet) |
void | testHullLine (point_list_t &hull, point_t p) |
template<class T > | |
float | polygon_area (T &line) |
template<class T > | |
float | polygon_lenght (T &line) |
template<class T > | |
float | getMeanPhi (T &set) |
return average phi (i.e. More... | |
template<class T > | |
float | max_deltaR (point_t p, T &set) |
Return max distance betweens point. More... | |
template<class T , class T2 > | |
void | recenter_set (T &inSet, T2 &outSet, float phicenter) |
copy More... | |
template<class T , class T2 > | |
void | recenter_set (T &inSet, T2 &outSet) |
copy More... | |
float | in_mPI_pPI (float phi) |
convert More... | |
void | fix2pi (point_t &p) |
convert More... | |
float | deltaR (point_t &p1, point_t &p2) |
distances between points More... | |
float | deltaR2 (point_t &p1, point_t &p2) |
float | deltaPhi (point_t &p1, point_t &p2) |
float | deltaPhi (float phi1, float phi2) |
void | listToSet (point_list_t &inList, point_set_t &outSet) |
template<class T > | |
void | clear_delete (T &container) |
template<class T > | |
void | delete_content (T &container) |
float | abs_dphi (float phi1, float phi2) |
point_t | recenter (const point_t &p, const point_t ¢er) |
point_t | recenter (const point_t &p, float phicenter) |
template<class T > | |
void | _findConvexHull (point_set_t &inSet, T &outSet) |
A collection of routines for geometric tasks in 2D and on a cylinder.
Including a convex hull finder.
typedef std::list<point_t> JetGeom::point_list_t |
Definition at line 32 of file cyl_geom.h.
void JetGeom::_findConvexHull | ( | point_set_t & | inSet, |
inT & | outSet | ||
) |
void JetGeom::_findConvexHull | ( | point_set_t & | inSet, |
T & | outSet | ||
) |
Definition at line 332 of file cyl_geom.h.
|
inline |
void JetGeom::clear_delete | ( | T & | container | ) |
Definition at line 148 of file cyl_geom.h.
void JetGeom::delete_content | ( | T & | container | ) |
Definition at line 156 of file cyl_geom.h.
|
inline |
Definition at line 210 of file cyl_geom.h.
Definition at line 213 of file cyl_geom.h.
distances between points
Definition at line 240 of file cyl_geom.h.
void JetGeom::findConvexHull | ( | inT & | inSet, |
ouT & | outSet | ||
) |
Find convex hull of a set of points in euclidian plan.
The hull points are filled into
outSet |
Definition at line 317 of file cyl_geom.h.
void JetGeom::findConvexHull | ( | point_set_t & | inSet, |
ouT & | outSet | ||
) |
specialization for point_set_t
Definition at line 327 of file cyl_geom.h.
|
inline |
float JetGeom::getMeanPhi | ( | T & | set | ) |
return average phi (i.e.
second coordinate) of the point container
set,if | max(deltaphi) < pi (i.e. points are located on one side of cylinder) otherwise return -10. |
Definition at line 263 of file cyl_geom.h.
|
inline |
void JetGeom::listToSet | ( | point_list_t & | inList, |
point_set_t & | outSet | ||
) |
Definition at line 27 of file cyl_geom.cxx.
float JetGeom::max_deltaR | ( | point_t | p, |
T & | set | ||
) |
Return max distance betweens point.
p | and points of |
set |
Definition at line 164 of file cyl_geom.h.
float JetGeom::polygon_area | ( | T & | line | ) |
Definition at line 177 of file cyl_geom.h.
float JetGeom::polygon_lenght | ( | T & | line | ) |
Definition at line 192 of file cyl_geom.h.
void JetGeom::recenter_set | ( | T & | inSet, |
T2 & | outSet | ||
) |
copy
inSet | into |
outSet | with all phi coordonitates recentered by average phi of |
inSet |
Definition at line 256 of file cyl_geom.h.
void JetGeom::recenter_set | ( | T & | inSet, |
T2 & | outSet, | ||
float | phicenter | ||
) |
copy
inSet | into |
outSet | with all phi coordonitates recnetered by phicenter |
Definition at line 245 of file cyl_geom.h.
void JetGeom::testHullLine | ( | point_list_t & | hull, |
point_t | p | ||
) |
Definition at line 9 of file cyl_geom.cxx.