56 vxPerp = mom / mom.
mag();
59 vyPerp /= vyPerp.
mag();
61 vzPerp /= vzPerp.
mag();
65 if(vyPerp.
mag() != 0.)
89 G4int oldprc = out.precision(8);
90 out <<
" InvP= " <<
tp.fInvP <<
" Theta= " <<
tp.fLambda
91 <<
" Phi= " <<
tp.fPhi <<
" YPerp= " <<
tp.fYPerp
92 <<
" ZPerp= " <<
tp.fZPerp <<
G4endl;
93 out <<
" momentum direction= " <<
tp.fDir <<
G4endl;
94 out.precision(oldprc);
static const G4double pos
static constexpr double deg
HepGeom::Vector3D< G4double > G4Vector3D
double dot(const Hep3Vector &) 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
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)