Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:10:20

0001 // @(#)root/mathcore:$Id$
0002 // Authors: W. Brown, M. Fischler, L. Moneta    2005
0003 
0004  /**********************************************************************
0005   *                                                                    *
0006   * Copyright (c) 2005 , LCG ROOT MathLib Team                         *
0007   *                                                                    *
0008   *                                                                    *
0009   **********************************************************************/
0010 
0011 // Header file Point2Dfwd
0012 //
0013 // Created by: Lorenzo Moneta  at Mon Apr 16 2007
0014 //
0015 
0016 #ifndef ROOT_Math_Point2Dfwd
0017 #define ROOT_Math_Point2Dfwd  1
0018 
0019 // forward declareations of position vectors (Points) and type defs definitions
0020 
0021 namespace ROOT {
0022 
0023    namespace Math {
0024 
0025       template<class CoordSystem, class Tag> class PositionVector2D;
0026 
0027       template<typename T> class Cartesian2D;
0028       template<typename T> class Polar2D;
0029 
0030       class DefaultCoordinateSystemTag;
0031 
0032       /**
0033          2D Point based on the cartesian coordinates x,y,z in double precision
0034       */
0035       typedef PositionVector2D< Cartesian2D<double>, DefaultCoordinateSystemTag > XYPoint;
0036       typedef XYPoint XYPointD;
0037 
0038       /**
0039          2D Point based on the cartesian coordinates x,y,z in single precision
0040       */
0041       typedef PositionVector2D< Cartesian2D<float>, DefaultCoordinateSystemTag > XYPointF;
0042 
0043 
0044       /**
0045          2D Point based on the polar coordinates rho, theta, phi in double precision.
0046       */
0047       typedef PositionVector2D< Polar2D<double>, DefaultCoordinateSystemTag > Polar2DPoint;
0048       typedef Polar2DPoint Polar2DPointD;
0049 
0050       /**
0051          2D Point based on the polar coordinates rho, theta, phi in single precision.
0052       */
0053       typedef PositionVector2D< Polar2D<float>, DefaultCoordinateSystemTag > Polar2DPointF;
0054 
0055 
0056 
0057    } // end namespace Math
0058 
0059 } // end namespace ROOT
0060 
0061 
0062 #endif /* ROOT_Math_Point2Dfwd  */