1 |
* |
* |
2 |
* $Id: gpucal.F,v 3.2 2003/12/17 11:32:48 pamela Exp $ |
* $Id: gpucal.F,v 3.3 2005/06/21 02:42:04 cafagna Exp $ |
3 |
* |
* |
4 |
* $Log: gpucal.F,v $ |
* $Log: gpucal.F,v $ |
5 |
|
* Revision 3.3 2005/06/21 02:42:04 cafagna |
6 |
|
* Major modification to the geometry and to the random number chain |
7 |
|
* |
8 |
* Revision 3.2 2003/12/17 11:32:48 pamela |
* Revision 3.2 2003/12/17 11:32:48 pamela |
9 |
* CALO SIMULATION COMPLETED: geometry and special tracking parameters updated and simulation checked by a comparison with the Trieste's standalone Monte Carlo simulation |
* CALO SIMULATION COMPLETED: geometry and special tracking parameters updated and simulation checked by a comparison with the Trieste's standalone Monte Carlo simulation |
10 |
* |
* |
69 |
* |
* |
70 |
* It's a new event |
* It's a new event |
71 |
* |
* |
72 |
IF(IEVOLD.NE.IEVENT) THEN |
C # IF(IEVOLD.NE.IEVENT) THEN |
73 |
c print*,'IS,ID,NUMVOL=',IS,ID,NUMVOL |
C # c print*,'IS,ID,NUMVOL=',IS,ID,NUMVOL |
74 |
c print*,'GPUCAL:last event=',ievold |
C # c print*,'GPUCAL:last event=',ievold |
75 |
|
C # IEVOLD=IEVENT |
76 |
|
C # CALL VZERO(ENEMAT,44*9*32) |
77 |
|
C # ENDIF |
78 |
|
|
79 |
|
C # Please note that ENEMAT is zeroed just on the very first event here. |
80 |
|
C # Then is cleared into GUTREV on an event by event basis. |
81 |
|
IF(IEVOLD.EQ.-1) THEN |
82 |
IEVOLD=IEVENT |
IEVOLD=IEVENT |
83 |
CALL VZERO(ENEMAT,44*9*32) |
CALL VZERO(ENEMAT,44*9*32) |
84 |
ENDIF |
ENDIF |
85 |
|
|
86 |
*end ml. |
*end ml. |
87 |
* |
* |
88 |
* Track is inside a volume |
* Track is inside a volume |