1 #ifndef PixelRecoLineRZ_H
2 #define PixelRecoLineRZ_H
48 {
return (
std::abs(dr) > 1.
e-4
f) ? dz/dr : 99999.f; }
49 static float initTIP2 (
float x1,
float y1,
float x2,
float y2)
51 double l = y1 * (x2 - x1) - x1 * (y2 - y1);
52 return l * l / ( (x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1) );
55 inline float addTIP (
float val)
const
57 inline float subTIP (
float val)
const
60 double val2 = val * val;
float transverseIP() const
static float initCot(float dz, float dr)
T perp() const
Magnitude of transverse component.
LineOrigin origin() const
float addTIP(float val) const
float zAtR(float r) const
static float initTIP2(float x1, float y1, float x2, float y2)
float subTIP(float val) const
float transverseIP2() const
PixelRecoLineRZ(const LineOrigin &aOrigin, const PixelRecoPointRZ &aPoint, float transverseIP=0.f)
PixelRecoPointRZ LineOrigin
float rAtZ(float z) const
PixelRecoLineRZ(const LineOrigin &aOrigin, float aCotLine, float transverseIP=0.f)
PixelRecoLineRZ(const GlobalPoint &p1, const GlobalPoint &p2)