Class describing a 4D cylindrical coordinate system using Pt , Phi, Eta and M (mass) The metric used is (-,-,-,+). Spacelike particles (M2 < 0) are described with negative mass values, but in this case m2 must alwasy be less than P2 to preserve a positive value of E2 Phi is restricted to be in the range [-PI,PI) @ingroup GenVector
static ROOT::Math::PtEtaPhiM4D<double>::Scalar | pi() |
void | RestrictNegMass() |
void | RestrictPhi() |
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 ------------- 4-D Cylindrical eta coordinate accessors
{ return fPt; }
M() is the invariant mass; in this coordinate system it can be negagative if set that way.
{ return fPhi; }
squared magnitude of spatial components (momentum squared)
{ Scalar p = P(); return p*p; }
vector magnitude squared (or mass squared) In case of negative mass (spacelike particles return negative values)
--------- Set Coordinates of this system --------------- set Pt value
set values using cartesian coordinate system
------ Manipulations ------------- negate the 4-vector -- Note that the mass becomes negative
Scale coordinate values by a scalar quantity a
============= Compatibility secition ================== The following make this coordinate system look enough like a CLHEP vector that an assignment member template can work with either
{ return X(); }
====== Set member functions for coordinates in other systems =======