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

Annotation of /calo/unpacking/fafede.for

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Mon Dec 5 16:23:21 2005 UTC (19 years ago) by mocchiut
Branch: MAIN, unpacking
CVS Tags: start, v1r00, HEAD
Changes since 1.1: +0 -0 lines
Imported sources

1 mocchiut 1.1 C------------------------------------------------
2     SUBROUTINE FAFEDE(word,silofa)
3     C------------------------------------------------
4    
5     IMPLICIT NONE
6     C
7     C Normal variables definition
8     C
9     INTEGER ERROR
10     C
11     INTEGER i, j, ival
12     C
13     INTEGER ic, k, ke
14     INTEGER*4 status
15     INTEGER inf, sup
16     INTEGER XO, YO, XE, YE
17     integer silofa
18    
19     INTEGER*2 length, length2
20    
21     integer*1 dst(8), word(3)
22     integer*4 st3
23     INTEGER st2,st1
24    
25     REAL CAL_PED(4,11,96), CAL_GOOD(4,11,96), CAL_THR(4,11,6)
26     REAL CAL_RMS(4,11,96), CAL_BASE(4,11,6), CAL_VAR(4,11,6)
27    
28     DATA XO/177/ ! CODE_DSP_R XO = 101 10001
29     DATA YO/173/ ! CODE_DSP_R YO = 101 01101
30     DATA XE/170/ ! CODE_DSP_R XE = 101 01010
31     DATA YE/182/ ! CODE_DSP_R YE = 101 10110
32    
33     C
34     C Begin !
35     C
36     ERROR = 0
37     ival = 0
38     C
39     C search for "FAFEDE"
40     C
41     c write(*,10)1,word(1)
42     c write(*,10)2,word(2)
43     c write(*,10)3,word(3)
44     c print *,'indeci ',word(1)
45     c print *,'indeci ',word(2)
46     c print *,'indeci ',word(3)
47     if (word(1).eq.-6.and.word(2).eq.-2
48     & .and.word(3).eq.-34) then
49     silofa = 1
50     c print *,'SI LO FA!'
51     endif
52     C
53     10 FORMAT(2X,'FAFE? ',2X,I4,2X,' valore: ',Z8)
54     c
55     RETURN
56     END
57    
58    

  ViewVC Help
Powered by ViewVC 1.1.23