/[PAMELA software]/DarthVader/TrackerLevel2/inc/F77/common_mini_2.f
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/inc/F77/common_mini_2.f

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

revision 1.2 by pam-fi, Tue Sep 5 12:52:20 2006 UTC revision 1.7 by pam-fi, Mon May 14 11:03:05 2007 UTC
# Line 40  c      PARAMETER (PIGR=3.141592654)!???? Line 40  c      PARAMETER (PIGR=3.141592654)!????
40  *     (All the needed quantities for couples and singlets can be evaluated  *     (All the needed quantities for couples and singlets can be evaluated
41  *     by means of the routine xyz_PAM)  *     by means of the routine xyz_PAM)
42  *     -------------------------------------------------------------------------  *     -------------------------------------------------------------------------
43    
44    
45        REAL*8 AL        REAL*8 AL
46        REAL*8 XM,YM,ZM        REAL*8 XM,YM,ZM
47        REAL*8 XM_A,YM_A!,ZM_A        REAL*8 XM_A,YM_A!,ZM_A
48        REAL*8 XM_B,YM_B!,ZM_B        REAL*8 XM_B,YM_B!,ZM_B
       REAL*8 XGOOD,YGOOD  
49        REAL*8 RESX,RESY        REAL*8 RESX,RESY
50  c     REAL*8 DEDXTRK            !(1)        REAL*8 XGOOD,YGOOD
51        REAL*8 DEDXTRK_X          !(1)        REAL*8 DEDXTRK_X          
52        REAL*8 DEDXTRK_Y          !(1)        REAL*8 DEDXTRK_Y        
53        INTEGER IDCAND            !(2)        REAL*8 ZINI     ! ***PP***
54          REAL*8 PFIXED   ! ***PP***
55          REAL*8 CHI2
56          REAL*8 XV,YV,ZV
57          REAL*8 AXV,AYV
58          REAL*8 COV
59          REAL*8 FACT
60          INTEGER NSTEP
61          INTEGER IDCAND            
62          INTEGER TRACKMODE
63          INTEGER ISTEPMIN
64        COMMON/TRACK/        COMMON/TRACK/
65       $      AL(5)                                      !track parameters       $      AL(5)                                      !track parameters
66       $     ,XM(NPLANES),YM(NPLANES),ZM(NPLANES)        !couple    => xyz point       $     ,XM(NPLANES),YM(NPLANES),ZM(NPLANES)        !couple    => xyz point
# Line 58  c     REAL*8 DEDXTRK            !(1) Line 69  c     REAL*8 DEDXTRK            !(1)
69       $     ,RESX(NPLANES),RESY(NPLANES)                !spatial resolution       $     ,RESX(NPLANES),RESY(NPLANES)                !spatial resolution
70       $     ,XGOOD(NPLANES),YGOOD(NPLANES)              !mask of included views       $     ,XGOOD(NPLANES),YGOOD(NPLANES)              !mask of included views
71  c     $     ,DEDXTRK(NPLANES)                           !energy release  c     $     ,DEDXTRK(NPLANES)                           !energy release
72       $     ,DEDXTRK_X(NPLANES),DEDXTRK_Y(NPLANES) !(1)       $     ,DEDXTRK_X(NPLANES),DEDXTRK_Y(NPLANES)
73         $     ,ZINI
74         $     ,PFIXED
75         $     ,CHI2
76         $     ,XV(NPLANES),YV(NPLANES),ZV(NPLANES)
77         $     ,AXV(NPLANES),AYV(NPLANES)
78         $     ,COV(5,5)
79         $     ,FACT                ! factor scale for tracking precision
80         $     ,NSTEP
81       $     ,IDCAND              !(2) track-candidate ID (to relate some level1 info)       $     ,IDCAND              !(2) track-candidate ID (to relate some level1 info)
82         $     ,TRACKMODE           ! tracking mode, 0=normal, 1=with bremsstrahlung
83         $     ,ISTEPMIN            ! minimum number of step during tracking
84  c******************************************************  c******************************************************
85  cccccc 06/10/2005 modified by elena vannuccini ---> (1)  cccccc 06/10/2005 modified by elena vannuccini ---> (1)
86  cccccc 17/08/2006 modified by elena vannuccini ---> (2)  cccccc 17/08/2006 modified by elena vannuccini ---> (2)
87  c******************************************************  c******************************************************
88    
89    
90  *     -------------------------------------------------------------------------  *     -------------------------------------------------------------------------
91  *     The FIT info includes:  *     The FIT info includes:
92  *     - REDUCED chi2  *     - REDUCED chi2
# Line 73  c*************************************** Line 95  c***************************************
95  *     - projected angles  *     - projected angles
96  *     - parameter covariance matrix  *     - parameter covariance matrix
97  *     -------------------------------------------------------------------------  *     -------------------------------------------------------------------------
98        REAL*8 CHI2  c$$$      REAL*8 ZINI     ! ***PP***
99        REAL*8 XV,YV,ZV  c$$$      REAL*8 PFIXED   ! ***PP***
100        REAL*8 AXV,AYV  c$$$      REAL*8 CHI2
101        REAL*8 COV  c$$$      REAL*8 XV,YV,ZV
102        COMMON/FIT_INFO/  c$$$      REAL*8 AXV,AYV
103       $      CHI2  c$$$      REAL*8 COV
104       $     ,XV(NPLANES),YV(NPLANES),ZV(NPLANES)  c$$$      COMMON/FIT_INFO/
105       $     ,AXV(NPLANES),AYV(NPLANES)  c$$$     $      ZINI
106       $     ,COV(5,5)              c$$$     $     ,PFIXED
107    c$$$     $     ,CHI2
108    c$$$     $     ,XV(NPLANES),YV(NPLANES),ZV(NPLANES)
109    c$$$     $     ,AXV(NPLANES),AYV(NPLANES)
110    c$$$     $     ,COV(5,5)            
111    
112    
113    
# Line 94  c*************************************** Line 118  c***************************************
118        REAL*8 CHI2D,CHI2DD       !first and second derivatives of chi^2        REAL*8 CHI2D,CHI2DD       !first and second derivatives of chi^2
119        REAL*8 DXDAL,DYDAL        !first derivatives of x and y on AL-pha        REAL*8 DXDAL,DYDAL        !first derivatives of x and y on AL-pha
120        REAL*8 STEPAL             !        REAL*8 STEPAL             !
121        REAL*8 ZINI               !z coordinate of reference plane  ***PP***      REAL*8 ZINI               !z coordinate of reference plane
122        COMMON/MINICOM/        COMMON/MINICOM/
123       $      CHI2D(5),CHI2DD(5,5)       $      CHI2D(5),CHI2DD(5,5)
124       $     ,DXDAL(NPLANES,5),DYDAL(NPLANES,5)       $     ,DXDAL(NPLANES,5),DYDAL(NPLANES,5)
125       $     ,STEPAL(5)       $     ,STEPAL(5)
126       $     ,ZINI  ***PP***     $     ,ZINI
127    
128  *     -------------------------------------------------------------------------  *     -------------------------------------------------------------------------
129  *     convergence conditions  *     convergence conditions
130        REAL*8 ALTOL              !tolerances on AL-pha parameters        REAL*8 ALTOL              !tolerances on AL-pha parameters
# Line 109  c*************************************** Line 134  c***************************************
134       $      ALTOL(5)       $      ALTOL(5)
135       $     ,ALMAX(5),ALMIN(5)       $     ,ALMAX(5),ALMIN(5)
136       $     ,ISTEPMAX       $     ,ISTEPMAX
137    
138    
139  *     -------------------------------------------------------------------------  *     -------------------------------------------------------------------------
140  *     variables for the tracking (routine posxy)  *     variables for the tracking (routine posxy)
141        REAL*8 VECT,VECTINI,VOUT  !vectors for Runge-Kutta method        REAL*8 VECT,VECTINI,VOUT  !vectors for Runge-Kutta method

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23