Skip to content
Snippets Groups Projects
Commit 39df3d6d authored by Elidiano Tronchin's avatar Elidiano Tronchin
Browse files

* Restored original rotation matrix BeamToWorld (and left it commented)

parent d81d039a
No related branches found
No related tags found
No related merge requests found
...@@ -240,19 +240,18 @@ void NPS::BeamReaction::DoIt(const G4FastTrack& fastTrack,G4FastStep& fastStep) ...@@ -240,19 +240,18 @@ void NPS::BeamReaction::DoIt(const G4FastTrack& fastTrack,G4FastStep& fastStep)
////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////
/* /*
G4ThreeVector col1(cos(Beam_theta) * cos(Beam_phi), G4ThreeVector col1(cos(Beam_theta) * cos(Beam_phi),
cos(Beam_theta) * sin(Beam_phi), cos(Beam_theta) * sin(Beam_phi),
-sin(Beam_theta)); -sin(Beam_theta));
G4ThreeVector col2(-sin(-Beam_phi), G4ThreeVector col2(-sin(Beam_phi),
cos(-Beam_phi), cos(Beam_phi),
0); 0);
G4ThreeVector col3(sin(Beam_theta) * cos(Beam_phi), G4ThreeVector col3(sin(Beam_theta) * cos(Beam_phi),
sin(Beam_theta) * sin(Beam_phi), sin(Beam_theta) * sin(Beam_phi),
cos(Beam_theta)); cos(Beam_theta));
G4RotationMatrix BeamToWorld(col1, col2, col3); G4RotationMatrix BeamToWorld(col1, col2, col3);
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment