#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 | ||
) |
Definition at line 3 of file FastLine.cc.
References createLineParameters().
FastLine::FastLine | ( | const GlobalPoint & | outerHit, |
const GlobalPoint & | innerHit, | ||
double | rho | ||
) |
Definition at line 8 of file FastLine.cc.
References createLineParameters().
|
inline |
Definition at line 21 of file FastLine.h.
|
inline |
Definition at line 27 of file FastLine.h.
References theC.
Referenced by ConversionFastHelix::helixStateAtVertex(), ConversionFastHelix::straightLineStateAtVertex(), and FastHelix::straightLineStateAtVertex().
|
private |
Definition at line 13 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 29 of file FastLine.h.
References theValid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 23 of file FastLine.h.
References theN1.
Referenced by createLineParameters(), ConversionFastHelix::straightLineStateAtVertex(), and FastHelix::straightLineStateAtVertex().
|
inline |
Definition at line 25 of file FastLine.h.
References theN2.
Referenced by createLineParameters(), ConversionFastHelix::straightLineStateAtVertex(), and FastHelix::straightLineStateAtVertex().
|
private |
Definition at line 38 of file FastLine.h.
Referenced by c(), and createLineParameters().
|
private |
Definition at line 33 of file FastLine.h.
Referenced by createLineParameters().
|
private |
Definition at line 36 of file FastLine.h.
Referenced by createLineParameters(), and n1().
|
private |
Definition at line 37 of file FastLine.h.
Referenced by createLineParameters(), and n2().
|
private |
Definition at line 32 of file FastLine.h.
Referenced by createLineParameters().
|
private |
Definition at line 34 of file FastLine.h.
Referenced by createLineParameters().
|
private |
Definition at line 40 of file FastLine.h.
Referenced by isValid().