92 |
QMEAN = 0. |
QMEAN = 0. |
93 |
C SELFTRIGGER = 0 |
C SELFTRIGGER = 0 |
94 |
C |
C |
95 |
C BEGIN WITH THE FISRT TRACK IF WE HAVE A TRACK FROM TRACKER |
C BEGIN WITH THE FIRST TRACK IF WE HAVE A TRACK FROM TRACKER |
96 |
C |
C |
97 |
T = 1 |
T = 1 |
98 |
C |
C |
126 |
YOUT(I) = 0. |
YOUT(I) = 0. |
127 |
IF (MOD(M,2).EQ.0) THEN |
IF (MOD(M,2).EQ.0) THEN |
128 |
DISTX = PIANO(I) + ZALIG |
DISTX = PIANO(I) + ZALIG |
129 |
|
c print *,'T Y PLANE I= ',I,' Z = ',DISTX |
130 |
ELSE |
ELSE |
131 |
DISTX = PIANO(I) - 5.81 + ZALIG |
DISTX = PIANO(I) - 5.81 + ZALIG |
132 |
|
c print *,'T X PLANE I= ',I,' Z = ',DISTX |
133 |
ENDIF |
ENDIF |
134 |
ZIN(I) = distx / 10. |
ZIN(I) = distx / 10. |
135 |
c print *,' ZIN(',I,') = ',ZIN(I) |
c print *,' ZIN(',I,') = ',ZIN(I) |
147 |
TY = TAN(ASIN(AL_P(3))) * SIN(AL_P(4)) |
TY = TAN(ASIN(AL_P(3))) * SIN(AL_P(4)) |
148 |
DO I = 1, NPLA |
DO I = 1, NPLA |
149 |
NN = 0 |
NN = 0 |
150 |
IF (M.EQ.2) NN = 1 |
c IF (M.EQ.2) NN = 1 |
151 |
IF (MOD(I,2).EQ.NN) THEN |
IF (MOD(I,2).EQ.NN) THEN |
152 |
IF (REVERSE.EQ.0) THEN |
IF (REVERSE.EQ.0) THEN |
153 |
SHIFT = +0.5 |
SHIFT = +0.5 |
283 |
C |
C |
284 |
DO I = 1,NPLA |
DO I = 1,NPLA |
285 |
NN = 0 |
NN = 0 |
286 |
IF (M.EQ.2) NN = 1 |
c IF (M.EQ.2) NN = 1 |
287 |
IF (MOD(I,2).EQ.NN) THEN |
IF (MOD(I,2).EQ.NN) THEN |
288 |
IF (REVERSE.EQ.0) THEN |
IF (REVERSE.EQ.0) THEN |
289 |
SHIFT = +0.5 |
SHIFT = +0.5 |