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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Nov 22 08:31:11 2006 UTC (18 years ago) by mocchiut
Branch: MAIN
CVS Tags: v5r00, v4r00, v2r01, v3r04, v3r05, v3r06, v3r00, v3r03
Changes since 1.1: +5 -2 lines
Calorimeter major upgrade, Level1 branch + CaloStrip class

1 mocchiut 1.2 c SUBROUTINE MILLIM(LL,RMM)
2     INTEGER FUNCTION MILLIM(LL,RMM)
3 mocchiut 1.1 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 mocchiut 1.2 REAL SHIFT, AAA, RMM
22     INTEGER LL,K1,K2
23 mocchiut 1.1 COMMON / SHIFT / SHIFT
24 mocchiut 1.2 SAVE / SHIFT /
25 mocchiut 1.1
26     AAA = AA + SHIFT
27     II = LL - 1
28     K1 = INT(II / 32)
29     K2 = MOD(II,32) + 1
30     RMM = FLOAT(K1) * ADIST + AAA + FLOAT(K2) * 2.44 - 2.44 / 2.
31     C
32    
33     999 RETURN
34     END
35    

  ViewVC Help
Powered by ViewVC 1.1.23