#include <ThirdHitPredictionFromInvLine.h>
ThirdHitPredictionFromInvLine::ThirdHitPredictionFromInvLine |
( |
const GlobalPoint & |
P1, |
|
|
const GlobalPoint & |
P2, |
|
|
double |
errorRPhiP1 = 1. , |
|
|
double |
errorRPhiP2 = 1. |
|
) |
| |
Definition at line 23 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 58 of file ThirdHitPredictionFromInvLine.cc.
References PV3DBase< T, PVType, FrameType >::perp(), sqr(), theRotation, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by counter.Counter::register(), and ThirdHitPredictionFromInvLine().
59 double weigth =
sqr(
sqr(p.
perp()) / errorRPhi);
void add(const GlobalPoint &p, double erroriRPhi=1.)
Basic2DVector< double > Point2D
MappedPoint< double > PointUV
Definition at line 63 of file ThirdHitPredictionFromInvLine.cc.
References check(), hasParameters, nPoints, sqr(), theSum, theSumU, theSumUU, theSumUV, theSumV, theSumVV, ThirdHitPredictionFromInvLine::MappedPoint< T >::u(), and ThirdHitPredictionFromInvLine::MappedPoint< T >::v().
Referenced by counter.Counter::register().
void ThirdHitPredictionFromInvLine::check |
( |
void |
| ) |
|
|
private |
Definition at line 94 of file ThirdHitPredictionFromInvLine.cc.
References funct::A, TtFullHadDaughter::B, hasParameters, rho, sqr(), mathSSE::sqrt(), theChi2, theCurvatureError, theCurvatureValue, theSum, theSumU, theSumUU, theSumUV, theSumV, and theSumVV.
Referenced by add(), and remove().
static const std::string B
DecomposeProduct< arg, typename Div::arg > D
double ThirdHitPredictionFromInvLine::chi2 |
( |
void |
| ) |
const |
|
inline |
GlobalPoint ThirdHitPredictionFromInvLine::crossing |
( |
double |
radius | ) |
const |
Definition at line 47 of file ThirdHitPredictionFromInvLine.cc.
References funct::A, TtFullHadDaughter::B, CommonMethods::delta(), sqr(), mathSSE::sqrt(), theRotation, theSum, theSumU, theSumUU, theSumUV, theSumV, createJobs::tmp, MetAnalyzer::u1, Basic2DVector< T >::x(), and Basic2DVector< T >::y().
51 double sqrtdelta = (delta > 0.) ?
sqrt(delta) : 0.;
52 double u1 = (-2. * A * B + sqrtdelta) / 2. / (1 +
sqr(A));
53 double v1 = A * u1 +
B;
Global3DPoint GlobalPoint
static const std::string B
T y() const
Cartesian y coordinate.
MappedPoint< double > PointUV
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 75 of file ThirdHitPredictionFromInvLine.cc.
References check(), hasParameters, nPoints, PV3DBase< T, PVType, FrameType >::perp(), point, 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().
78 double weigth =
sqr(
sqr(p.
perp()) / errorRPhi);
Basic2DVector< double > Point2D
MappedPoint< double > PointUV
*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 |
|
private |
int ThirdHitPredictionFromInvLine::nPoints |
|
private |
double ThirdHitPredictionFromInvLine::theChi2 |
|
private |
double ThirdHitPredictionFromInvLine::theCurvatureError |
|
private |
double ThirdHitPredictionFromInvLine::theCurvatureValue |
|
private |
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 |