59 if (uZ.
x()==0. && uZ.
y()==0.) {
71 if (uZ.
x()==0. && uZ.
y()==0.) {
94 if (uZ.
x()==0. && uZ.
y()==0.) {
95 if (uZ.
z()>=0.)
return spin;
111 G4cout<<
"========================================\n\n";
112 for (
G4int i=0; i<=10; ++i) {
125 G4cout<<
"========================================\n\n";
127 for (
G4int i=0; i<=10; ++i) {
139 G4cout<<
"spat : "<<xAxis*yAxis.
cross(zAxis)<<
"\n\n";
141 G4cout<<
"========================================\n\n";
152 G4cout<<
"========================================\n\n";
164 G4cout<<
"========================================\n\n";
static void TestPolarizationTransformations()
static G4ThreeVector GetRandomFrame(const G4ThreeVector &)
CLHEP::Hep3Vector G4ThreeVector
static double normal(HepRandomEngine *eptr)
G4GLOB_DLL std::ostream G4cout
Hep3Vector & rotateUz(const Hep3Vector &)
static G4ThreeVector GetFrame(const G4ThreeVector &, const G4ThreeVector &)
static void TestInteractionFrame()
static G4ThreeVector GetSpinInPRF(const G4ThreeVector &uZ, const G4ThreeVector &spin)
static G4ThreeVector GetParticleFrameY(const G4ThreeVector &)
static constexpr double pi
Hep3Vector cross(const Hep3Vector &) const
static G4ThreeVector GetParticleFrameX(const G4ThreeVector &)