273 |
IF (NPCFIT(M).GE.2) THEN |
IF (NPCFIT(M).GE.2) THEN |
274 |
IF (M.EQ.1) THEN |
IF (M.EQ.1) THEN |
275 |
VARCFIT(1) = CHI2X |
VARCFIT(1) = CHI2X |
276 |
IMPX = AX ! PAMELA REF |
IMPX = AX + BX * (ZALIG/10.) ! PAMELA REF |
277 |
TANX = BX |
TANX = BX |
278 |
ELSE |
ELSE |
279 |
VARCFIT(2) = CHI2Y |
VARCFIT(2) = CHI2Y |
280 |
IMPY = AY ! PAMELA REF |
IMPY = AY + BY * (ZALIG/10.) ! PAMELA REF |
281 |
TANY = BY |
TANY = BY |
282 |
ENDIF |
ENDIF |
283 |
C |
C |
300 |
C |
C |
301 |
IF (M.EQ.1) THEN |
IF (M.EQ.1) THEN |
302 |
DISTX = PIANO(I) - 5.81 |
DISTX = PIANO(I) - 5.81 |
303 |
Y(I) = (DISTX * TANX) + AX - XALIG |
Y(I) = (DISTX * TANX) + IMPX*10. !- XALIG |
304 |
c CBAR(M,I) = Y(I) |
c CBAR(M,I) = Y(I) |
305 |
BAR(M,I) = Y(I) |
BAR(M,I) = Y(I) + XALIG |
306 |
CBAR(M,I) = (Y(I) + XALIG)/10. |
CBAR(M,I) = Y(I) / 10. |
307 |
IF (I.EQ.NPLA) MX=ABS(Y(1)-Y(NPLA))/ |
IF (I.EQ.NPLA) MX=ABS(Y(1)-Y(NPLA))/ |
308 |
& ABS(ZIN(1)-ZIN(NPLA)) |
& ABS(ZIN(1)-ZIN(NPLA)) |
309 |
C |
C |
310 |
ELSE |
ELSE |
311 |
DISTY = PIANO(I) |
DISTY = PIANO(I) |
312 |
YY(I) = (DISTY * TANY) + AY - YALIG |
YY(I) = (DISTY * TANY) + IMPY*10. !- YALIG |
313 |
|
c print *,' I ',i,' YY ',YY(I) |
314 |
c CBAR(M,I) = YY(I) |
c CBAR(M,I) = YY(I) |
315 |
BAR(M,I) = YY(I) |
BAR(M,I) = YY(I) + YALIG |
316 |
CBAR(M,I) = (YY(I) + YALIG)/10. |
CBAR(M,I) = YY(I) / 10. |
317 |
IF (I.EQ.NPLA) MY=ABS(Y(1)-Y(NPLA))/ |
IF (I.EQ.NPLA) MY=ABS(Y(1)-Y(NPLA))/ |
318 |
& ABS(ZIN(1)-ZIN(NPLA)) |
& ABS(ZIN(1)-ZIN(NPLA)) |
319 |
C |
C |