/[PAMELA software]/gpamela/gpspe/gpdspe.F
ViewVC logotype

Diff of /gpamela/gpspe/gpdspe.F

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

revision 3.3 by pam-ba, Mon Dec 5 12:15:21 2005 UTC revision 3.5 by bottai, Tue Jan 24 13:52:01 2006 UTC
# Line 1  Line 1 
1  *  *
2  * $Id: gpdspe.F,v 3.2 2005/07/25 11:53:21 cafagna Exp $  * $Id: gpdspe.F,v 3.4 2006/01/18 09:41:33 bottai Exp $
3  *  *
4  * $Log: gpdspe.F,v $  * $Log: gpdspe.F,v $
5    * Revision 3.4  2006/01/18 09:41:33  bottai
6    *  Some correction to the spe plane ID due to the new geometry tree
7    *
8    * Revision 3.3  2005/12/05 12:15:21  pam-ba
9    * new spectrometer geometry and internal magnetic field
10    *
11  * Revision 3.2  2005/07/25 11:53:21  cafagna  * Revision 3.2  2005/07/25 11:53:21  cafagna
12  * Several updates. See history for details  * Several updates. See history for details
13  *  *
# Line 161  C       Line 167  C      
167    
168           CALL GPRSPE(ANGLEX,ANGLEY,BMAGNET,XMULT,YMULT,DXPOS,DYPOS)           CALL GPRSPE(ANGLEX,ANGLEY,BMAGNET,XMULT,YMULT,DXPOS,DYPOS)
169    
170             NXMULT(I)=INT(XMULT)
171             NYMULT(I)=INT(YMULT)
172    
173           XAVSPE(I) = XAVSPE(I) + DXPOS           XAVSPE(I) = XAVSPE(I) + DXPOS
174           YAVSPE(I) = YAVSPE(I) + DYPOS           YAVSPE(I) = YAVSPE(I) + DYPOS
175    
176  C  C
177  C ADD RESOLUTION OF THE SHIFT INDUCED BY THE MAG. FIELD  C ADD THE SHIFT INDUCED BY THE MAG. FIELD
178  C  C
179    
180           IF(ITRPB(I).LT.6) THEN           IF(ITRPB(I).EQ.1) THEN
181              XAVSPE(I) = XAVSPE(I) - 2.64e-4/4.5*BMAGNET(2)              XAVSPE(I) = XAVSPE(I) - 2.64e-4/4.5*BMAGNET(2)
182           ELSE IF(ITRPB(I).EQ.6) THEN           ELSE IF(ITRPB(I).EQ.2) THEN
183              XAVSPE(I) = XAVSPE(I) + 2.64e-4/4.5*BMAGNET(2)              XAVSPE(I) = XAVSPE(I) + 2.64e-4/4.5*BMAGNET(2)
184           ENDIF           ENDIF
185    
186        ENDDO        ENDDO
187  *  *
188  * 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
189  *  *
190  C fc       IF (HF) NTHSPE = NHITS  C fc       IF (HF) NTHSPE = NHITS
191  C fc       DO I=1,NHITS  C fc       DO I=1,NHITS

Legend:
Removed from v.3.3  
changed lines
  Added in v.3.5

  ViewVC Help
Powered by ViewVC 1.1.23