#include <ThirdHitPredictionFromInvParabola.h>
Public Types | |
typedef Basic2DVector< double > | Point2D |
typedef PixelRecoRange< float > | Range |
typedef PixelRecoRange< double > | RangeD |
typedef TkRotation2D< double > | Rotation |
Public Member Functions | |
void | init (const GlobalPoint &P1, const GlobalPoint &P2, double ip, double curv) |
Range | operator() (double radius, int charge) const |
Range | rangeRPhi (double radius, int charge) const __attribute__((optimize(3 |
ThirdHitPredictionFromInvParabola (const GlobalPoint &P1, const GlobalPoint &P2, double ip, double curv, double tolerance) | |
Public Attributes | |
Range fast | math |
Private Member Functions | |
double | coeffA (double impactParameter, double charge) const |
double | coeffB (double impactParameter, double charge) const |
void | findPointAtCurve (double radius, double charge, double ip, double &u, double &v) const |
double | ipFromCurvature (double curvature, double charge) const |
double | predV (double u, double ip, double charge) const |
Point2D | transform (Point2D const &p) const |
Point2D | transformBack (Point2D const &p) const |
Private Attributes | |
double | dv |
double | overDu |
double | pv |
double | su |
RangeD | theIpRangeMinus |
RangeD | theIpRangePlus |
Rotation | theRotation |
double | theTolerance |
double | u1u2 |
Definition at line 25 of file ThirdHitPredictionFromInvParabola.h.
typedef Basic2DVector<double> ThirdHitPredictionFromInvParabola::Point2D |
Definition at line 32 of file ThirdHitPredictionFromInvParabola.h.
typedef PixelRecoRange<float> ThirdHitPredictionFromInvParabola::Range |
Definition at line 30 of file ThirdHitPredictionFromInvParabola.h.
typedef PixelRecoRange<double> ThirdHitPredictionFromInvParabola::RangeD |
Definition at line 31 of file ThirdHitPredictionFromInvParabola.h.
typedef TkRotation2D<double> ThirdHitPredictionFromInvParabola::Rotation |
Definition at line 29 of file ThirdHitPredictionFromInvParabola.h.
ThirdHitPredictionFromInvParabola::ThirdHitPredictionFromInvParabola | ( | const GlobalPoint & | P1, |
const GlobalPoint & | P2, | ||
double | ip, | ||
double | curv, | ||
double | tolerance | ||
) |
Definition at line 24 of file ThirdHitPredictionFromInvParabola.cc.
|
inlineprivate |
Definition at line 75 of file ThirdHitPredictionFromInvParabola.h.
References overDu, pv, and u1u2.
Referenced by findPointAtCurve(), and predV().
|
inlineprivate |
Definition at line 81 of file ThirdHitPredictionFromInvParabola.h.
References dv, overDu, and su.
Referenced by findPointAtCurve(), and predV().
|
inlineprivate |
Definition at line 100 of file ThirdHitPredictionFromInvParabola.h.
References funct::A, alpha, coeffA(), coeffB(), delta, alignCSCRings::r, mathSSE::sqrt(), and v.
Referenced by rangeRPhi().
void ThirdHitPredictionFromInvParabola::init | ( | const GlobalPoint & | P1, |
const GlobalPoint & | P2, | ||
double | ip, | ||
double | curv | ||
) |
Definition at line 33 of file ThirdHitPredictionFromInvParabola.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), dv, PixelRecoRange< T >::intersection(), ipFromCurvature(), overDu, p1, p2, pv, PixelRecoRange< T >::sort(), su, theIpRangeMinus, theIpRangePlus, theRotation, transform(), u1u2, Basic2DVector< T >::x(), Basic3DVector< T >::xy(), and Basic2DVector< T >::y().
Referenced by ThirdHitPredictionFromInvParabola().
|
inlineprivate |
Definition at line 87 of file ThirdHitPredictionFromInvParabola.h.
References overDu, pv, and u1u2.
Referenced by init().
|
inline |
Definition at line 39 of file ThirdHitPredictionFromInvParabola.h.
References rangeRPhi().
|
inlineprivate |
Definition at line 95 of file ThirdHitPredictionFromInvParabola.h.
References coeffA(), and coeffB().
ThirdHitPredictionFromInvParabola::Range ThirdHitPredictionFromInvParabola::rangeRPhi | ( | double | radius, |
int | charge | ||
) | const |
Definition at line 68 of file ThirdHitPredictionFromInvParabola.cc.
References Basic2DVector< T >::barePhi(), DeDxDiscriminatorTools::charge(), 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 v.
Referenced by operator()().
Definition at line 52 of file ThirdHitPredictionFromInvParabola.h.
References Basic2DVector< T >::mag2(), TkRotation2D< T >::rotate(), and theRotation.
Referenced by init().
Definition at line 56 of file ThirdHitPredictionFromInvParabola.h.
References Basic2DVector< T >::mag2(), TkRotation2D< T >::rotateBack(), and theRotation.
|
private |
Definition at line 63 of file ThirdHitPredictionFromInvParabola.h.
Range fast ThirdHitPredictionFromInvParabola::math |
Definition at line 41 of file ThirdHitPredictionFromInvParabola.h.
|
private |
Definition at line 63 of file ThirdHitPredictionFromInvParabola.h.
Referenced by coeffA(), coeffB(), init(), and ipFromCurvature().
|
private |
Definition at line 63 of file ThirdHitPredictionFromInvParabola.h.
Referenced by coeffA(), init(), and ipFromCurvature().
|
private |
Definition at line 63 of file ThirdHitPredictionFromInvParabola.h.
|
private |
Definition at line 67 of file ThirdHitPredictionFromInvParabola.h.
Referenced by init(), and rangeRPhi().
|
private |
Definition at line 67 of file ThirdHitPredictionFromInvParabola.h.
Referenced by init(), and rangeRPhi().
|
private |
Definition at line 62 of file ThirdHitPredictionFromInvParabola.h.
Referenced by init(), rangeRPhi(), transform(), and transformBack().
|
private |
Definition at line 68 of file ThirdHitPredictionFromInvParabola.h.
Referenced by rangeRPhi().
|
private |
Definition at line 63 of file ThirdHitPredictionFromInvParabola.h.
Referenced by coeffA(), init(), and ipFromCurvature().