50 if(uZ.
x() == 0. && uZ.
y() == 0.)
61 if(uZ.
x() == 0. && uZ.
y() == 0.)
85 if(uZ.
x() == 0. && uZ.
y() == 0.)
104 G4cout <<
"========================================\n\n";
105 for(
G4int i = 0; i <= 10; ++i)
107 theta = pi * i / 10.;
115 G4cout << zAxis <<
" " << zAxis.
mag() <<
"\n";
116 G4cout << yAxis <<
" " << yAxis.
mag() <<
"\n";
118 G4cout << xAxis <<
" " << xAxis.
mag() <<
"\n\n";
121 G4cout <<
"========================================\n\n";
123 for(
G4int i = 0; i <= 10; ++i)
125 theta = pi * i / 10.;
133 G4cout << zAxis <<
" " << zAxis.
mag() <<
"\n";
134 G4cout << yAxis <<
" " << yAxis.
mag() <<
"\n";
136 G4cout << xAxis <<
" " << xAxis.
mag() <<
"\n\n";
138 G4cout <<
"spat : " << xAxis * yAxis.
cross(zAxis) <<
"\n\n";
140 G4cout <<
"========================================\n\n";
151 G4cout <<
"========================================\n\n";
163 G4cout <<
"========================================\n\n";
CLHEP::Hep3Vector G4ThreeVector
G4GLOB_DLL std::ostream G4cout
Hep3Vector cross(const Hep3Vector &) const
Hep3Vector & rotateUz(const Hep3Vector &)
static G4ThreeVector GetSpinInPRF(const G4ThreeVector &uZ, const G4ThreeVector &spin)
static void TestPolarizationTransformations()
static void TestInteractionFrame()
static G4ThreeVector GetParticleFrameY(const G4ThreeVector &)
static G4ThreeVector GetFrame(const G4ThreeVector &, const G4ThreeVector &)
static G4ThreeVector GetParticleFrameX(const G4ThreeVector &)
static G4ThreeVector GetRandomFrame(const G4ThreeVector &)
static const G4StokesVector P3