Public Member Functions | |
| VoronoiAreaCalc (const vector< PseudoJet >::const_iterator &, const vector< PseudoJet >::const_iterator &, double effective_R) | |
| constructor that takes a range of a vector together with the effective radius for the intersection of discs with voronoi cells | |
| double | area (int index) const |
| return the area of the particle associated with the given index | |
Private Member Functions | |
| double | edge_circle_intersection (const Point &p0, const GraphEdge &edge) |
| compute the intersection of one triangle with the circle the area is returned | |
| double | circle_area (const double d12_2, double d01_2, double d02_2) |
| get the area of a circle of radius R centred on the point 0 with 1 and 2 on each "side" of the arc. | |
Private Attributes | |
| std::vector< double > | _areas |
| areas, numbered as jets | |
| double | _effective_R |
| effective radius | |
| double | _effective_R_squared |
| effective radius squared | |
Definition at line 47 of file ClusterSequenceVoronoiArea.cc.
|
||||||||||||||||
|
constructor that takes a range of a vector together with the effective radius for the intersection of discs with voronoi cells
|
|
|
return the area of the particle associated with the given index
Definition at line 58 of file ClusterSequenceVoronoiArea.cc. Referenced by fastjet::ClusterSequenceVoronoiArea::_initializeVA().
00058 {return _areas[index];};
|
|
||||||||||||||||
|
get the area of a circle of radius R centred on the point 0 with 1 and 2 on each "side" of the arc. dij is the distance between point i and point j and all distances are squared Definition at line 75 of file ClusterSequenceVoronoiArea.cc.
00075 {
00076 return 0.5*_effective_R_squared
00077 *acos((d01_2+d02_2-d12_2)/(2*sqrt(d01_2*d02_2)));
00078 }
|
|
||||||||||||
|
compute the intersection of one triangle with the circle the area is returned
|
|
|
areas, numbered as jets
Definition at line 61 of file ClusterSequenceVoronoiArea.cc. |
|
|
effective radius
Definition at line 62 of file ClusterSequenceVoronoiArea.cc. |
|
|
effective radius squared
Definition at line 63 of file ClusterSequenceVoronoiArea.cc. |
1.3.4