#include <FastCircle.h>
Public Member Functions | |
double | c () const |
FastCircle (const GlobalPoint &outerHit, const GlobalPoint &middleHit, const GlobalPoint &aVertex) | |
FastCircle (const GlobalPoint &outerHit, const GlobalPoint &middleHit, const GlobalPoint &aVertex, double norm) | |
GlobalPoint const & | innerPoint () const |
bool | isValid () const |
double | n1 () const |
double | n2 () const |
GlobalPoint const & | outerPoint () const |
double | rho () const |
GlobalPoint const & | vertexPoint () const |
double | x0 () const |
double | y0 () const |
~FastCircle () | |
Private Member Functions | |
void | createCircleParameters () dso_hidden |
Private Attributes | |
double | theC |
GlobalPoint | theInnerPoint |
double | theN1 |
double | theN2 |
double | theNorm |
GlobalPoint | theOuterPoint |
double | theRho |
bool | theValid |
GlobalPoint | theVertexPoint |
double | theX0 |
double | theY0 |
Calculate circle parameters (x0, y0, rho) for a circle: (x-x0)^2 + (y-y0)^2 = rho^2 in Global Cartesian Coordinates in the (x,y) plane for a given set of GlobalPoints. It is done by mapping the points onto the Riemann Sphere and fit a plane to the transformed coordinates of the points. The method is described in:
A.Strandlie, J.Wroldsen, R.Fruehwirth, B.Lillekjendlie: Particle tracks fitted on the Riemann sphere Computer Physics Communications 131 (2000) 95-108, 18 January 2000
Implementation: Matthias Winkler, 14 February 2001
This implementation is a specialized version of the general Circle class for three points.
Update 14.02.2001: For 3 Points (2 RecHits + Vertex) the plain parameters n1*x + n2*y + n3*z + c = 0 are analytically calculable. Update 14.02.2001: In the case that a circle fit is not possible (points are along a straight line) the parameters of the straight line can be used: c + n1*x + n2*y = 0
Definition at line 33 of file FastCircle.h.
FastCircle::FastCircle | ( | const GlobalPoint & | outerHit, |
const GlobalPoint & | middleHit, | ||
const GlobalPoint & | aVertex | ||
) |
Definition at line 4 of file FastCircle.cc.
References createCircleParameters().
FastCircle::FastCircle | ( | const GlobalPoint & | outerHit, |
const GlobalPoint & | middleHit, | ||
const GlobalPoint & | aVertex, | ||
double | norm | ||
) |
Definition at line 23 of file FastCircle.cc.
References createCircleParameters().
|
inline |
Definition at line 46 of file FastCircle.h.
|
inline |
Definition at line 64 of file FastCircle.h.
References theC.
Referenced by createCircleParameters().
|
private |
Definition at line 62 of file FastCircle.cc.
References c(), alignCSCRings::e, mag2(), n, rho(), mathSSE::sqrt(), theC, theInnerPoint, theN1, theN2, theNorm, theOuterPoint, theRho, theValid, theVertexPoint, theX0, theY0, create_public_pileup_plots::transform, x, x0(), detailsBasic3DVector::y, y0(), and detailsBasic3DVector::z.
Referenced by FastCircle().
|
inline |
Definition at line 67 of file FastCircle.h.
References theInnerPoint.
Referenced by FastHelix::middleHit().
|
inline |
Definition at line 56 of file FastCircle.h.
References theValid.
Referenced by FastHelix::isValid(), ConversionFastHelix::makeHelix(), and TangentCircle::TangentCircle().
|
inline |
Definition at line 60 of file FastCircle.h.
References theN1.
Referenced by ConversionFastHelix::straightLineStateAtVertex(), and FastHelix::straightLineStateAtVertex().
|
inline |
Definition at line 62 of file FastCircle.h.
References theN2.
Referenced by ConversionFastHelix::straightLineStateAtVertex(), and FastHelix::straightLineStateAtVertex().
|
inline |
Definition at line 66 of file FastCircle.h.
References theOuterPoint.
Referenced by FastHelix::outerHit().
|
inline |
Definition at line 54 of file FastCircle.h.
References theRho.
Referenced by FastHelix::compute(), createCircleParameters(), SimpleCosmicBONSeeder::goodTriplet(), ConversionFastHelix::helixStateAtVertex(), FastHelix::helixStateAtVertex(), SimpleCosmicBONSeeder::pqFromHelixFit(), GenericTripletGenerator::qualityFilter(), SeedFromGenericPairOrTriplet::qualityFilter(), and TangentCircle::TangentCircle().
|
inline |
Definition at line 68 of file FastCircle.h.
References theVertexPoint.
Referenced by FastHelix::vertex().
|
inline |
Definition at line 50 of file FastCircle.h.
References theX0.
Referenced by PixelClusterShapeSeedComparitor::compatible(), createCircleParameters(), ConversionFastHelix::helixStateAtVertex(), FastHelix::helixStateAtVertex(), SimpleCosmicBONSeeder::pqFromHelixFit(), and TangentCircle::TangentCircle().
|
inline |
Definition at line 52 of file FastCircle.h.
References theY0.
Referenced by PixelClusterShapeSeedComparitor::compatible(), createCircleParameters(), ConversionFastHelix::helixStateAtVertex(), FastHelix::helixStateAtVertex(), SimpleCosmicBONSeeder::pqFromHelixFit(), and TangentCircle::TangentCircle().
|
private |
Definition at line 84 of file FastCircle.h.
Referenced by c(), and createCircleParameters().
|
private |
Definition at line 74 of file FastCircle.h.
Referenced by createCircleParameters(), and innerPoint().
|
private |
Definition at line 82 of file FastCircle.h.
Referenced by createCircleParameters(), and n1().
|
private |
Definition at line 83 of file FastCircle.h.
Referenced by createCircleParameters(), and n2().
|
private |
Definition at line 76 of file FastCircle.h.
Referenced by createCircleParameters().
|
private |
Definition at line 73 of file FastCircle.h.
Referenced by createCircleParameters(), and outerPoint().
|
private |
Definition at line 80 of file FastCircle.h.
Referenced by createCircleParameters(), and rho().
|
private |
Definition at line 86 of file FastCircle.h.
Referenced by createCircleParameters(), and isValid().
|
private |
Definition at line 75 of file FastCircle.h.
Referenced by createCircleParameters(), and vertexPoint().
|
private |
Definition at line 78 of file FastCircle.h.
Referenced by createCircleParameters(), and x0().
|
private |
Definition at line 79 of file FastCircle.h.
Referenced by createCircleParameters(), and y0().