#include <ThirdHitPredictionFromCircle.h>
Classes | |
class | HelixRZ |
Public Types | |
typedef PixelRecoRange< float > | Range |
using | Scalar = double |
typedef Basic2DVector< Scalar > | Vector2D |
typedef Basic2DVector< float > | VectorF2D |
Public Member Functions | |
float | angle (float curvature, float radius) const |
Range | curvature (double transverseIP) const |
double | curvature (const Vector2D &thirdPoint) const |
Range | operator() (Range curvature, float radius) const |
float | phi (float curvature, float radius) const |
ThirdHitPredictionFromCircle (const GlobalPoint &P1, const GlobalPoint &P2, float tolerance) | |
double | transverseIP (const Vector2D &thirdPoint) const |
Private Member Functions | |
Scalar | invCenterOnAxis (const Vector2D &thirdPoint) const |
Private Attributes | |
Vector2D | axis |
Vector2D | center |
Scalar | delta |
Scalar | delta2 |
Vector2D | p1 |
float | theTolerance |
Friends | |
class | HelixRZ |
Definition at line 11 of file ThirdHitPredictionFromCircle.h.
typedef PixelRecoRange<float> ThirdHitPredictionFromCircle::Range |
Definition at line 15 of file ThirdHitPredictionFromCircle.h.
using ThirdHitPredictionFromCircle::Scalar = double |
Definition at line 14 of file ThirdHitPredictionFromCircle.h.
Definition at line 16 of file ThirdHitPredictionFromCircle.h.
typedef Basic2DVector<float> ThirdHitPredictionFromCircle::VectorF2D |
Definition at line 17 of file ThirdHitPredictionFromCircle.h.
ThirdHitPredictionFromCircle::ThirdHitPredictionFromCircle | ( | const GlobalPoint & | P1, |
const GlobalPoint & | P2, | ||
float | tolerance | ||
) |
Definition at line 24 of file ThirdHitPredictionFromCircle.cc.
References axis, center, delta, delta2, diffTreeTool::diff, p1, p2, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
float ThirdHitPredictionFromCircle::angle | ( | float | curvature, |
float | radius | ||
) | const |
Definition at line 59 of file ThirdHitPredictionFromCircle.cc.
References abs, axis, center, funct::cos(), delta2, alignCSCRings::e, f, Basic2DVector< T >::mag2(), FWPFMaths::sgn(), funct::sin(), funct::sqr(), and unlikely.
Referenced by MatchedHitRZCorrectionFromBending::tibMatchedHitZFixup().
ThirdHitPredictionFromCircle::Range ThirdHitPredictionFromCircle::curvature | ( | double | transverseIP | ) | const |
Definition at line 87 of file ThirdHitPredictionFromCircle.cc.
References abs, axis, center, constexpr, delta, delta2, alignCSCRings::e, FWPFMaths::sgn(), SMALL, funct::sqr(), mathSSE::sqrt(), std::swap(), tmp, transverseIP(), unlikely, Basic2DVector< T >::x(), and Basic2DVector< T >::y().
Referenced by ThirdHitPredictionFromCircle::HelixRZ::rAtZ(), and ThirdHitPredictionFromCircle::HelixRZ::zAtR().
double ThirdHitPredictionFromCircle::curvature | ( | const Vector2D & | thirdPoint | ) | const |
Definition at line 163 of file ThirdHitPredictionFromCircle.cc.
References delta2, invCenterOnAxis(), FWPFMaths::sgn(), funct::sqr(), and mathSSE::sqrt().
|
private |
Definition at line 153 of file ThirdHitPredictionFromCircle.cc.
References a, axis, b, center, diffTreeTool::diff, Basic2DVector< T >::mag(), p1, Basic2DVector< T >::x(), and Basic2DVector< T >::y().
Referenced by curvature(), and transverseIP().
ThirdHitPredictionFromCircle::Range ThirdHitPredictionFromCircle::operator() | ( | Range | curvature, |
float | radius | ||
) | const |
Definition at line 76 of file ThirdHitPredictionFromCircle.cc.
References M_PI, phi(), theTolerance, and unlikely.
float ThirdHitPredictionFromCircle::phi | ( | float | curvature, |
float | radius | ||
) | const |
Definition at line 36 of file ThirdHitPredictionFromCircle.cc.
References abs, axis, Basic2DVector< T >::barePhi(), center, funct::cos(), delta2, alignCSCRings::e, f, M_PI, Basic2DVector< T >::mag2(), Basic2DVector< T >::phi(), CosmicsPD_Skims::radius, FWPFMaths::sgn(), funct::sqr(), mathSSE::sqrt(), and unlikely.
Referenced by operator()(), and ThirdHitPredictionFromCircle::HelixRZ::rAtZ().
double ThirdHitPredictionFromCircle::transverseIP | ( | const Vector2D & | thirdPoint | ) | const |
Definition at line 171 of file ThirdHitPredictionFromCircle.cc.
References abs, axis, center, delta2, alignCSCRings::e, invCenterOnAxis(), mag(), CosmicsPD_Skims::radius, funct::sqr(), mathSSE::sqrt(), and unlikely.
Referenced by curvature().
|
friend |
Definition at line 57 of file ThirdHitPredictionFromCircle.h.
|
private |
Definition at line 61 of file ThirdHitPredictionFromCircle.h.
Referenced by angle(), curvature(), ThirdHitPredictionFromCircle::HelixRZ::HelixRZ(), invCenterOnAxis(), phi(), ThirdHitPredictionFromCircle(), and transverseIP().
|
private |
Definition at line 61 of file ThirdHitPredictionFromCircle.h.
Referenced by angle(), curvature(), ThirdHitPredictionFromCircle::HelixRZ::HelixRZ(), invCenterOnAxis(), phi(), ThirdHitPredictionFromCircle::HelixRZ::rAtZ(), ThirdHitPredictionFromCircle(), transverseIP(), and ThirdHitPredictionFromCircle::HelixRZ::zAtR().
|
private |
Definition at line 62 of file ThirdHitPredictionFromCircle.h.
Referenced by curvature(), ThirdHitPredictionFromCircle::HelixRZ::HelixRZ(), ThirdHitPredictionFromCircle::HelixRZ::maxCurvature(), and ThirdHitPredictionFromCircle().
|
private |
Definition at line 62 of file ThirdHitPredictionFromCircle.h.
Referenced by angle(), curvature(), ThirdHitPredictionFromCircle::HelixRZ::HelixRZ(), phi(), ThirdHitPredictionFromCircle(), and transverseIP().
|
private |
Definition at line 61 of file ThirdHitPredictionFromCircle.h.
Referenced by invCenterOnAxis(), and ThirdHitPredictionFromCircle().
|
private |
Definition at line 63 of file ThirdHitPredictionFromCircle.h.
Referenced by operator()().