253 |
C |
C |
254 |
DO M = 1,2 |
DO M = 1,2 |
255 |
C |
C |
256 |
|
c print *,' ax ',ax,' ay ',ay |
257 |
|
c print *,' bx ',bx,' by ',by |
258 |
IF (NPCFIT(M).GE.2) THEN |
IF (NPCFIT(M).GE.2) THEN |
259 |
IF (M.EQ.1) THEN |
IF (M.EQ.1) THEN |
260 |
VARCFIT(1) = CHI2X |
VARCFIT(1) = CHI2X |
261 |
IMPX = 10. * ( AX + 12.1 ) |
IMPX = AX ! PAMELA REF |
262 |
TANX = BX |
TANX = BX |
263 |
ELSE |
ELSE |
264 |
VARCFIT(2) = CHI2Y |
VARCFIT(2) = CHI2Y |
265 |
IMPY = 10. * ( AY + 12.1 ) |
IMPY = AY ! PAMELA REF |
266 |
TANY = BY |
TANY = BY |
267 |
ENDIF |
ENDIF |
268 |
C |
C |
277 |
C |
C |
278 |
IF (M.EQ.1) THEN |
IF (M.EQ.1) THEN |
279 |
DISTX = PIANO(I) - 5.81 |
DISTX = PIANO(I) - 5.81 |
280 |
Y(I) = DISTX * TANX + IMPX |
Y(I) = (DISTX * TANX) + AX - XALIG |
281 |
c CBAR(M,I) = Y(I) |
c CBAR(M,I) = Y(I) |
282 |
BAR(M,I) = Y(I) |
BAR(M,I) = Y(I) |
283 |
CBAR(M,I) = (Y(I)-XALIG)/10. |
CBAR(M,I) = (Y(I) + XALIG)/10. |
284 |
IF (I.EQ.22) MX=ABS(Y(1)-Y(22))/ABS(ZIN(1)-ZIN(22)) |
IF (I.EQ.22) MX=ABS(Y(1)-Y(22))/ABS(ZIN(1)-ZIN(22)) |
285 |
C |
C |
286 |
ELSE |
ELSE |
287 |
DISTY = PIANO(I) |
DISTY = PIANO(I) |
288 |
YY(I) = DISTY * TANY + IMPY |
YY(I) = (DISTY * TANY) + AY - YALIG |
289 |
c CBAR(M,I) = YY(I) |
c CBAR(M,I) = YY(I) |
290 |
BAR(M,I) = YY(I) |
BAR(M,I) = YY(I) |
291 |
CBAR(M,I) = (YY(I)-YALIG)/10. |
CBAR(M,I) = (YY(I) + YALIG)/10. |
292 |
IF (I.EQ.22) MY=ABS(Y(1)-Y(22))/ABS(ZIN(1)-ZIN(22)) |
IF (I.EQ.22) MY=ABS(Y(1)-Y(22))/ABS(ZIN(1)-ZIN(22)) |
293 |
C |
C |
294 |
ENDIF |
ENDIF |