1 #ifndef ConformalMappingFit_H 2 #define ConformalMappingFit_H 29 double chi2()
const {
return theFit.chi2(); }
31 const Rotation *
rotation()
const {
return theRotation; }
37 double phiRot()
const;
38 void findRot(
const PointXY &);
50 : theU(aU), theV(aV),
theW(aWeight), pRot(aRot) { }
54 T radius2 = point.
mag2();
56 theU = rotated.
x() / radius2;
57 theV = rotated.
y() / radius2;
58 theW = weight * radius2 * radius2;
60 T u()
const {
return theU; }
61 T v()
const {
return theV; }
64 T invRadius2 = theU*theU+theV*theV;
67 return PointXY(tmp.
x()/invRadius2, tmp.
y()/invRadius2);
70 T invRadius2 = theU*theU+theV*theV;
71 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)
std::vector< std::vector< double > > tmp
*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