#include <FastLine.h>
Public Member Functions | |
double | c () const |
FastLine (const GlobalPoint &outerHit, const GlobalPoint &innerHit) | |
FastLine (const GlobalPoint &outerHit, const GlobalPoint &innerHit, double rho) | |
bool | isValid () const |
double | n1 () const |
double | n2 () const |
~FastLine () | |
Private Member Functions | |
void | createLineParameters () |
Private Attributes | |
double | theC |
GlobalPoint | theInnerHit |
double | theN1 |
double | theN2 |
GlobalPoint | theOuterHit |
double | theRho |
bool | theValid |
Calculate the Line parameters (n1, n2, c) of a Line in Rho*Phi-Z. A Line is defined by n1*x + n2*y + c = 0. (== n1*RHOPHI + n2*Z + c) If rho is not specified, the Line parameters are calculated in R-Z.
Implementation: Matthias Winkler 21.02.2001
Definition at line 15 of file FastLine.h.
FastLine::FastLine | ( | const GlobalPoint & | outerHit, |
const GlobalPoint & | innerHit | ||
) |
FastLine::FastLine | ( | const GlobalPoint & | outerHit, |
const GlobalPoint & | innerHit, | ||
double | rho | ||
) |
|
inline |
Definition at line 26 of file FastLine.h.
|
inline |
Definition at line 32 of file FastLine.h.
References theC.
Referenced by ConversionFastHelix::helixStateAtVertex(), ConversionFastHelix::straightLineStateAtVertex(), and FastHelix::straightLineStateAtVertex().
|
private |
Definition at line 32 of file FastLine.cc.
References n1(), n2(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::perp2(), mathSSE::sqrt(), theC, theInnerHit, theN1, theN2, theOuterHit, theRho, and PV3DBase< T, PVType, FrameType >::z().
Referenced by FastLine().
|
inline |
Definition at line 34 of file FastLine.h.
References theValid.
Referenced by core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 28 of file FastLine.h.
References theN1.
Referenced by createLineParameters(), ConversionFastHelix::straightLineStateAtVertex(), and FastHelix::straightLineStateAtVertex().
|
inline |
Definition at line 30 of file FastLine.h.
References theN2.
Referenced by createLineParameters(), ConversionFastHelix::straightLineStateAtVertex(), and FastHelix::straightLineStateAtVertex().
|
private |
Definition at line 44 of file FastLine.h.
Referenced by c(), and createLineParameters().
|
private |
Definition at line 39 of file FastLine.h.
Referenced by createLineParameters().
|
private |
Definition at line 42 of file FastLine.h.
Referenced by createLineParameters(), and n1().
|
private |
Definition at line 43 of file FastLine.h.
Referenced by createLineParameters(), and n2().
|
private |
Definition at line 38 of file FastLine.h.
Referenced by createLineParameters().
|
private |
Definition at line 40 of file FastLine.h.
Referenced by createLineParameters().
|
private |
Definition at line 46 of file FastLine.h.
Referenced by isValid().