/[PAMELA software]/calo/unpacking/calpulse.for
ViewVC logotype

Diff of /calo/unpacking/calpulse.for

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

revision 1.1.1.1 by mocchiut, Mon Dec 5 16:23:20 2005 UTC revision 1.4 by mocchiut, Thu Jun 29 15:04:41 2006 UTC
# Line 1  Line 1 
1  C  C
2  C  Written by Mirko Boezio and Emiliano Mocchiutti  C  Written by Mirko Boezio and Emiliano Mocchiutti
3  C  C
4  C     * Version: 3.1.4 *  C     * Version: 3.1.7 *
5    C
6    C     3.1.6 - 3.1.7: (2006-06-29) another bug related to XO is rotated, not XE!! fixed.
7    C
8    C     3.1.5 - 3.1.6: (2006-06-29) XO is rotated, not XE!! fixed.
9    C
10    C     3.1.4 - 3.1.5: (2006-06-29) save in calpuls(section,1,1) and calpuls(section,1,2) the CRC values (transmitted and calculated) in case of CRC errors
11  C  C
12  C     3.1.3 - 3.1.4: (2005-05-26) the decoding is wrong!!! we are reading all strip in one plane per time and not one strip over all planes per time!!!!  C     3.1.3 - 3.1.4: (2005-05-26) the decoding is wrong!!! we are reading all strip in one plane per time and not one strip over all planes per time!!!!
13  C  C
# Line 212  c     if we run out of vector give an er Line 218  c     if we run out of vector give an er
218  c      c    
219           if (ic.gt.(lung-1)) then           if (ic.gt.(lung-1)) then
220              me = 1              me = 1
221              print *,'1 me = 1'  c            print *,'1 me = 1'
222              call clearall              call clearall
223              do i = 1, 4              do i = 1, 4
224                 error(i) = 129                             error(i) = 129            
# Line 248  C Line 254  C
254           enddo           enddo
255           if (check.ne.vect(length)) then           if (check.ne.vect(length)) then
256              ERROR(contr) = 132              ERROR(contr) = 132
257              print *,'2 me = 1'  c            print *,'2 me = 1'
258                calpuls(k,1,1) = check
259                calpuls(k,1,2) = vect(length)            
260              me = 1              me = 1
261              goto 200              goto 200
262           endif                   endif        
# Line 278  c Line 286  c
286           do i = 1,11           do i = 1,11
287              do j = 1,96              do j = 1,96
288                 icb = icb + 1                 icb = icb + 1
289                 if (k.eq.1) then                 if (k.eq.3) then
290                    calpuls(k,i,97-j) = vect(icb)                    calpuls(k,i,97-j) = vect(icb)
291                 else                 else
292                    calpuls(k,i,j) = vect(icb)                    calpuls(k,i,j) = vect(icb)
293                 endif                 endif
294             enddo             enddo
295           enddo           enddo
296           print *,'3 me = 0'  c         print *,'3 me = 0'
297           me = 0           me = 0
298  c  c
299   50      continue   50      continue

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

  ViewVC Help
Powered by ViewVC 1.1.23