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

Annotation of /calo/unpacking/bassuc.for

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Mon Dec 5 16:23:20 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 REAL FUNCTION bassuc()
2     *********************************************************
3     * *
4     * This file was generated by HUWFUN. *
5     * *
6     *********************************************************
7     *
8     * Ntuple Id: 1
9     * Ntuple Title: Pamela Calo
10     * Creation: 23/06/2004 17.40.26
11     *
12     *********************************************************
13     *
14     LOGICAL CHAIN
15     CHARACTER*128 CFILE
16     INTEGER IDNEVT,NCHEVT,ICHEVT
17     integer i,j,k,pre
18     REAL OBS(13)
19     real calbase
20     *
21     COMMON /PAWIDN/ IDNEVT,OBS
22     COMMON /PAWCHN/ CHAIN, NCHEVT, ICHEVT
23     COMMON /PAWCHC/ CFILE
24     *
25     *-- Ntuple Variable Declarations
26     *
27     REAL cal_ped(4,11,96),cal_good(4,11,6),cal_thr(4,11,6)
28     + ,cal_rms(4,11,96),cal_base(4,11,6),cal_var(4,11,6)
29     + ,cal_pulse(4,11,96)
30     INTEGER iev
31     *
32     COMMON /PAWCR4/ iev,cal_ped,cal_good,cal_thr,cal_rms,cal_base
33     + ,cal_var,cal_pulse
34     *
35    
36     *
37     *-- Enter user code here
38     *
39     do i=1,4
40     do j=1,11
41     pre = 0
42     do k=1,96
43     if (mod(k+15,16).eq.0) pre = pre + 1
44     c print *,k, pre
45     calbase=cal_base(i,j,pre)
46     call hf1(100+i*10+pre,cal_ped(i,j,k)-calbase,1.)
47     call hf1(200+i*10+pre,cal_ped(i,j,k),1.)
48     if (cal_rms(i,j,k).ne.0.)
49     & print *,'rms ',cal_rms(i,j,k),' i=',i,' j=',j,' k=',k
50     enddo
51     enddo
52     enddo
53     bassuc = 1.
54     *
55     END

  ViewVC Help
Powered by ViewVC 1.1.23