5 * Revision 1.1.1.1 1996/03/06 15:37:35 mclareni
6 * Add geane321 source directories
9 #include "geant321/pilot.h"
10 *CMZ : 3.21/02 29/03/94 15.41.49 by S.Giani
14 C. ******************************************************************
16 C. * Performs the error propagation in a step *
18 C. * ==>Called by : ERTRCH / ERTRNT *
19 C. * Author E.Nagy ********* *
21 C. ******************************************************************
23 #include "geant321/gctmed.inc"
24 #include "geant321/gckine.inc"
25 #include "geant321/gctrak.inc"
26 #include "geant321/gcunit.inc"
27 #include "geant321/erwork.inc"
28 #include "geant321/ertrio.inc"
29 #include "geant321/trcom3.inc"
33 * *** Prepares the end-point
37 PF(I) = VECT(7)*VECT(3+I)
43 ELSEIF (IFIELD.NE.0) THEN
47 * *** Propagates the error (in SC-variables)
53 CALL TRPROP (XI ,PPI, HI, XF, PF, HF, CHTR, STEP, DUM,
54 & MVAR, IFLAG, ITRAN, IERR)
56 CALL TRPRFN (XI ,PPI, HI, XF, PF, HF, CHTR, STEP, DUM,
57 & MVAR, IFLAG, ITRAN, IERR)
61 WRITE (LOUT, 778) IERR
65 * *** Transport the matrix
67 CALL SSMT5T (A, EF, EF)
69 IF (CHARGE.NE.0.) THEN
71 * *** Add multiple scattering
75 * *** Add fluctuation due to ionization to the error matrix
76 * (and (later) due to bremsstrahlung and pair-production)
78 EF(1) = EF(1) + (GETOT*GETOT*DEDX2)/(VECT(7)**6)
82 * *** Copy variables for the next step
84 CALL UCOPY (XF, XI, 3)
85 CALL UCOPY (PF, PPI, 3)
86 CALL UCOPY (HF, HI, 9)
89 778 FORMAT(//4X,' *** Error in subr. TRPROP',I4,' called by',