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

Contents of /DarthVader/CalorimeterLevel2/src/millim.for

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Dec 12 16:18:21 2008 UTC (15 years, 11 months ago) by mocchiut
Branch: MAIN
CVS Tags: v6r01, v6r00
Changes since 1.2: +2 -0 lines
Calo optimization + bug fixed, ToF errors -315/6/7 fixed

1 c SUBROUTINE MILLIM(LL,RMM)
2 INTEGER FUNCTION MILLIM(LL,RMM)
3 C----------------------------------------------------------------------
4 C-
5 C- Purpose and Methods : TRASFORMA IL NUMERO DI STRISCIA IN mm TENENDO CONTO
6 C- DELLE AREE MORTE
7 C-
8 C- Inputs : NUMERO DI STRISCIA (INTERO)
9 C- Outputs : VALORE IN mm (REALE)
10 C- Controls:
11 C-
12 C- Created 3-FEB-1994 MIRKO BOEZIO
13 C- Modified 1-MAR-1994 MIRKO BOEZIO . SOSTITUITO IN MILLIM
14 C- - AA / 2. CON
15 C- - 3.75 / 2.
16 C- Modified 31-MAR-1994 MIRKO BOEZIO . AGGIUNTA IN LASTRISCIA LA RIGA :
17 C- IF (IBAR.EQ.0) IBAR = 1
18 C-
19 C----------------------------------------------------------------------
20 INCLUDE 'INTEST.TXT'
21 REAL SHIFT, AAA, RMM
22 INTEGER LL,K1,K2
23 COMMON / SHIFT / SHIFT
24 SAVE / SHIFT /
25
26 MILLIM = 0
27
28 AAA = AA + SHIFT
29 II = LL - 1
30 K1 = INT(II / 32)
31 K2 = MOD(II,32) + 1
32 RMM = FLOAT(K1) * ADIST + AAA + FLOAT(K2) * 2.44 - 2.44 / 2.
33 C
34
35 999 RETURN
36 END
37

  ViewVC Help
Powered by ViewVC 1.1.23