// Simple four-vector class // Glen Cowan, RHUL Physics Dept., 4 December 2001. #ifndef FOURVECTOR_H #define FOURVECTOR_H #include "ThreeVector.h" class FourVector { public: FourVector (float, float, float, float); FourVector (); float x(); float y(); float z(); float t(); float m(); ThreeVector betaGamma(); ThreeVector space(); private: float xVal; float yVal; float zVal; float tVal; }; // Related non-member functions FourVector boostVector(FourVector, ThreeVector); #endif