/[PAMELA software]/DarthVader/CalorimeterLevel2/src/selftrig.for
ViewVC logotype

Diff of /DarthVader/CalorimeterLevel2/src/selftrig.for

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

revision 1.1.1.1 by mocchiut, Fri May 19 13:15:51 2006 UTC revision 1.2 by mocchiut, Tue Jan 16 11:06:05 2007 UTC
# Line 12  C Line 12  C
12        parameter (wcorr=1.0)        parameter (wcorr=1.0)
13        PARAMETER (MIP2GEV=0.0001059994)        PARAMETER (MIP2GEV=0.0001059994)
14        PARAMETER (PI=3.14159265358979324)        PARAMETER (PI=3.14159265358979324)
15        PARAMETER (calwidth=24.2)  CC      PARAMETER (calwidth=24.2)
16          PARAMETER (calwidth=24.1)
17        PARAMETER (ztopx=-26.18)        PARAMETER (ztopx=-26.18)
18        PARAMETER (ztopy=-26.76)        PARAMETER (ztopy=-26.76)
19        PARAMETER (zbotx=-45.17)        PARAMETER (zbotx=-45.17)
# Line 501  c     Calculate the x- or y-position in Line 502  c     Calculate the x- or y-position in
502        nwaf=int((nstrip-1)/32) !what wafer (0-2)        nwaf=int((nstrip-1)/32) !what wafer (0-2)
503        wstr=mod(nstrip-1,32) !what strip in the wafer (0-31)        wstr=mod(nstrip-1,32) !what strip in the wafer (0-31)
504        wpos=0.096+0.122+wstr*0.244 !the position of the strip center in the wafer        wpos=0.096+0.122+wstr*0.244 !the position of the strip center in the wafer
505        pos=wpos+nwaf*8.0005-12.0005 !the position in the plane (oigo shifted to center of plane)  c      pos=wpos+nwaf*8.0005-12.0005 !the position in the plane (oigo shifted to center of plane)
506          pos=wpos+nwaf*8.0505-12.0005 !the position in the plane (oigo shifted to center of plane)
507            
508  c     Calculate z position and add x-y-offset depending on the plane number  c     Calculate z position and add x-y-offset depending on the plane number
509    

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23