Recording px, pz correctly. (A. Gheata)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Aug 2004 11:22:31 +0000 (11:22 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Aug 2004 11:22:31 +0000 (11:22 +0000)
TFluka/stuprf.cxx

index d876b9a6c9dd6024b0beaf056401cb5883e7859d..29ea26363f47d5f98a42282548fe35bb9a8e4a8e 100644 (file)
@@ -80,8 +80,8 @@ extern "C" {
 
     
     Double_t px = FINUC.plr[numsec-1] * FINUC.cxr[numsec-1];
-    Double_t pz = FINUC.plr[numsec-1] * FINUC.cyr[numsec-1];
-    Double_t py = FINUC.plr[numsec-1] * FINUC.czr[numsec-1];
+    Double_t py = FINUC.plr[numsec-1] * FINUC.cyr[numsec-1];
+    Double_t pz = FINUC.plr[numsec-1] * FINUC.czr[numsec-1];
     Double_t e  = FINUC.tki[numsec-1] + PAPROP.am[FINUC.kpart[numsec-1]+6];
 
     Double_t vx = xx;