#include <ThirdHitPredictionFromInvParabola.h>
Public Types | |
typedef Basic2DVector< Scalar > | Point2D |
typedef PixelRecoRange< float > | Range |
typedef PixelRecoRange< Scalar > | RangeD |
typedef TkRotation2D< Scalar > | Rotation |
using | Scalar = double |
Public Member Functions | |
void | init (const GlobalPoint &P1, const GlobalPoint &P2, Scalar ip, Scalar curv) |
void | init (Scalar x1, Scalar y1, Scalar x2, Scalar y2, Scalar ip, Scalar curv) |
Range | operator() (Scalar radius, int charge) const |
Range | operator() (Scalar radius) const |
Range | rangeRPhi (Scalar radius, int charge) const |
Range | rangeRPhi (Scalar radius) const |
ThirdHitPredictionFromInvParabola () | |
ThirdHitPredictionFromInvParabola (Scalar x1, Scalar y1, Scalar x2, Scalar y2, Scalar ip, Scalar curv, Scalar tolerance) | |
ThirdHitPredictionFromInvParabola (const GlobalPoint &P1, const GlobalPoint &P2, Scalar ip, Scalar curv, Scalar tolerance) | |
Private Member Functions | |
Scalar | coeffA (Scalar impactParameter) const |
Scalar | coeffB (Scalar impactParameter) const |
void | findPointAtCurve (Scalar radius, Scalar ip, Scalar &u, Scalar &v) const |
Scalar | ipFromCurvature (Scalar curvature, bool pos) const |
Scalar | predV (Scalar u, Scalar ip) const |
Point2D | transform (Point2D const &p) const |
Point2D | transformBack (Point2D const &p) const |
Private Attributes | |
Scalar | dv |
bool | emptyM |
bool | emptyP |
Scalar | overDu |
Scalar | pv |
Scalar | su |
RangeD | theIpRangeMinus |
RangeD | theIpRangePlus |
Rotation | theRotation |
Scalar | theTolerance |
Scalar | u1u2 |
Definition at line 27 of file ThirdHitPredictionFromInvParabola.h.
Definition at line 34 of file ThirdHitPredictionFromInvParabola.h.
typedef PixelRecoRange<float> ThirdHitPredictionFromInvParabola::Range |
Definition at line 32 of file ThirdHitPredictionFromInvParabola.h.
Definition at line 33 of file ThirdHitPredictionFromInvParabola.h.
Definition at line 31 of file ThirdHitPredictionFromInvParabola.h.
using ThirdHitPredictionFromInvParabola::Scalar = double |
Definition at line 30 of file ThirdHitPredictionFromInvParabola.h.
|
inline |
Definition at line 36 of file ThirdHitPredictionFromInvParabola.h.
|
inline |
Definition at line 37 of file ThirdHitPredictionFromInvParabola.h.
References funct::abs(), and init().
ThirdHitPredictionFromInvParabola::ThirdHitPredictionFromInvParabola | ( | const GlobalPoint & | P1, |
const GlobalPoint & | P2, | ||
Scalar | ip, | ||
Scalar | curv, | ||
Scalar | tolerance | ||
) |
Definition at line 20 of file ThirdHitPredictionFromInvParabola.cc.
References funct::abs(), and init().
|
inlineprivate |
Definition at line 98 of file ThirdHitPredictionFromInvParabola.h.
References EnergyCorrector::c, overDu, pv, and u1u2.
Referenced by findPointAtCurve(), and predV().
|
inlineprivate |
Definition at line 105 of file ThirdHitPredictionFromInvParabola.h.
References EnergyCorrector::c, dv, overDu, and su.
Referenced by findPointAtCurve(), and predV().
|
inlineprivate |
Definition at line 128 of file ThirdHitPredictionFromInvParabola.h.
References funct::A, a, alpha, EnergyCorrector::c, coeffA(), coeffB(), delta, alignCSCRings::r, mathSSE::sqrt(), and findQualityFiles::v.
Referenced by rangeRPhi().
|
inline |
Definition at line 59 of file ThirdHitPredictionFromInvParabola.h.
References PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by ThirdHitPredictionFromInvParabola().
void ThirdHitPredictionFromInvParabola::init | ( | Scalar | x1, |
Scalar | y1, | ||
Scalar | x2, | ||
Scalar | y2, | ||
Scalar | ip, | ||
Scalar | curv | ||
) |
Definition at line 28 of file ThirdHitPredictionFromInvParabola.cc.
References funct::abs(), dv, PixelRecoRange< T >::empty(), emptyM, emptyP, PixelRecoRange< T >::intersection(), ipFromCurvature(), bookConverter::max, min(), overDu, p1, p2, pv, su, theIpRangeMinus, theIpRangePlus, theRotation, transform(), u1u2, Basic2DVector< T >::x(), and Basic2DVector< T >::y().
|
inlineprivate |
Definition at line 112 of file ThirdHitPredictionFromInvParabola.h.
References overDu, pv, and u1u2.
Referenced by init().
Definition at line 47 of file ThirdHitPredictionFromInvParabola.h.
References rangeRPhi().
Definition at line 49 of file ThirdHitPredictionFromInvParabola.h.
References rangeRPhi().
|
inlineprivate |
Definition at line 121 of file ThirdHitPredictionFromInvParabola.h.
References EnergyCorrector::c, coeffA(), and coeffB().
ThirdHitPredictionFromInvParabola::Range ThirdHitPredictionFromInvParabola::rangeRPhi | ( | Scalar | radius, |
int | charge | ||
) | const |
Definition at line 67 of file ThirdHitPredictionFromInvParabola.cc.
References Basic2DVector< T >::barePhi(), PixelRecoRange< T >::empty(), findPointAtCurve(), i, PixelRecoRange< T >::intersection(), PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), diffTwoXMLs::r1, diffTwoXMLs::r2, TkRotation2D< T >::rotateBack(), std::swap(), theIpRangeMinus, theIpRangePlus, theRotation, theTolerance, and findQualityFiles::v.
Referenced by operator()().
ThirdHitPredictionFromInvParabola::Range ThirdHitPredictionFromInvParabola::rangeRPhi | ( | Scalar | radius | ) | const |
Definition at line 148 of file ThirdHitPredictionFromInvParabola.cc.
References relativeConstraints::empty, emptyM, emptyP, findPointAtCurve(), helper::getRange(), i, PixelRecoRange< T >::intersection(), PixelRecoRange< T >::max(), bookConverter::max, PixelRecoRange< T >::min(), min(), diffTwoXMLs::r1, diffTwoXMLs::r2, theIpRangeMinus, theIpRangePlus, theRotation, theTolerance, findQualityFiles::v, TkRotation2D< T >::x(), and TkRotation2D< T >::y().
Definition at line 73 of file ThirdHitPredictionFromInvParabola.h.
References Basic2DVector< T >::mag2(), TkRotation2D< T >::rotate(), and theRotation.
Referenced by init().
Definition at line 77 of file ThirdHitPredictionFromInvParabola.h.
References Basic2DVector< T >::mag2(), TkRotation2D< T >::rotateBack(), and theRotation.
|
private |
Definition at line 84 of file ThirdHitPredictionFromInvParabola.h.
|
private |
Definition at line 91 of file ThirdHitPredictionFromInvParabola.h.
Referenced by init(), and rangeRPhi().
|
private |
Definition at line 91 of file ThirdHitPredictionFromInvParabola.h.
Referenced by init(), and rangeRPhi().
|
private |
Definition at line 84 of file ThirdHitPredictionFromInvParabola.h.
Referenced by coeffA(), coeffB(), init(), and ipFromCurvature().
|
private |
Definition at line 84 of file ThirdHitPredictionFromInvParabola.h.
Referenced by coeffA(), init(), and ipFromCurvature().
|
private |
Definition at line 84 of file ThirdHitPredictionFromInvParabola.h.
|
private |
Definition at line 89 of file ThirdHitPredictionFromInvParabola.h.
Referenced by init(), and rangeRPhi().
|
private |
Definition at line 89 of file ThirdHitPredictionFromInvParabola.h.
Referenced by init(), and rangeRPhi().
|
private |
Definition at line 83 of file ThirdHitPredictionFromInvParabola.h.
Referenced by init(), rangeRPhi(), transform(), and transformBack().
|
private |
Definition at line 90 of file ThirdHitPredictionFromInvParabola.h.
Referenced by rangeRPhi().
|
private |
Definition at line 84 of file ThirdHitPredictionFromInvParabola.h.
Referenced by coeffA(), init(), and ipFromCurvature().