|
1 | | -#ifndef Math_Vector3D_h |
2 | | -#define Math_Vector3D_h |
3 | | -#include "Math/Vector3D.h" |
4 | | - |
5 | | -namespace math { |
6 | | - |
7 | | - /// spatial vector with cartesian internal representation |
8 | | - typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double> > XYZVectorD; |
9 | | - /// spatial vector with cylindrical internal representation using pseudorapidity |
10 | | - typedef ROOT::Math::DisplacementVector3D<ROOT::Math::CylindricalEta3D<double> > RhoEtaPhiVectorD; |
11 | | - /// spatial vector with polar internal representation |
12 | | - /// WARNING: ROOT dictionary not provided for the type below |
13 | | - typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Polar3D<double> > RThetaPhiVectorD; |
14 | | - |
15 | | - /// spatial vector with cartesian internal representation |
16 | | - typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<float> > XYZVectorF; |
17 | | - /// spatial vector with cylindrical internal representation using pseudorapidity |
18 | | - typedef ROOT::Math::DisplacementVector3D<ROOT::Math::CylindricalEta3D<float> > RhoEtaPhiVectorF; |
19 | | - /// spatial vector with polar internal representation |
20 | | - /// WARNING: ROOT dictionary not provided for the type below |
21 | | - typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Polar3D<float> > RThetaPhiVectorF; |
22 | | - |
23 | | - /// vector in local coordinate system |
24 | | - typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<float>, ROOT::Math::LocalCoordinateSystemTag> |
25 | | - LocalVector; |
26 | | - /// vector in glovbal coordinate system |
27 | | - typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<float>, ROOT::Math::GlobalCoordinateSystemTag> |
28 | | - GlobalVector; |
29 | | - |
30 | | - /// spatial vector with cartesian internal representation |
31 | | - typedef XYZVectorD XYZVector; |
32 | | - /// spatial vector with cylindrical internal representation using pseudorapidity |
33 | | - typedef RhoEtaPhiVectorD RhoEtaPhiVector; |
34 | | - /// spatial vector with polar internal representation |
35 | | - typedef RThetaPhiVectorD RThetaPhiVector; |
36 | | -} // namespace math |
37 | | - |
38 | | -#endif |
| 1 | +#ifndef Math_Vector3D_h |
| 2 | +#define Math_Vector3D_h |
| 3 | + |
| 4 | +#include <Math/Vector3D.h> |
| 5 | + |
| 6 | +namespace math { |
| 7 | + |
| 8 | + /// spatial vector with cartesian internal representation |
| 9 | + typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double> > XYZVectorD; |
| 10 | + /// spatial vector with cylindrical internal representation using pseudorapidity |
| 11 | + typedef ROOT::Math::DisplacementVector3D<ROOT::Math::CylindricalEta3D<double> > RhoEtaPhiVectorD; |
| 12 | + /// spatial vector with polar internal representation |
| 13 | + /// WARNING: ROOT dictionary not provided for the type below |
| 14 | + typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Polar3D<double> > RThetaPhiVectorD; |
| 15 | + |
| 16 | + /// spatial vector with cartesian internal representation |
| 17 | + typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<float> > XYZVectorF; |
| 18 | + /// spatial vector with cylindrical internal representation using pseudorapidity |
| 19 | + typedef ROOT::Math::DisplacementVector3D<ROOT::Math::CylindricalEta3D<float> > RhoEtaPhiVectorF; |
| 20 | + /// spatial vector with polar internal representation |
| 21 | + /// WARNING: ROOT dictionary not provided for the type below |
| 22 | + typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Polar3D<float> > RThetaPhiVectorF; |
| 23 | + |
| 24 | + /// vector in local coordinate system |
| 25 | + typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<float>, ROOT::Math::LocalCoordinateSystemTag> |
| 26 | + LocalVector; |
| 27 | + /// vector in glovbal coordinate system |
| 28 | + typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<float>, ROOT::Math::GlobalCoordinateSystemTag> |
| 29 | + GlobalVector; |
| 30 | + |
| 31 | + /// spatial vector with cartesian internal representation |
| 32 | + typedef XYZVectorD XYZVector; |
| 33 | + /// spatial vector with cylindrical internal representation using pseudorapidity |
| 34 | + typedef RhoEtaPhiVectorD RhoEtaPhiVector; |
| 35 | + /// spatial vector with polar internal representation |
| 36 | + typedef RThetaPhiVectorD RThetaPhiVector; |
| 37 | +} // namespace math |
| 38 | + |
| 39 | +#endif |
0 commit comments