1 #ifndef ConformalMappingFit_H 2 #define ConformalMappingFit_H 22 const std::vector<float> &errRPhi2,
32 double chi2()
const {
return theFit.chi2(); }
34 const Rotation *
rotation()
const {
return theRotation; }
40 double phiRot()
const;
41 void findRot(
const PointXY &);
54 : theU(aU), theV(aV),
theW(aWeight), pRot(aRot) {}
56 T radius2 = point.
mag2();
58 theU = rotated.
x() / radius2;
59 theV = rotated.
y() / radius2;
60 theW = weight * radius2 * radius2;
62 T u()
const {
return theU; }
63 T v()
const {
return theV; }
66 T invRadius2 = theU * theU + theV * theV;
68 return PointXY(tmp.
x() / invRadius2, tmp.
y() / invRadius2);
71 T invRadius2 = theU * theU + theV * theV;
72 return theW * invRadius2 * invRadius2;
T y() const
Cartesian y coordinate.
T x() const
Cartesian x coordinate.
T curvature(T InversePt, const edm::EventSetup &iSetup)
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
*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