/[PAMELA software]/calo/ground/LEVEL2/src/opcalol2.for
ViewVC logotype

Contents of /calo/ground/LEVEL2/src/opcalol2.for

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Mon Dec 5 16:13:54 2005 UTC (19 years ago) by mocchiut
Branch: LEVEL2, MAIN
CVS Tags: v4r04, v4r00, start, HEAD
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
Imported sources

1 C------------------------------------------------
2 INTEGER FUNCTION OPCALOL2(name,trkpaw,swcode1,swtrkcode1)
3 C------------------------------------------------
4 c
5 IMPLICIT NONE
6 C
7 INCLUDE 'INTEST.TXT'
8 C
9 CHARACTER*200 name
10 INTEGER swcode1, swtrkcode1
11 INTEGER swcode, swtrkcode,trkpaw
12 C
13 C
14 INTEGER lrec
15 INTEGER istat, ierr
16 integer Iquest(100)
17 PARAMETER (lrec=8190)
18 C
19 double precision al_p(5)
20 REAL estrip(2,22,96), ispaw
21 LOGICAL good2
22 REAL xalig, yalig, zalig
23 C
24 COMMON / clevel1 / al_p,estrip, ispaw,good2,
25 & xalig, yalig, zalig
26 SAVE / clevel1 /
27 C
28 REAL hmemor(10000000)
29 C
30 COMMON / SOFTWARE / SWCODE, SWTRKCODE
31 SAVE / SOFTWARE /
32 C
33 COMMON /pawc/hmemor
34 save /pawc/
35 C
36 Common /QUEST/ Iquest
37 save /quest/
38 C
39 if ( trkpaw.eq.0 ) then
40 print *,'Calling HLIMIT'
41 CALL HLIMIT(10000000)
42 Iquest(10) = 512000
43 else
44 print *,'HLIMIT already called by optrklev2.for! '
45 endif
46 C
47 c print *,'Open file...'
48 C
49 CALL HROPEN(59,'Event',name,'npeq',lrec,istat)
50 CALL HBNT(1,'Pamela Calo',' ')
51 CALL HBSET('BSIZE',lrec,ierr)
52 c CALL HBNAME(1,'calo',OBT,'OBT:R,headc:R,evfile:R,trigty:R,'//
53 CALL HBNAME(1,'calo',OBT,'OBT:I,pkt_num:I,pro_num:I,trigty:R,'//
54 & 'good:I,perr(4):I,swerr(4):I,crc(4):I,'//
55 & 'nstrip:R,qtot:R,'//
56 & 'ncore:R,qcore:R,impx:R,impy:R,tanx:R,tany:R,'//
57 & 'nint:R,ncyl:R,qcyl:R,qtrack:R,qmax:R,'//
58 & 'nx22:R,qx22:R,qq(4):R,'//
59 & 'qtrackx:R,qtracky:R,dxtrack:R,dytrack:R,'//
60 & 'qlast:R,nlast:R,qpre:R,npre:R,qpresh:R,npresh:R,'//
61 & 'qlow:R,nlow:R,qtr:R,ntr:R,'//
62 & 'planetot:R,qmean:R,varcfit(2):R,npcfit(2):I,'//
63 & 'thex:R,they:R,'//
64 & 'cibar(2,22):I,tibar(2,22):I,cbar(2,22):R,tbar(2,22):R')
65 C
66 CALL HBNT(2,'Software version',' ')
67 CALL HBSET('BSIZE',lrec,ierr)
68 CALL HBNAME(2,'versions',swcode,'swcode:I,swtrkcode:I')
69 swcode = swcode1
70 swtrkcode = swtrkcode1
71 call hfnt(2)
72 OPCALOL2 = 0
73
74 RETURN
75 END
76

  ViewVC Help
Powered by ViewVC 1.1.23