1 #ifndef COORDINATETRAITS_H
2 #define COORDINATETRAITS_H
31 static const std::string
name() {
32 std::string s =
"NOT-A-COORDINATE-SYSTEM: ";
33 s +=
typeid(
C).
name();
38 template <
class Scalar>
40 static const std::string
name() {
41 std::string s =
"Cartesian Coordinates <";
48 template <
class Scalar>
50 static const std::string
name() {
51 std::string s =
"Cylindrical/Eta Coordinates <";
53 s +=
"> (rho, eta, phi)";
58 template <
class Scalar>
60 static const std::string
name() {
61 std::string s =
"Cylindrical Coordinates <";
63 s +=
"> (rho, z, phi)";
68 template <
class Scalar>
70 static const std::string
name() {
71 std::string s =
"Polar Coordinates <";
73 s +=
"> (r, theta, phi)";
80 template <
class Scalar>
82 static const std::string
name() {
83 std::string s =
"PxPyPzE4D Coordinates <";
85 s +=
"> (Px, Py, Pz, E)";
90 template <
class Scalar>
92 static const std::string
name() {
93 std::string s =
"PxPyPzM4D Coordinates <";
95 s +=
"> (Px, Py, Pz, M)";
100 template <
class Scalar>
102 static const std::string
name() {
103 std::string s =
"PtEtaPhiE4D4D Coordinates <";
105 s +=
"> (Pt, eta, phi, E)";
110 template <
class Scalar>
112 static const std::string
name() {
113 std::string s =
"PtEtaPhiM4D4D Coordinates <";
115 s +=
"> (Pt, eta, phi, mass)";
124 #endif // COORDINATETRAITS_H
Class describing a 4D cylindrical coordinate system using Pt , Phi, Eta and E (or rho...
static const std::string name()
Class describing a 4D cylindrical coordinate system using Pt , Phi, Eta and M (mass) The metric used ...
Class describing a cylindrical coordinate system based on eta (pseudorapidity) instead of z...
Class describing a 3D cartesian coordinate system (x, y, z coordinates)
static const std::string name()
Class describing a cylindrical coordinate system based on rho, z and phi.
Class describing a 4D cartesian coordinate system (x, y, z, t coordinates) or momentum-energy vectors...
Class describing a 4D coordinate system or momentum-energy vectors stored as (Px, Py...
static const std::string name()
static const std::string name()
static const std::string name()
static const std::string name()
static const std::string name()
static const std::string name()
static const std::string name()
Class describing a polar coordinate system based on r, theta and phi Phi is restricted to be in the r...