/[PAMELA software]/DarthVader/TrackerLevel2/src/F77/tricircle.f
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/src/F77/tricircle.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mocchiut, Tue Aug 4 14:01:40 2009 UTC revision 1.5 by mocchiut, Thu Jan 16 15:30:00 2014 UTC
# Line 31  c--------------------------------------- Line 31  c---------------------------------------
31        integer npoints           !fit number of points        integer npoints           !fit number of points
32        real dep(npoints),indep(npoints) !dependent and independent variables        real dep(npoints),indep(npoints) !dependent and independent variables
33    
34        real angle(npoints)       !angle between the tangent line in the input points and  c      real angle(npoints)       !angle between the tangent line in the input points and
35    c                                ! the independent variable axis
36    c      real residual(npoints)    !residuals
37    c      real chi                  !sum of squared residuals
38    c      real xc,zc,radius         !circle parameters  
39          double precision angle(npoints)       !angle between the tangent line in the input points and
40                                  ! the independent variable axis                                  ! the independent variable axis
41          double precision residual(npoints)    !residuals EM GCC4.7
42        real residual(npoints)    !residuals        double precision chi              !sum of squared residuals EM GCC4.7
43        real chi                  !sum of squared residuals        double precision xc,zc,radius         !circle parameters   EM GCC4.7
       real xc,zc,radius         !circle parameters  
44                
45        integer eflag             !error flag =1 if the procedure fails        integer eflag             !error flag =1 if the procedure fails
46    
# Line 51  c     integer nloops            !number Line 55  c     integer nloops            !number
55        integer ifail             !=-1 if singular matrix error, =0 if not singular        integer ifail             !=-1 if singular matrix error, =0 if not singular
56        integer jfail             !=0 if determinant can be evaluated, =-1 if determinat is probably too small, =+1 if too large        integer jfail             !=0 if determinant can be evaluated, =-1 if determinat is probably too small, =+1 if too large
57    
58        parameter (ibig=1.e4)      !just a number greater than C(npoints,3)        integer ibig ! EM GCC4.7
59    c      parameter (ibig=1.e4)      !just a number greater than C(npoints,3)
60          parameter (ibig=10000)      !just a number greater than C(npoints,3)   EM GCC 4.7
61        double precision xxc(ibig),zzc(ibig),rrr(ibig) !centres and radii to be averaged        double precision xxc(ibig),zzc(ibig),rrr(ibig) !centres and radii to be averaged
62    
63        double precision tmp1,tmp2,tmp(npoints)    !temp variables        double precision tmp1,tmp2,tmp(npoints)    !temp variables

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23