#include <PixelRecoLineRZ.h>
Public Types | |
typedef PixelRecoPointRZ | LineOrigin |
Public Member Functions | |
float | cotLine () const |
LineOrigin | origin () const |
PixelRecoLineRZ () | |
PixelRecoLineRZ (const LineOrigin &aOrigin, const PixelRecoPointRZ &aPoint, float transverseIP=0.f) | |
PixelRecoLineRZ (const GlobalPoint &p1, const GlobalPoint &p2) | |
PixelRecoLineRZ (const LineOrigin &aOrigin, float aCotLine, float transverseIP=0.f) | |
float | rAtZ (float z) const |
float | transverseIP () const |
float | transverseIP2 () const |
float | zAtR (float r) const |
Private Member Functions | |
float | addTIP (float val) const |
float | subTIP (float val) const |
Static Private Member Functions | |
static float | initCot (float dz, float dr) |
static float | initTIP2 (float x1, float y1, float x2, float y2) |
Private Attributes | |
float | theCotLine |
LineOrigin | theOrigin |
float | theTIP2 |
two dimensional line in r-z coordinates. line is defined by the point and cotangent
Definition at line 12 of file PixelRecoLineRZ.h.
Definition at line 15 of file PixelRecoLineRZ.h.
PixelRecoLineRZ::PixelRecoLineRZ | ( | ) | [inline] |
Definition at line 17 of file PixelRecoLineRZ.h.
{ }
PixelRecoLineRZ::PixelRecoLineRZ | ( | const GlobalPoint & | p1, |
const GlobalPoint & | p2 | ||
) | [inline] |
PixelRecoLineRZ::PixelRecoLineRZ | ( | const LineOrigin & | aOrigin, |
float | aCotLine, | ||
float | transverseIP = 0.f |
||
) | [inline] |
Definition at line 25 of file PixelRecoLineRZ.h.
: theTIP2( transverseIP*transverseIP ), theOrigin( subTIP(aOrigin.r()), aOrigin.z() ), theCotLine(aCotLine) { }
PixelRecoLineRZ::PixelRecoLineRZ | ( | const LineOrigin & | aOrigin, |
const PixelRecoPointRZ & | aPoint, | ||
float | transverseIP = 0.f |
||
) | [inline] |
Definition at line 30 of file PixelRecoLineRZ.h.
: theTIP2( transverseIP*transverseIP ), theOrigin( subTIP(aOrigin.r()), aOrigin.z() ), theCotLine( initCot( aPoint.z()-theOrigin.z(), subTIP(aPoint.r())-theOrigin.r() ) ) { }
float PixelRecoLineRZ::addTIP | ( | float | val | ) | const [inline, private] |
Definition at line 55 of file PixelRecoLineRZ.h.
References mathSSE::sqrt(), and theTIP2.
float PixelRecoLineRZ::cotLine | ( | ) | const [inline] |
Definition at line 36 of file PixelRecoLineRZ.h.
References theCotLine.
Referenced by GlobalTrackingRegion::checkRZ(), RectangularEtaPhiTrackingRegion::checkRZOld(), ThirdHitCorrection::init(), HitEtaCheck::operator()(), MultipleScatteringParametrisation::operator()(), HitRCheck::range(), MSLayersAtAngle::sum2RmRn(), and L1MuonPixelTrackFitter::valCotTheta().
{ return theCotLine; }
static float PixelRecoLineRZ::initCot | ( | float | dz, |
float | dr | ||
) | [inline, static, private] |
Definition at line 47 of file PixelRecoLineRZ.h.
References abs, alignCSCRings::e, and f.
static float PixelRecoLineRZ::initTIP2 | ( | float | x1, |
float | y1, | ||
float | x2, | ||
float | y2 | ||
) | [inline, static, private] |
Definition at line 49 of file PixelRecoLineRZ.h.
References prof2calltree::l.
{ double l = y1 * (x2 - x1) - x1 * (y2 - y1); return l * l / ( (x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1) ); }
LineOrigin PixelRecoLineRZ::origin | ( | ) | const [inline] |
Definition at line 39 of file PixelRecoLineRZ.h.
References addTIP(), PixelRecoPointRZ::r(), theOrigin, and PixelRecoPointRZ::z().
Referenced by HitEtaCheck::operator()().
float PixelRecoLineRZ::rAtZ | ( | float | z | ) | const [inline] |
Definition at line 43 of file PixelRecoLineRZ.h.
References abs, addTIP(), alignCSCRings::e, f, PixelRecoPointRZ::r(), theCotLine, theOrigin, and PixelRecoPointRZ::z().
Referenced by MSLayer::crossing(), and HitRCheck::range().
float PixelRecoLineRZ::subTIP | ( | float | val | ) | const [inline, private] |
Definition at line 57 of file PixelRecoLineRZ.h.
References mathSSE::sqrt(), and theTIP2.
Referenced by zAtR().
float PixelRecoLineRZ::transverseIP | ( | ) | const [inline] |
Definition at line 37 of file PixelRecoLineRZ.h.
References mathSSE::sqrt(), and theTIP2.
float PixelRecoLineRZ::transverseIP2 | ( | ) | const [inline] |
float PixelRecoLineRZ::zAtR | ( | float | r | ) | const [inline] |
Definition at line 41 of file PixelRecoLineRZ.h.
References PixelRecoPointRZ::r(), subTIP(), theCotLine, theOrigin, and PixelRecoPointRZ::z().
Referenced by RectangularEtaPhiTrackingRegion::checkRZOld(), MSLayer::crossing(), and HitZCheck::range().
float PixelRecoLineRZ::theCotLine [private] |
Definition at line 67 of file PixelRecoLineRZ.h.
LineOrigin PixelRecoLineRZ::theOrigin [private] |
Definition at line 66 of file PixelRecoLineRZ.h.
float PixelRecoLineRZ::theTIP2 [private] |
Definition at line 65 of file PixelRecoLineRZ.h.
Referenced by addTIP(), subTIP(), transverseIP(), and transverseIP2().