source: trunk/examples/extended/electromagnetic/TestEm4/geant3/src/guout.F @ 807

Last change on this file since 807 was 807, checked in by garnier, 16 years ago

update

File size: 1.2 KB
Line 
1
2      SUBROUTINE GUOUT                                                         
3*                                                                               
4*     User routine called at the end of each event                             
5*                                                                               
6#include "geant321/gcflag.inc"   
7#include "celoss.inc"                                                               
8*                                                                               
9* *** drawing
10*
11#ifndef batch                                                         
12        IF (ISWIT(1).NE.0) THEN
13         CALL GDHEAD (110110,'TestEm4',0.)
14         CALL GDSHOW (3)
15         CALL GDXYZ  (0)
16      END IF
17#endif     
18*
19*     energy deposited
20*                                                                               
21      EMEV = 1000.*ETOT                                                 
22      CALL HFILL(1,EMEV,0.,1.)
23      IF (ISWIT(1).NE.0) PRINT 750,EMEV
24*     
25  750 FORMAT(1X,'Energy deposit: ',F6.3,' MeV')   
26*                                                                               
27      END                                                                       
Note: See TracBrowser for help on using the repository browser.