10 template <
class T>
T sqr(
T t) {
return t*
t;}
22 double errorRPhiP1,
double errorRPhiP2)
23 : nPoints(0), theSum(0.), theSumU(0.), theSumUU(0.), theSumV(0.), theSumUV(0.), theSumVV(0.),
24 hasParameters(
false), theCurvatureValue(0.), theCurvatureError(0.), theChi2(0.)
41 double sqrtdelta = (delta > 0.) ?
sqrt(delta) : 0.;
42 double u1 = (-2.*A*B + sqrtdelta)/2./(1+
sqr(A));
void add(const GlobalPoint &p, double erroriRPhi=1.)
Basic2DVector< double > Point2D
void remove(const GlobalPoint &p, double erroriRPhi=1.)
Global3DPoint GlobalPoint
static const std::string B
T y() const
Cartesian y coordinate.
PixelRecoRange< double > Ranged
Vector3DBase unit() const
DecomposeProduct< arg, typename Div::arg > D
MappedPoint< double > PointUV
std::vector< std::vector< double > > tmp
Basic3DVector< double > Point3D
ThirdHitPredictionFromInvLine(const GlobalPoint &P1, const GlobalPoint &P2, double errorRPhiP1=1., double errorRPhiP2=1.)
TkRotation< double > Rotation
T x() const
Cartesian x coordinate.
*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
Global3DVector GlobalVector
GlobalPoint crossing(double radius) const