#include "geant321/gcbank.inc"
#include "geant321/gcflag.inc"
#include "geant321/gckine.inc"
#include "calor.inc"
Go to the source code of this file.
◆ gukine()
Definition at line 3 of file TestEm1/geant3/src/gukine.F.
    8 #include "geant321/gcbank.inc"     9 #include "geant321/gcflag.inc"    10 #include "geant321/gckine.inc"    13       dimension vertex(3),plab(3)
    19       IF (pkine(2).NE.0.) vertex(1) = -0.5*boxsize
    22       if ((pkine(3).lt.0.).or.(pkine(3).gt.1.)) pkine(3) = 0.
    23       rbeam = pkine(3)*0.5*boxsize
    26       vertex(2) = (2*rndm(1)-1.)*rbeam     
    27       vertex(3) = (2*rndm(2)-1.)*rbeam      
    29       CALL gsvert(vertex,0,0,0,0,nvert)
    33       plab(1) = sqrt(pkine(1)*(pkine(1)+2*xmass))                       
    35       CALL gskine(plab,ikine,nvert,0,0,nt)                           
    38       IF (ievent.EQ.1.OR.idebug.NE.0) 
CALL gprint(
'KINE',0)