85 if( mom.
mag() > 0. ) {
91 fVectorV = vecV / vecV.
mag();
92 fVectorW = vecW / vecW.
mag();
100 fPV = momv.
dot( vecV );
101 fPW = momv.
dot( vecW );
107 fV = posv.
dot( vecV );
108 fW = posv.
dot( vecW );
119 out <<
" InvP= " << tp.fInvP <<
" PV= " << tp.fPV
120 <<
" PW= " << tp.fPW <<
" V= " << tp.fV <<
" W= " << tp.fW <<
G4endl;
121 out <<
" vectorV direction= " << tp.fVectorV
122 <<
" vectorW direction= " << tp.fVectorW <<
G4endl;
const G4double kCarTolerance
std::ostream & operator<<(std::ostream &out, const G4ErrorSurfaceTrajParam &tp)
HepGeom::Vector3D< G4double > G4Vector3D
Hep3Vector cross(const Hep3Vector &) const
double dot(const Hep3Vector &) const
void SetParameters(const G4Point3D &pos, const G4Vector3D &mom, const G4Vector3D &vecV, const G4Vector3D &vecW)
G4ErrorSurfaceTrajParam()
G4double GetSurfaceTolerance() const
static G4GeometryTolerance * GetInstance()
Normal3D< T > normal() const