| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

LHCbMath.py

Go to the documentation of this file.
00001 import GaudiPython
00002 Math = GaudiPython.gbl.ROOT.Math
00003 # neet to get this first so that all of the other stuff is understood!
00004 # seems to work since Transform3D isn't a templated class.
00005 Transform3D = Math.Transform3D
00006 Plane3D     = Math.Plane3D
00007 #
00008 XYZVector        = Math.XYZVector
00009 XYZPoint         = Math.XYZPoint
00010 Polar3DVector    = Math.Polar3DVector
00011 Polar3DPoint     = Math.Polar3DPoint
00012 RhoEtaPhiVector  = Math.RhoEtaPhiVector
00013 RhoEtaPhiPoint   = Math.RhoEtaPhiPoint
00014 RhoZPhiVector    = Math.RhoZPhiVector
00015 RhoZPhiPoint     = Math.RhoZPhiPoint
00016 #
00017 XYZVectorF        = Math.XYZVectorF
00018 XYZPointF         = Math.XYZPointF
00019 Polar3DVectorF    = Math.Polar3DVectorF
00020 Polar3DPointF     = Math.Polar3DPointF
00021 RhoEtaPhiVectorF  = Math.RhoEtaPhiVectorF
00022 RhoEtaPhiPointF   = Math.RhoEtaPhiPointF
00023 RhoZPhiVectorF    = Math.RhoZPhiVectorF
00024 RhoZPhiPointF     = Math.RhoZPhiPointF
00025 #
00026 Line = GaudiPython.gbl.Gaudi.Math.Line
00027 XYZLine        = Line(XYZPoint, XYZVector)
00028 Polar3DLine    = Line(Polar3DPoint, Polar3DVector)
00029 RhoEtaPhiLine  = Line(RhoEtaPhiPoint, RhoEtaPhiVector)
00030 RhoZPhiLine    = Line(RhoZPhiPoint, RhoZPhiVector)
00031 #
00032 XYZLineF       = Line(XYZPointF, XYZVectorF)
00033 Polar3DLineF   = Line(Polar3DPointF, Polar3DVectorF)
00034 RhoEtaPhiLineF = Line(RhoEtaPhiPointF, RhoEtaPhiVectorF)
00035 RhoZPhiLineF   = Line(RhoZPhiPointF, RhoZPhiVectorF)
00036 #
00037 GeomFun = GaudiPython.gbl.Gaudi.Math.GF
00038 XYZGeomFun = GeomFun(XYZPoint, XYZLine, Plane3D)
00039 """
00040 
00041 # these are the real definitions.
00042 
00043 XYZVector = Math.DisplacementVector3D('ROOT::Math::Cartesian3D<double>,ROOT::Math::DefaultCoordinateSystemTag')
00044 
00045 XYZPoint = Math.PositionVector3D('ROOT::Math::Cartesian3D<double>,ROOT::Math::DefaultCoordinateSystemTag')
00046 
00047 Polar3DVector = Math.DisplacementVector3D('ROOT::Math::Polar3D<double>,ROOT::Math::DefaultCoordinateSystemTag')
00048 Polar3DPoint = Math.PositionVector3D('ROOT::Math::Polar3D<double>,ROOT::Math::DefaultCoordinateSystemTag')
00049 
00050 RhoEtaPhiVector = Math.DisplacementVector3D('ROOT::Math::CylindricalEta3D<double>,ROOT::Math::DefaultCoordinateSystemTag')
00051 RhoEtaPhiPoint = Math.PositionVector3D('ROOT::Math::CylindricalEta3D<double>,ROOT::Math::DefaultCoordinateSystemTag')
00052 
00053 RhoZPhiVector = Math.DisplacementVector3D('ROOT::Math::Cylindrical3D<double>,ROOT::Math::DefaultCoordinateSystemTag')
00054 RhoZPhiPoint = Math.PositionVector3D('ROOT::Math::Cylindrical3D<double>,ROOT::Math::DefaultCoordinateSystemTag')
00055 
00056 # floating point types
00057 XYZVectorF = Math.DisplacementVector3D('ROOT::Math::Cartesian3D<float>,ROOT::Math::DefaultCoordinateSystemTag')
00058 XYZPointF = Math.PositionVector3D('ROOT::Math::Cartesian3D<float>,ROOT::Math::DefaultCoordinateSystemTag')
00059 
00060 Polar3DVectorF = Math.DisplacementVector3D('ROOT::Math::Polar3D<float>,ROOT::Math::DefaultCoordinateSystemTag')
00061 Polar3DPointF = Math.PositionVector3D('ROOT::Math::Polar3D<float>,ROOT::Math::DefaultCoordinateSystemTag')
00062 
00063 RhoEtaPhiVectorF = Math.DisplacementVector3D('ROOT::Math::CylindricalEta3D<float>,ROOT::Math::DefaultCoordinateSystemTag')
00064 RhoEtaPhiPointF = Math.PositionVector3D('ROOT::Math::CylindricalEta3D<float>,ROOT::Math::DefaultCoordinateSystemTag')
00065 
00066 RhoZPhiVectorF = Math.DisplacementVector3D('ROOT::Math::Cylindrical3D<float>,ROOT::Math::DefaultCoordinateSystemTag')
00067 RhoZPhiPointF = Math.PositionVector3D('ROOT::Math::Cylindrical3D<float>,ROOT::Math::DefaultCoordinateSystemTag')
00068 
00069 
00070 """
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:02:57 2011 for LHCbMath by doxygen 1.4.7