Re: error in mgdraw.f

From: Francesco Cerutti <Francesco.Cerutti@cern.ch>
Date: Thu Jun 05 2008 - 00:14:55 CEST

Dear Denis,

> So should i test first the variable JTRACK before calling AM(JTRACK)??

yes, you have to do it:

       IF ( JTRACK .LT. -6 ) THEN ! heavy nuclear fragment
          AMTRCK = AMNHEA (-JTRACK) ! from the FHEAVY common in (FHEAVY)
       ELSE
          AMTRCK = AM (JTRACK)
       END IF
       IF(ETRACK.GT.AMTRCK) THEN
       .....

Cheers

Francesco

**************************************************
Francesco Cerutti
CERN-AB
CH-1211 Geneva 23
Switzerland
tel. ++41 22 7678962
fax ++41 22 7668854
Received on Thu Jun 5 22:43:00 2008

This archive was generated by hypermail 2.1.8 : Thu Jun 05 2008 - 22:43:30 CEST