*.--  $Log: l0.tz,v $
*.--  Revision 1.11  2006/01/12 10:15:32  kuhl
*.--  material of the lumi detector
*.--
*.--  Revision 1.10  2000/12/04 18:31:51  kunori
*.--  update L0 and back to single precision
*.--
*.--  Revision 1.9  1999/06/08 19:01:07  kunori
*.--  large initial hit banks
*.--
*.--  Revision 1.8  1997/12/23 04:19:11  fisyak
*.--  Change names DPRE => CPS, DFPS => FPS; DICD => ICD
*.--
*.--Revision 1.7  1997/10/11  00:07:26  fisyak
*.--L0 digi
*.--
*.--Revision 1.6  1997/07/09  23:33:04  fisyak
*.--Jeffrey Bantly Run 2 luminosity monitor
*.--
*.-- Revision 1.5  1997/07/09  02:49:28  fisyak
*.-- Add the first version of L0 for Run 2
*.--
*.-- Revision 1.4  1997/04/07  16:22:48  fisyak
*.-- Split gtit -> gtit, rotm, hits
*.--
*.--Revision 1.3  1997/04/07  05:21:49  fisyak
*.--Set modification date
*.--
*---             Last modification $Date: 2006/01/12 10:15:32 $
*DO  GEAN   0 -U -A4CW -c1/80     #. D0 Luminosity monitor materials
 :L0      #. key volume name
 :gmix "SCITILV0"                 2   1.0320
          "Carbon "                -8.000     #. Atomic fraction
          "Hydrogen"               -9.000     #. Atomic fraction
 :medi "SCITILV0"  1
 :gmix "LV0PMT"                   2   12.90
          "Iron"                  -20.000     #. Atomic fraction
          "Copper"                 -1.000     #. Atomic fraction
*DO  GEAN   0 -U -A4CW -c1/80     #. D0 Luminosity monitor for Run 1
 :RUN1    #. key volume name
 :mkpo
 :L0   "    "  "Air"    4.0   5.0 -1.7082     3.4925    62.2300
                                   3.3338     3.4925    62.2300
                                   3.3340    32.3850    62.2300
                                   5.5563    37.4650    62.2300
                                   8.4137    62.2046    62.2300
 :pos  :L0   1  :EC+    :NULL  :ONLY       0.0        0.0   140.1763
 :pos  :L0   1  :EC-    :NULL  :ONLY       0.0        0.0   140.1763
 :mkpo
 :LCO+  "    " "Aluminium"  4. 2.   0.9080     3.4925    32.3850
                                    1.3144     3.4925    32.3850
 :pos   :LCO+  1  :L0    :NULL  :ONLY       0.0000     0.0000    -2.5400
 :volu  :LB1+  :BOX   "Aluminium" 3   37.46500    0.15870    1.11130
 :pos   :LB1+  1  :L0    :NULL  :ONLY       0.0000   -31.9088     2.2225
 :pos   :LB1+  2  :L0    :R090  :ONLY     -31.9088     0.0000     0.0000
 :pos   :LB1+  3  :L0    :R180  :ONLY       0.0000    31.9088     2.2225
 :pos   :LB1+  4  :L0    :R270  :ONLY      31.9088     0.0000     0.0000
 :volu  :LB2+  :BOX   "Aluminium" 3   20.47880    0.15870    1.11130
 :pos   :LB2+  1  :L0    :NULL  :ONLY     -16.9862    -3.6513     2.2225
 :pos   :LB2+  2  :L0    :R090  :ONLY      -3.6513    16.9862     0.0000
 :pos   :LB2+  3  :L0    :R180  :ONLY      16.9862     3.6513     2.2225
 :pos   :LB2+  4  :L0    :R270  :ONLY       3.6513   -16.9862     0.0000
 :volu  :LB3+  :BOX   "Aluminium" 3    0.15870    3.49250    1.11130
 :pos   :LB3+  1  :L0    :NULL  :ONLY       3.6513    -0.3175     2.2225
 :pos   :LB3+  2  :L0    :R090  :ONLY      -0.3175    -3.6513     0.0000
 :pos   :LB3+  3  :L0    :R180  :ONLY      -3.6513     0.3175     2.2225
 :pos   :LB3+  4  :L0    :R270  :ONLY       0.3175     3.6513     0.0000
 :volu  :LB4+  :BOX   "Aluminium" 3   16.98620    0.15870    1.11130
 :pos   :LB4+  1  :L0    :NULL  :ONLY      20.4788     3.3338     2.2225
 :pos   :LB4+  2  :L0    :R090  :ONLY       3.3338   -20.4788     0.0000
 :pos   :LB4+  3  :L0    :R180  :ONLY     -20.4788    -3.3338     2.2225
 :pos   :LB4+  4  :L0    :R270  :ONLY      -3.3338    20.4788     0.0000
 :volu  :LB5+  :BOX   "Aluminium" 3    0.15870   13.97000    4.76250
 :pos   :LB5+  1  :L0    :NULL  :ONLY     -59.5313   -17.7800     3.3179
 :pos   :LB5+  2  :L0    :R090  :ONLY     -17.7800    59.5313     3.3179
 :pos   :LB5+  3  :L0    :R180  :ONLY      59.5313    17.7800     3.3179
 :pos   :LB5+  4  :L0    :R270  :ONLY      17.7800   -59.5313     3.3179
 :volu  :LB6+  :BOX   "Aluminium" 3    0.15870   17.46250    4.76250
 :pos   :LB6+  1  :L0    :NULL  :ONLY      59.5313   -14.2875     3.3179
 :pos   :LB6+  2  :L0    :R090  :ONLY     -14.2875   -59.5313     3.3179
 :pos   :LB6+  3  :L0    :R180  :ONLY     -59.5313    14.2875     3.3179
 :pos   :LB6+  4  :L0    :R270  :ONLY      14.2875    59.5313     3.3179
 :volu  :LB7+  :BOX   "Aluminium" 3   10.95370    0.15870    3.33380
 :pos   :LB7+  1  :L0    :NULL  :ONLY      48.4188   -31.9088     2.2225
 :pos   :LB7+  2  :L0    :R090  :ONLY     -31.9088   -48.4188     2.2225
 :pos   :LB7+  3  :L0    :NULL  :ONLY     -48.4188   -31.9088     2.2225
 :pos   :LB7+  4  :L0    :R090  :ONLY     -31.9088    48.4188     2.2225
 :pos   :LB7+  5  :L0    :NULL  :ONLY     -48.4188    -3.6513     2.2225
 :pos   :LB7+  6  :L0    :R090  :ONLY      -3.6513    48.4188     2.2225
 :pos   :LB7+  7  :L0    :NULL  :ONLY      48.4188     3.3338     2.2225
 :pos   :LB7+  8  :L0    :R090  :ONLY       3.3338   -48.4188     2.2225
 :pos   :LB7+  9  :L0    :R180  :ONLY     -48.4188    31.9088     2.2225
 :pos   :LB7+ 10  :L0    :R270  :ONLY      31.9088    48.4188     2.2225
 :pos   :LB7+ 11  :L0    :R180  :ONLY      48.4188    31.9088     2.2225
 :pos   :LB7+ 12  :L0    :R180  :ONLY      48.4188     3.6513     2.2225
 :pos   :LB7+ 13  :L0    :R180  :ONLY     -48.4188    -3.3338     2.2225
 :pos   :LB7+ 14  :L0    :R270  :ONLY      31.9088   -48.4188     2.2225
 :pos   :LB7+ 15  :L0    :R270  :ONLY       3.6513   -48.4188     2.2225
 :pos   :LB7+ 16  :L0    :R270  :ONLY      -3.3338    48.4188     2.2225
 :volu  :LS1+  :BOX   "SCITILV0"  3   13.97000    3.49250    0.79370
 :pos   :LS1+  1  :L0    :NULL  :ONLY      17.7800    -0.3175     2.2225
 :pos   :LS1+  2  :L0    :R090  :ONLY      -0.3175   -17.7800     0.0000
 :pos   :LS1+  3  :L0    :R180  :ONLY     -17.7800     0.3175     2.2225
 :pos   :LS1+  4  :L0    :R270  :ONLY       0.3175    17.7800     0.0000
 :volu  :LS2+  :BOX   "SCITILV0"  3   31.43250    3.49250    0.79370
 :pos   :LS2+  1  :L0    :NULL  :ONLY       0.0000    -7.3025     2.2225
 :pos   :LS2+  2  :L0    :NULL  :ONLY       0.0000   -14.2875     2.2225
 :pos   :LS2+  3  :L0    :NULL  :ONLY       0.0000   -21.2725     2.2225
 :pos   :LS2+  4  :L0    :NULL  :ONLY       0.0000   -28.2575     2.2225
 :pos   :LS2+  5  :L0    :R090  :ONLY      -7.3025     0.0000     0.0000
 :pos   :LS2+  6  :L0    :R090  :ONLY     -14.2875     0.0000     0.0000
 :pos   :LS2+  7  :L0    :R090  :ONLY     -21.2725     0.0000     0.0000
 :pos   :LS2+  8  :L0    :R090  :ONLY     -28.2575     0.0000     0.0000
 :pos   :LS2+  9  :L0    :R180  :ONLY       0.0000     7.3025     2.2225
 :pos   :LS2+ 10  :L0    :R270  :ONLY       7.3025     0.0000     0.0000
 :pos   :LS2+ 11  :L0    :R180  :ONLY       0.0000    14.2875     2.2225
 :pos   :LS2+ 12  :L0    :R180  :ONLY       0.0000    21.2725     2.2225
 :pos   :LS2+ 13  :L0    :R180  :ONLY       0.0000    28.2575     2.2225
 :pos   :LS2+ 14  :L0    :R270  :ONLY      14.2875     0.0000     0.0000
 :pos   :LS2+ 15  :L0    :R270  :ONLY      21.2725     0.0000     0.0000
 :pos   :LS2+ 16  :L0    :R270  :ONLY      28.2575     0.0000     0.0000
 :dvn  :LT1+    :LS1+                       4         1
 :dvn  :LT2+    :LS2+                       9         1
 :volu  :LS    :BOX   "SCITILV0"  3    3.49250    3.49250    0.79370
 :pos  :LS   1  :LT1+ :NULL :ONLY 0.0 0.0 0.0
 :pos  :LS   1  :LT2+ :NULL :ONLY 0.0 0.0 0.0
 :detv :L0      :LS  15000 22000 0
 :hits :L0      :LS
 :detd :L0      :LS  1   :TOF         32



*DO  GEAN   0 -U -A4CW -c1/110    #. D0 Run 2 Luminosity monitor (L0)  
 :RUN2    #. key volume name

#. Last modification 18 Oct 2000 by ADGrover.
#. Total mother volume, L0 (See drawings 2,3,5 for dimensions).

 :mkpo
 :L0   "    "  "L0.Vacuum"    0.0   4.0 -7.2720      7.2981     15.6616
                                      0.0000      7.2981     15.6616
                                      0.0000      3.2258     18.9484
                                      2.7432      3.2258     18.9484 
 :pos  :L0   1  :EC+    :NULL  :ONLY       0.0        0.0   140.7668 
 :pos  :L0   1  :EC-    :NULL  :ONLY       0.0        0.0   140.7668

#. L0 is divided into two parts: LUM, a tube that will house the
#. scintillators, and LPMT, and octagonal volume that will house
#. the photomultiplier tubes (these dimensions follow directly from
#. the dimensions of L0).

 :volu :LUM   :TUBE "L0.Vacuum" 3 3.2258 18.9484 1.3716
 :pos :LUM  1 :L0  :NULL :ONLY 0.0 0.0   1.3716

 :volu :LPMT  :PGON "L0.Vacuum" 10 22.5 360.0 8.0 2.0 -3.6360 7.2981 14.4695
                                                    3.6360 7.2981 14.4695
 :pos :LPMT 1 :L0  :NULL :ONLY 0.0 0.0  -3.6360

#. L0PM is a volume placed where the photomultiplier tubes are placed.
#. The point of adding this is to have a place where mass can be added.
#.      Note- L0PM overlaps with LPMT and LUM. Need to fix it. sk, 02-Dec-00

#. :volu :L0PM  :TUBE "L0.Vacuum" 3 9.3345 11.8745 1.2250
#. :pos :L0PM  1 :L0  :NULL :ONLY 0.0 0.0  -0.5800

 :volu :L0PM  :TUBE "L0.l0_PMT_Material" 3 9.3345 11.8745 1.2250
 :pos :L0PM  1 :L0  :NULL :ONLY 0.0 0.0  -1.2250
#. The following volumes describe the basic structure of the LUM
#. portion of L0 as well as the scintillators themselves.

#. L0OR is the outside wall. Dimensions from LUM and Drawing 10.
:volu :L0OR  :TUBE "L0.Aluminium" 3 18.8722 18.9484 1.3716
:pos :L0OR 1 :LUM  :NULL :ONLY   0.  0.  0.000

#. L0IR is the inner wall. Dimensions from LUM and Drawing 4.
:volu :L0IR  :TUBE "L0.Aluminium" 3  3.2258  3.3020 1.3716
:pos :L0IR 1 :LUM  :NULL :ONLY   0.  0.  0.000
 
#. L0BP is the back wall. Dimensions from Drawing 10, L0OR, and L0IR.
:volu :L0BP  :TUBE "L0.Aluminium" 3  3.3020 18.8722 0.2381 
:pos :L0BP 1 :LUM  :NULL :ONLY   0.  0.  1.1335

#. L0FP is the outer front plate. Dimensions from Drawing 1 and L0OR.
:volu :L0FP  :TUBE "L0.Aluminium" 3 14.4780 18.8722 0.2381
:pos :L0FP 1 :LUM  :NULL :ONLY   0.  0. -1.1335

#. L0IP is the inner front plate. Dimensions from Drawing 15 and L0IR.
:volu :L0IP  :TUBE "L0.Aluminium" 3  3.3020  8.9967 0.2381 
:pos :L0IP 1 :LUM  :NULL :ONLY   0.  0. -1.1335

#. L0SC is (are) the scintillators. Dimensions are from the precise
#. requirements that the inner radius must be 1.3 inches and the
#. outer radius must be 7.3 inches.
:volu :L0SC  :PGON "Scintil.L0"  10  -7.5 360.0 24.0 2.0 
                                            -0.7938 3.3020 18.5420
                                             0.7938 3.3020 18.5420
:pos :L0SC 1 :LUM  :NULL :ONLY   0.  0.  0.1016

#. The following volumes describe the basic structure of the LPMT
#. portion of L0.

#. L0OM is the outer wall. Dimensions follow from LPMT.  Inner radius
#. decreased in order to add mass.
 :volu :L0OM  :PGON "L0.Aluminium" 10 22.5 360.0 8.0 2.0
                                            -3.6360  14.0309 14.4695
                                             3.6360  14.0309 14.4695
 :pos :L0OM 1 :LPMT :NULL :ONLY   0.  0.  0.000

#. L0IR is the inner wall. Dimensions follow from LPMT.  Outer radius 
#. increased in order to add mass.
 :volu :L0IM  :PGON "L0.Aluminium" 10 22.5 360.0 8.0 2.0 -3.6360 7.2981 7.7147
                                                       3.6360 7.2981 7.7147
 :pos :L0IM 1 :LPMT :NULL :ONLY   0.  0.  0.000

#. L0OP is the top. Dimensions follow from L0OM and L0IM.
 :volu :L0OP  :PGON "L0.Aluminium" 10 22.5 360.0 8.0 2.0 -0.0381 7.3743 14.3933
                                                       0.0381 7.3743 14.3933
 :pos :L0OP 1 :LPMT :NULL :ONLY   0.  0. -3.5979
#.
 :TPAR  "Scintil.L0"            :DCUTE   1.E-3
 :TPAR  "Scintil.L0"            :DCUTM   1.E-3
#.
#. L0 HITS
 :dvn  :L0SH :L0SC 24 2
#.
 :detv :L0      :L0SH  15000  2000 0
 :hits :L0      :L0SH