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

In This Package:

LHCb::math2clhep Namespace Reference


Functions

static HepGeom::Transform3D transform3D (const Gaudi::Transform3D &tr)
template<class aVector>
static HepGeom::Vector3D<
double > 
vector3D (const aVector &v)
template<class aPoint>
static HepGeom::Point3D< double > point3D (const aPoint &p)

Function Documentation

static HepGeom::Transform3D LHCb::math2clhep::transform3D ( const Gaudi::Transform3D tr  )  [static]

Definition at line 24 of file MathCore2Clhep.h.

00024                                                                       {
00025         using namespace CLHEP;
00026         double xx, xy, xz, dx, yx, yy, yz, dy, zx, zy, zz, dz;
00027         
00028         tr.GetComponents(xx, xy, xz, dx, yx, yy, yz, dy, zx, zy, zz, dz );
00029 
00030         return HepGeom::Transform3D(HepRotation( HepRep3x3(xx, xy, xz,
00031                                                            yx, yy, yz,
00032                                                            zx, zy, zz) ),
00033                                     Hep3Vector(dx, dy, dz) );
00034     }

template<class aVector>
static HepGeom::Vector3D<double> LHCb::math2clhep::vector3D ( const aVector &  v  )  [static]

Definition at line 37 of file MathCore2Clhep.h.

00037                                                               {
00038       return HepGeom::Vector3D<double>( v.x(), v.y(), v.z() );
00039     }

template<class aPoint>
static HepGeom::Point3D<double> LHCb::math2clhep::point3D ( const aPoint &  p  )  [static]

Definition at line 42 of file MathCore2Clhep.h.

00042                                                            {
00043       return HepGeom::Point3D<double>( p.x(), p.y(), p.z() );
00044     }

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

Generated on Mon Apr 11 20:00:06 2011 for ClhepTools by doxygen 1.4.7