#include <ThirdHitPredictionFromInvLine.h>
ThirdHitPredictionFromInvLine::ThirdHitPredictionFromInvLine |
( |
const GlobalPoint & |
P1, |
|
|
const GlobalPoint & |
P2, |
|
|
double |
errorRPhiP1 = 1. , |
|
|
double |
errorRPhiP2 = 1. |
|
) |
| |
Definition at line 20 of file ThirdHitPredictionFromInvLine.cc.
References add(), theRotation, Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
void add(const GlobalPoint &p, double erroriRPhi=1.)
Vector3DBase unit() const
TkRotation< double > Rotation
Global3DVector GlobalVector
void ThirdHitPredictionFromInvLine::add |
( |
const GlobalPoint & |
p, |
|
|
double |
erroriRPhi = 1. |
|
) |
| |
Definition at line 49 of file ThirdHitPredictionFromInvLine.cc.
References PV3DBase< T, PVType, FrameType >::perp(), funct::sqr(), theRotation, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by ThirdHitPredictionFromInvLine().
void add(const GlobalPoint &p, double erroriRPhi=1.)
Basic2DVector< double > Point2D
MappedPoint< double > PointUV
Square< F >::type sqr(const F &f)
Definition at line 55 of file ThirdHitPredictionFromInvLine.cc.
References hasParameters, nPoints, funct::sqr(), theSum, theSumU, theSumUU, theSumUV, theSumV, theSumVV, ThirdHitPredictionFromInvLine::MappedPoint< T >::u(), and ThirdHitPredictionFromInvLine::MappedPoint< T >::v().
Square< F >::type sqr(const F &f)
void ThirdHitPredictionFromInvLine::check |
( |
void |
| ) |
const |
|
private |
Definition at line 87 of file ThirdHitPredictionFromInvLine.cc.
References funct::A, hasParameters, rho, funct::sqr(), mathSSE::sqrt(), theChi2, theCurvatureError, theCurvatureValue, theSum, theSumU, theSumUU, theSumUV, theSumV, and theSumVV.
Referenced by chi2(), curvature(), and errorCurvature().
Square< F >::type sqr(const F &f)
DecomposeProduct< arg, typename Div::arg > D
double ThirdHitPredictionFromInvLine::chi2 |
( |
void |
| ) |
const |
|
inline |
GlobalPoint ThirdHitPredictionFromInvLine::crossing |
( |
double |
radius | ) |
const |
Definition at line 36 of file ThirdHitPredictionFromInvLine.cc.
References funct::A, delta, funct::sqr(), mathSSE::sqrt(), theRotation, theSum, theSumU, theSumUU, theSumUV, theSumV, tmp, Basic2DVector< T >::x(), and Basic2DVector< T >::y().
41 double sqrtdelta = (delta > 0.) ?
sqrt(delta) : 0.;
42 double u1 = (-2.*A*B + sqrtdelta)/2./(1+
sqr(A));
Global3DPoint GlobalPoint
T y() const
Cartesian y coordinate.
MappedPoint< double > PointUV
std::vector< std::vector< double > > tmp
Square< F >::type sqr(const F &f)
T x() const
Cartesian x coordinate.
double ThirdHitPredictionFromInvLine::curvature |
( |
| ) |
const |
|
inline |
double ThirdHitPredictionFromInvLine::errorCurvature |
( |
| ) |
const |
|
inline |
void ThirdHitPredictionFromInvLine::print |
( |
void |
| ) |
const |
void ThirdHitPredictionFromInvLine::remove |
( |
const GlobalPoint & |
p, |
|
|
double |
erroriRPhi = 1. |
|
) |
| |
Definition at line 67 of file ThirdHitPredictionFromInvLine.cc.
References hasParameters, nPoints, PV3DBase< T, PVType, FrameType >::perp(), point, funct::sqr(), theRotation, theSum, theSumU, theSumUU, theSumUV, theSumV, theSumVV, ThirdHitPredictionFromInvLine::MappedPoint< T >::u(), ThirdHitPredictionFromInvLine::MappedPoint< T >::v(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Basic2DVector< double > Point2D
MappedPoint< double > PointUV
Square< F >::type sqr(const F &f)
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
int ThirdHitPredictionFromInvLine::size |
( |
void |
| ) |
const |
|
inline |
bool ThirdHitPredictionFromInvLine::hasParameters |
|
mutableprivate |
int ThirdHitPredictionFromInvLine::nPoints |
|
private |
double ThirdHitPredictionFromInvLine::theChi2 |
|
mutableprivate |
double ThirdHitPredictionFromInvLine::theCurvatureError |
|
mutableprivate |
double ThirdHitPredictionFromInvLine::theCurvatureValue |
|
mutableprivate |
Rotation ThirdHitPredictionFromInvLine::theRotation |
|
private |
long double ThirdHitPredictionFromInvLine::theSum |
|
private |
long double ThirdHitPredictionFromInvLine::theSumU |
|
private |
long double ThirdHitPredictionFromInvLine::theSumUU |
|
private |
long double ThirdHitPredictionFromInvLine::theSumUV |
|
private |
long double ThirdHitPredictionFromInvLine::theSumV |
|
private |
long double ThirdHitPredictionFromInvLine::theSumVV |
|
private |