53 fLambda = 90.*deg - mom.
theta();
57 vxPerp = mom/mom.
mag();
60 vyPerp /= vyPerp.
mag();
62 vzPerp /= vzPerp.
mag();
66 if( vyPerp.
mag() != 0. ) {
86 G4int oldprc = out.precision(8);
87 out <<
" InvP= " << tp.fInvP <<
" Theta= "
88 << tp.fLambda <<
" Phi= " << tp.fPhi <<
" YPerp= " << tp.fYPerp
89 <<
" ZPerp= " << tp.fZPerp <<
G4endl;
90 out <<
" momentum direction= " << tp.fDir <<
G4endl;
91 out.precision(oldprc);
std::ostream & operator<<(std::ostream &out, const G4ErrorFreeTrajParam &tp)
HepGeom::Vector3D< G4double > G4Vector3D
Hep3Vector project() const
void Update(const G4Track *aTrack)
void SetParameters(const G4Point3D &pos, const G4Vector3D &mom)
const G4ThreeVector & GetPosition() const
G4ThreeVector GetMomentum() const
BasicVector3D< T > cross(const BasicVector3D< T > &v) const