Class describing a 4D cartesian coordinate system (x, y, z, t coordinates) or momentum-energy vectors stored as (Px, Py, Pz, E). The metric used is (-,-,-,+) @ingroup GenVector
Set internal data based on an array of 4 Scalar numbers
get internal data into an array of 4 Scalar numbers
Set internal data based on 4 Scalar numbers
get internal data into 4 Scalar numbers
--------- Coordinates and Coordinate-like Scalar properties ------------- cartesian (Minkowski)coordinate accessors
{ return fX;}
magnitude of spatial components (magnitude of 3-momentum)
{ return std::sqrt(P2()); }
--------- Set Coordinates of this system --------------- set X value
set all values using cartesian coordinates
scale coordinate values by a scalar quantity a
============= Compatibility section ================== The following make this coordinate system look enough like a CLHEP vector that an assignment member template can work with either
{ return fX; }
====== Set member functions for coordinates in other systems =======