#include <ThirdHitPredictionFromInvParabola.h>
Classes | |
class | MappedPoint |
Public Types | |
typedef PixelRecoRange< float > | Range |
typedef TkRotation< 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 |
Range | rangeRPhiSlow (double radius, int charge, int nIter=5) const |
ThirdHitPredictionFromInvParabola (const GlobalPoint &P1, const GlobalPoint &P2, double ip, double curv, double tolerance) | |
Private Types | |
typedef MappedPoint< double > | PointUV |
Private Member Functions | |
double | coeffA (double impactParameter, int charge) const |
double | coeffB (double impactParameter, int charge) const |
PointUV | findPointAtCurve (double radius, int charge, double ip) const |
double | ipFromCurvature (double curvature, int charge) const |
double | predV (double u, double ip, int charge) const |
Private Attributes | |
PointUV | p1 |
PointUV | p2 |
Range | theIpRangeMinus |
Range | theIpRangePlus |
Rotation | theRotation |
double | theTolerance |
Definition at line 24 of file ThirdHitPredictionFromInvParabola.h.
|
private |
Definition at line 79 of file ThirdHitPredictionFromInvParabola.h.
typedef PixelRecoRange<float> ThirdHitPredictionFromInvParabola::Range |
Definition at line 29 of file ThirdHitPredictionFromInvParabola.h.
typedef TkRotation<double> ThirdHitPredictionFromInvParabola::Rotation |
Definition at line 28 of file ThirdHitPredictionFromInvParabola.h.
ThirdHitPredictionFromInvParabola::ThirdHitPredictionFromInvParabola | ( | const GlobalPoint & | P1, |
const GlobalPoint & | P2, | ||
double | ip, | ||
double | curv, | ||
double | tolerance | ||
) |
Definition at line 25 of file ThirdHitPredictionFromInvParabola.cc.
References init().
|
inlineprivate |
Definition at line 91 of file ThirdHitPredictionFromInvParabola.h.
References p1, p2, ThirdHitPredictionFromInvParabola::MappedPoint< T >::u(), and ThirdHitPredictionFromInvParabola::MappedPoint< T >::v().
Referenced by findPointAtCurve(), and predV().
|
inlineprivate |
Definition at line 100 of file ThirdHitPredictionFromInvParabola.h.
References p1, p2, ThirdHitPredictionFromInvParabola::MappedPoint< T >::u(), and ThirdHitPredictionFromInvParabola::MappedPoint< T >::v().
Referenced by findPointAtCurve(), and predV().
|
private |
Definition at line 61 of file ThirdHitPredictionFromInvParabola.cc.
References funct::A, alpha, coeffA(), coeffB(), delta, csvReporter::r, mathSSE::sqrt(), theRotation, and v.
Referenced by rangeRPhi().
void ThirdHitPredictionFromInvParabola::init | ( | const GlobalPoint & | P1, |
const GlobalPoint & | P2, | ||
double | ip, | ||
double | curv | ||
) |
Definition at line 34 of file ThirdHitPredictionFromInvParabola.cc.
References abs, PixelRecoRange< T >::intersection(), ipFromCurvature(), p1, p2, PixelRecoRange< T >::sort(), theIpRangeMinus, theIpRangePlus, theRotation, Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by ThirdHitPredictionFromInvParabola().
|
private |
Definition at line 165 of file ThirdHitPredictionFromInvParabola.cc.
References p1, p2, ThirdHitPredictionFromInvParabola::MappedPoint< T >::u(), and ThirdHitPredictionFromInvParabola::MappedPoint< T >::v().
Referenced by init().
|
inline |
Definition at line 35 of file ThirdHitPredictionFromInvParabola.h.
References rangeRPhi().
|
private |
Definition at line 178 of file ThirdHitPredictionFromInvParabola.cc.
References coeffA(), coeffB(), and funct::sqr().
Referenced by rangeRPhiSlow().
ThirdHitPredictionFromInvParabola::Range ThirdHitPredictionFromInvParabola::rangeRPhi | ( | double | radius, |
int | charge | ||
) | const |
Definition at line 85 of file ThirdHitPredictionFromInvParabola.cc.
References PixelRecoRange< T >::empty(), findPointAtCurve(), PixelRecoRange< T >::intersection(), M_PI, PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), Basic2DVector< T >::phi(), csvReporter::r, PixelRecoRange< T >::sort(), theIpRangeMinus, theIpRangePlus, theTolerance, ThirdHitPredictionFromInvParabola::MappedPoint< T >::unmap(), and ThirdHitPredictionFromInvParabola::MappedPoint< T >::v().
Referenced by operator()().
ThirdHitPredictionFromInvParabola::Range ThirdHitPredictionFromInvParabola::rangeRPhiSlow | ( | double | radius, |
int | charge, | ||
int | nIter = 5 |
||
) | const |
Definition at line 113 of file ThirdHitPredictionFromInvParabola.cc.
References DeDxDiscriminatorTools::charge(), PixelRecoRange< T >::empty(), i, PixelRecoRange< T >::intersection(), M_PI, PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), Basic2DVector< T >::phi(), predV(), csvReporter::r, CosmicsPD_Skims::radius, PixelRecoRange< T >::sort(), funct::sqr(), mathSSE::sqrt(), theIpRangeMinus, theIpRangePlus, theRotation, theTolerance, ThirdHitPredictionFromInvParabola::MappedPoint< T >::unmap(), and v.
|
private |
Definition at line 80 of file ThirdHitPredictionFromInvParabola.h.
Referenced by coeffA(), coeffB(), init(), and ipFromCurvature().
|
private |
Definition at line 80 of file ThirdHitPredictionFromInvParabola.h.
Referenced by coeffA(), coeffB(), init(), and ipFromCurvature().
|
private |
Definition at line 83 of file ThirdHitPredictionFromInvParabola.h.
Referenced by init(), rangeRPhi(), and rangeRPhiSlow().
|
private |
Definition at line 83 of file ThirdHitPredictionFromInvParabola.h.
Referenced by init(), rangeRPhi(), and rangeRPhiSlow().
|
private |
Definition at line 78 of file ThirdHitPredictionFromInvParabola.h.
Referenced by findPointAtCurve(), init(), and rangeRPhiSlow().
|
private |
Definition at line 84 of file ThirdHitPredictionFromInvParabola.h.
Referenced by rangeRPhi(), and rangeRPhiSlow().