5 template <
class T>
T sqr(
T t) {
return t*
t;}
8 const std::vector<PointXY> &
hits,
const std::vector<float> & errRPhi2,
const Rotation *
rot)
9 : theRotation(rot), myRotation(rot==
nullptr)
12 int hits_size = hits.size();
13 for (
int i= 0;
i < hits_size;
i++) {
25 GlobalVector aY( -aX.
y(), aX.
x(), 0.);
26 GlobalVector aZ( 0., 0., 1.);
void addPoint(double x, double y)
T y() const
Cartesian y coordinate.
Vector3DBase unit() const
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