#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 38 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 69 of file ThirdHitPredictionFromCircle.cc.
References funct::abs(), axis, center, funct::cos(), delta2, MillePedeFileConverter_cfg::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 96 of file ThirdHitPredictionFromCircle.cc.
References funct::abs(), axis, center, constexpr, delta, delta2, MillePedeFileConverter_cfg::e, btvTracks_cfi::lip, FWPFMaths::sgn(), SMALL, funct::sqr(), mathSSE::sqrt(), std::swap(), btvTracks_cfi::tip, tmp, transverseIP(), MetAnalyzer::u1, MetAnalyzer::u2, unlikely, Basic2DVector< T >::x(), and Basic2DVector< T >::y().
Referenced by CAHitTripletGenerator::hitNtuplets(), PixelQuadrupletGenerator::hitQuadruplets(), and MultiHitGeneratorFromChi2::hitSets().
double ThirdHitPredictionFromCircle::curvature | ( | const Vector2D & | thirdPoint | ) | const |
Definition at line 172 of file ThirdHitPredictionFromCircle.cc.
References delta2, invCenterOnAxis(), FWPFMaths::sgn(), funct::sqr(), and mathSSE::sqrt().
|
private |
Definition at line 162 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 86 of file ThirdHitPredictionFromCircle.cc.
References normalizedPhi(), phi(), proxim(), std::swap(), and theTolerance.
float ThirdHitPredictionFromCircle::phi | ( | float | curvature, |
float | radius | ||
) | const |
Definition at line 50 of file ThirdHitPredictionFromCircle.cc.
References funct::abs(), axis, center, funct::cos(), delta2, MillePedeFileConverter_cfg::e, f, Basic2DVector< T >::mag2(), Basic2DVector< T >::phi(), diffTwoXMLs::r2, FWPFMaths::sgn(), Validation_hcalonly_cfi::sign, funct::sqr(), mathSSE::sqrt(), and unlikely.
Referenced by Particle.Particle::__str__(), PixelQuadrupletGenerator::hitQuadruplets(), MultiHitGeneratorFromChi2::hitSets(), operator()(), ntupleDataFormat.Track::phiPull(), and ThirdHitPredictionFromCircle::HelixRZ::rAtZ().
double ThirdHitPredictionFromCircle::transverseIP | ( | const Vector2D & | thirdPoint | ) | const |
Definition at line 180 of file ThirdHitPredictionFromCircle.cc.
References funct::abs(), approx_asin_P< 7 >(), axis, EnergyCorrector::c, center, edmIntegrityCheck::d, delta2, MillePedeFileConverter_cfg::e, f, invCenterOnAxis(), mag(), min(), TCMET_cfi::radius, funct::sqr(), mathSSE::sqrt(), unlikely, and z.
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::HelixRZ::rAtZ(), ThirdHitPredictionFromCircle(), transverseIP(), and ThirdHitPredictionFromCircle::HelixRZ::zAtR().
|
private |
Definition at line 61 of file ThirdHitPredictionFromCircle.h.
Referenced by angle(), curvature(), ThirdHitPredictionFromCircle::HelixRZ::HelixRZ(), invCenterOnAxis(), phi(), ThirdHitPredictionFromCircle::HelixRZ::rAtZ(), ThirdHitPredictionFromCircle(), and transverseIP().
|
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(), ThirdHitPredictionFromCircle::HelixRZ::rAtZ(), ThirdHitPredictionFromCircle(), and ThirdHitPredictionFromCircle::HelixRZ::zAtR().
|
private |
Definition at line 63 of file ThirdHitPredictionFromCircle.h.
Referenced by operator()().