Functions | |
G4ErrorTrajErr | algebraicSymMatrix55ToG4ErrorTrajErr (const AlgebraicSymMatrix55 &e, const int q) |
double | g4doubleToCmsDouble (const G4double &d) |
AlgebraicSymMatrix55 | g4ErrorTrajErrToAlgebraicSymMatrix55 (const G4ErrorTrajErr &e, const int q) |
CLHEP::Hep3Vector | globalPointToHep3Vector (const GlobalPoint &r) |
HepGeom::Point3D< double > | globalPointToHepPoint3D (const GlobalPoint &r) |
CLHEP::Hep3Vector | globalVectorToHep3Vector (const GlobalVector &p) |
HepGeom::Normal3D< double > | globalVectorToHepNormal3D (const GlobalVector &p) |
GlobalPoint | hep3VectorToGlobalPoint (const CLHEP::Hep3Vector &v) |
GlobalVector | hep3VectorToGlobalVector (const CLHEP::Hep3Vector &p) |
GlobalVector | hepNormal3DToGlobalVector (const HepGeom::Normal3D< double > &p) |
GlobalPoint | hepPoint3DToGlobalPoint (const HepGeom::Point3D< double > &r) |
TkRotation< float > | hepRotationToTkRotationF (const CLHEP::HepRotation &r) |
CLHEP::HepRotation | tkRotationFToHepRotation (const TkRotation< float > &tkr) |
|
inline |
Convert a CMS Algebraic Sym Matrix (for curv error) to a G4 Trajectory Error Matrix
Definition at line 146 of file ConvertFromToCLHEP.h.
References assert(), alignCSCRings::e, i, and j.
Referenced by Geant4ePropagator::propagateGeneric().
|
inline |
Convert a G4double representing a scaler measure ( e.g. Track length ) to the CMS convention, which is using mm
Definition at line 48 of file ConvertFromToCLHEP.h.
Referenced by Geant4ePropagator::propagateGeneric().
|
inline |
Convert a G4 Trajectory Error Matrix to the CMS Algebraic Sym Matrix CMS uses q/p as first parameter, G4 uses 1/p
Definition at line 124 of file ConvertFromToCLHEP.h.
References assert(), alignCSCRings::e, i, and j.
Referenced by Geant4ePropagator::propagateGeneric().
|
inline |
Convert a CMS GlobalPoint to a CLHEP CLHEP::Hep3Vector CMS uses cm while Geant4 uses mm. This is taken into account in the conversion.
Definition at line 89 of file ConvertFromToCLHEP.h.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by Geant4ePropagator::propagateGeneric(), and Geant4ePropagator::transformToG4SurfaceTarget().
|
inline |
Convert a CMS GlobalPoint to a CLHEP HepGeom::Point3D<double> CMS uses cm while Geant4 uses mm. This is taken into account in the conversion.
Definition at line 31 of file ConvertFromToCLHEP.h.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by Geant4ePropagator::transformToG4SurfaceTarget().
|
inline |
Convert a CMS GlobalVector to a CLHEP CLHEP::Hep3Vector
Definition at line 73 of file ConvertFromToCLHEP.h.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by Geant4ePropagator::propagateGeneric().
|
inline |
Convert a CMS GlobalVector to a CLHEP HepGeom::Normal3D<double> CMS uses GeV while G4 uses MeV
Definition at line 56 of file ConvertFromToCLHEP.h.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by Geant4ePropagator::transformToG4SurfaceTarget().
|
inline |
Convert a CLHEP CLHEP::Hep3Vector to a CMS GlobalPoint CMS uses cm while Geant4 uses mm. This is taken into account in the conversion.
Definition at line 98 of file ConvertFromToCLHEP.h.
|
inline |
Convert a CLHEP CLHEP::Hep3Vector to a CMS GlobalVector
Definition at line 80 of file ConvertFromToCLHEP.h.
Referenced by Geant4ePropagator::propagateGeneric().
|
inline |
Convert a CLHEP HepGeom::Normal3D<double> to a CMS GlobalVector CMS uses GeV while G4 uses MeV
Definition at line 65 of file ConvertFromToCLHEP.h.
|
inline |
Convert a CLHEP HepGeom::Point3D<double> to a CMS GlobalPoint CMS uses cms while Geant4 uses mm. This is taken into account in the conversion.
Definition at line 40 of file ConvertFromToCLHEP.h.
Referenced by Geant4ePropagator::propagateGeneric().
|
inline |
Convert a CLHEP CLHEP::Hep3Vector to a CMS GlobalPoint
Definition at line 114 of file ConvertFromToCLHEP.h.
|
inline |
Convert a CMS TkRotation<float> to a CLHEP CLHEP::HepRotation=G4RotationMatrix
Definition at line 105 of file ConvertFromToCLHEP.h.
References TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().
Referenced by Geant4ePropagator::transformToG4SurfaceTarget().