diff --git a/eic_data.yaml b/eic_data.yaml index 422f4d2f906416882a0c778ee52ef95079e594e6..c78bd8bcf05cbc9d23db59759429757b21c9000a 100644 --- a/eic_data.yaml +++ b/eic_data.yaml @@ -144,7 +144,7 @@ components: template<class VectorXYZType> VectorPolar(const VectorXYZType& v) : VectorPolar(v.r(), v.theta(), v.phi()) {}\n float mag() const {return r;}\n float x() const {return r * cos(phi) * sin(theta);}\n - float y() const {return r * sin(phi) * cos(theta);}\n + float y() const {return r * sin(phi) * sin(theta);}\n float z() const {return r * cos(theta);}\n float eta() const {return -log(tan(0.5*theta));}\n operator std::tuple<float, float, float>() {return {r, theta, phi};}\n