1 |
* |
* |
2 |
* $Id: gpdspe.F,v 3.2 2005/07/25 11:53:21 cafagna Exp $ |
* $Id: gpdspe.F,v 3.3 2005/12/05 12:15:21 pam-ba Exp $ |
3 |
* |
* |
4 |
* $Log: gpdspe.F,v $ |
* $Log: gpdspe.F,v $ |
5 |
|
* Revision 3.3 2005/12/05 12:15:21 pam-ba |
6 |
|
* new spectrometer geometry and internal magnetic field |
7 |
|
* |
8 |
* Revision 3.2 2005/07/25 11:53:21 cafagna |
* Revision 3.2 2005/07/25 11:53:21 cafagna |
9 |
* Several updates. See history for details |
* Several updates. See history for details |
10 |
* |
* |
168 |
YAVSPE(I) = YAVSPE(I) + DYPOS |
YAVSPE(I) = YAVSPE(I) + DYPOS |
169 |
|
|
170 |
C |
C |
171 |
C ADD RESOLUTION OF THE SHIFT INDUCED BY THE MAG. FIELD |
C ADD THE SHIFT INDUCED BY THE MAG. FIELD |
172 |
C |
C |
173 |
|
|
174 |
IF(ITRPB(I).LT.6) THEN |
IF(ITRPB(I).EQ.1) THEN |
175 |
XAVSPE(I) = XAVSPE(I) - 2.64e-4/4.5*BMAGNET(2) |
XAVSPE(I) = XAVSPE(I) - 2.64e-4/4.5*BMAGNET(2) |
176 |
ELSE IF(ITRPB(I).EQ.6) THEN |
ELSE IF(ITRPB(I).EQ.2) THEN |
177 |
XAVSPE(I) = XAVSPE(I) + 2.64e-4/4.5*BMAGNET(2) |
XAVSPE(I) = XAVSPE(I) + 2.64e-4/4.5*BMAGNET(2) |
178 |
ENDIF |
ENDIF |
179 |
|
|
180 |
ENDDO |
ENDDO |
181 |
* |
* |
182 |
* Loop on the hits retrived to fill the CWN common and the DIGI bank |
* Loop on the hits retrived to fill the CWN common and the DIGI b |
183 |
* |
* |
184 |
C fc IF (HF) NTHSPE = NHITS |
C fc IF (HF) NTHSPE = NHITS |
185 |
C fc DO I=1,NHITS |
C fc DO I=1,NHITS |