10 using namespace HEPREP;
21 cerr <<
"HepRepPoints cannot be created without a HepRepInstance." << endl;
63 return sqrt(
x*
x +
y*
y);
76 return sqrt(r*r +
z*
z);
81 return -0.5*log((1.-ct)/(1.+ct));
97 double dx =
getX(xVertex, yVertex, zVertex);
98 double dy =
getY(xVertex, yVertex, zVertex);
99 return sqrt(dx*dx + dy*dy);
103 return atan2(
getY(xVertex, yVertex, zVertex),
getX(xVertex, yVertex, zVertex));
107 return atan2(
getRho(xVertex, yVertex, zVertex),
getZ(xVertex, yVertex, zVertex));
111 double dr =
getRho(xVertex, yVertex, zVertex);
112 double dz =
getZ(xVertex, yVertex, zVertex);
113 return sqrt(dr*dr + dz*dz);
117 double ct = cos(
getTheta(xVertex, yVertex, zVertex));
118 return -0.5*log((1.-ct)/(1.+ct));