<?xml version="1.0"  ?> 

<!DOCTYPE lcdparm SYSTEM "detParms.dtd" >

<!--   Following describes the standard large detector, version Mar01         -->
<!--

CVS $Header: /afs/slac.stanford.edu/g/nld/cvsroot/lcd/dat/large/2/LDMar01.xml,v 1.0 2000/1/21 16:00:00 jrb Exp $

detector_ID:
type  LDMar01
major 2
minor 0
end;

-->

<lcdparm>
  <global file="LDMar01.xml" />
  <physical_detector topology="large" id = "LDMar01" >

    <volume id = "PIPE_INNER" rad_len_cm="0.00047" inter_len_cm="0.00040">
      <tube>
        <barrel_dimensions inner_r = "1.2" outer_z = "3.1"  />
        <layering>
          <slice material = "Be" width = "0.0165" />
        </layering>
      </tube>
      <support />
    </volume>

    <volume id = "PIPE_INNER_SHIELD" rad_len_cm="0.00281" inter_len_cm="0.00036">
      <cone reflected = "yes">
        <cone_dimensions  min_inner_r = "1.20"
                          max_inner_r = "2.20"
                          inner_z = "3.1"
                          outer_z = "6.6"  />
        <cone_slice material = "Ti" 
                    inner_width = "0.01" />
      </cone>
      <support  />
    </volume>
    <volume id = "PIPE_CONE" rad_len_cm="0.00284" inter_len_cm="0.00245">
      <cone reflected = "yes">
        <cone_dimensions  min_inner_r = "1.21"
                          max_inner_r = "2.21"
                          inner_z = "3.1"
                          outer_z = "6.6"  />
        <cone_slice material = "Be" 
                    inner_width = "0.1" />
      </cone>
      <support  />
    </volume>


    <!-- Length of this pipe (goes out to 30.0 in Z) is somewhat arbitrary.
         It can be changed easily if necessary.
      -->
    <volume id = "PIPE_OUTER" rad_len_cm="0.00284" inter_len_cm="0.00245">
      <disk>
        <disk_dimensions inner_r = "2.2" inner_z = "6.6" outer_r="2.3"  />
        <layering>
          <slice material = "Be" width = "23.4" />
        </layering>
      </disk>
      <support />
    </volume>

    <volume id = "MASK_CONE">
      <cone reflected = "yes" >
        <cone_dimensions  min_inner_r = "3.5"
                          max_inner_r = "14.0"
                          inner_z = "50.0"
                          outer_z = "200.0" />
        <cone_slice material = "W" 
                    inner_width = "1.5" 
                    outer_width = "6.0"
                    sensitive = "yes" />

<!-- 
     segmentation information goes here.  For now dtd says to use
     pre-existing segmentation element, but may have to invent something
     special for cone.
 -->
      </cone>
      <calorimeter type = "mask"  />
    </volume>                      <!-- end MASK_CONE -->

<!-- Lacking other instructions, assume mask tube should extend
     as far as muon calorimeter. -->
    <volume id = "MASK_TUBE">
       <tube reflected = "yes">  
          <tube_dimensions offset_z = "434.5"
                           length = "469.0"
                           inner_r = "14.0" />
              <!-- offset_z is offset of *center* of tube -->
          <layering>
            <slice material = "W" width = "6.0" />
          </layering>
       </tube>
       <support  />
    </volume>                    <!-- end MASK_TUBE -->

    <complex_volume id = "VERTEX_BARREL">
      <volume id = "VERTEX_BARREL_1" rad_len_cm="0.0011" inter_len_cm="0.00022">
        <tube>
          <barrel_dimensions inner_r = "1.4" outer_z = "2.5" />
          <layering>
            <slice material = "Si" width = "0.01" sensitive = "yes" />
          </layering>
        </tube>
        <tracker />
      </volume >
      <volume id = "VERTEX_BARREL_2" rad_len_cm="0.0011" inter_len_cm="0.00022">
        <tube>
          <barrel_dimensions inner_r = "2.4" outer_z = "12.5" />
          <layering>
            <slice material = "Si" width = "0.01" sensitive = "yes" />
          </layering>
        </tube>
        <tracker />
      </volume >
      <volume id = "VERTEX_BARREL_3" rad_len_cm="0.0011" inter_len_cm="0.00022">
        <tube>
          <barrel_dimensions inner_r = "3.6" outer_z = "12.5" />
          <layering>
            <slice material = "Si" width = "0.01" sensitive = "yes" />
          </layering>
        </tube>
        <tracker />
      </volume >
      <volume id = "VERTEX_BARREL_4" rad_len_cm="0.0011" inter_len_cm="0.00022">
        <tube>
          <barrel_dimensions inner_r = "4.8" outer_z = "12.5" />
          <layering>
            <slice material = "Si" width = "0.01" sensitive = "yes" />
          </layering>
        </tube>
        <tracker />
      </volume >
      <volume id = "VERTEX_BARREL_5" rad_len_cm="0.0011" inter_len_cm="0.00022">
        <tube>
          <barrel_dimensions inner_r = "6.0" outer_z = "12.5" />
          <layering>
            <slice material = "Si" width = "0.01" sensitive = "yes" />
          </layering>
        </tube>
        <tracker />
      </volume >
    </complex_volume>

    <volume id = "VERTEX_ENDPLATE" rad_len_cm="0.00852" inter_len_cm="0.0735">
      <disk reflected="yes">
        <disk_dimensions inner_r = "2.2" outer_r = "7.0" inner_z = "15.0" />
        <layering>
          <slice material = "Be" width = "0.3" />  
        </layering >
      </disk>
      <support type = "vxd" />
    </volume>

    <volume id = "VERTEX_CRYO_BARREL" rad_len_cm="0.004" inter_len_cm="0.002">
      <tube>
        <barrel_dimensions inner_r = "11.0" outer_z = "23.0" />
        <layering>
          <slice material = "PolystyreneFoam" width = "3.0" />  <!-- foam??? -->
        </layering >
      </tube>
      <support type = "cryo" />
    </volume>

    <volume id = "VERTEX_CRYO_ENDPLATE" rad_len_cm="0.004" inter_len_cm="0.002">
      <disk reflected="yes">
        <disk_dimensions inner_r = "2.2" outer_r = "11.0" inner_z = "20.0" />
        <layering>
          <slice material = "PolystyreneFoam" width = "3.0" />   <!-- foam??? -->
        </layering >
      </disk>
      <support type = "cryo" />
    </volume>

    <volume id = "LUM_ENDCAP" rad_len_cm = "0.571" inter_len_cm = "0.023">
      <disk reflected = "yes" >
        <disk_dimensions inner_r = "5.0" inner_z = "300.0" outer_r = "18.0" />
        <layering n="50" >
          <slice material = "W" width = "0.2" />
          <slice material = "Si" width = "0.03" sensitive = "yes" />
          <slice material = "G10" width = "0.1" />
          <slice material = "Air" width = "0.17" />
        </layering>
        <segmentation theta = "300" phi = "300" />
      </disk>
      <calorimeter type = "lum" />
    </volume>

    <volume id = "TRACK_BARREL_INTERMEDIATE" rad_len_cm="0.005" inter_len_cm="0.0010">
      <tube>
        <barrel_dimensions inner_r = "48" outer_z = "29.5" />
        <layering n="2">
          <slice material = "G10" width = "0.05" />
          <slice material = "Si" width = "0.02" sensitive = "yes" />
        </layering>
      </tube>
      <tracker />
    </volume>

<!--- For now use Knut's dimensions:  outer_r is 48 for all disks ???? -->
    <complex_volume id = "TRACK_ENDCAP">
      <volume id = "TRACK_ENDCAP_1" rad_len_cm="0.005" inter_len_cm="0.001">
        <disk>
          <disk_dimensions inner_r = "4.3" inner_z = "30" outer_r = "48" />
          <layering>
	    <slice material = "Si" width = "0.02" sensitive = "yes" />
          </layering>
        </disk>
        <tracker />
      </volume> 
      <volume id = "TRACK_ENDCAP_2" rad_len_cm="0.005" inter_len_cm="0.001">
        <disk>
          <disk_dimensions inner_r = "4.3" inner_z = "30.02" outer_r = "48" />
          <layering>
            <slice material = "G10" width = "0.1" />
	    <slice material = "Si" width = "0.02" sensitive = "yes" />
          </layering>
        </disk>
        <tracker />
      </volume> 
      <volume id = "TRACK_ENDCAP_3" rad_len_cm="0.005" inter_len_cm="0.001">
        <disk>
          <disk_dimensions inner_r = "10.9" inner_z = "90" outer_r = "48" />
          <layering>
	    <slice material = "Si" width = "0.02" sensitive = "yes" />
          </layering>
        </disk>
        <tracker />
      </volume> 
      <volume id = "TRACK_ENDCAP_4" rad_len_cm="0.005" inter_len_cm="0.001">
        <disk>
          <disk_dimensions inner_r = "10.9" inner_z = "90.02" outer_r = "48" />
          <layering>
            <slice material = "G10" width = "0.1" />
	    <slice material = "Si" width = "0.02" sensitive = "yes" />
          </layering>
        </disk>
        <tracker />
      </volume> 
      <volume id = "TRACK_ENDCAP_5" rad_len_cm="0.005" inter_len_cm="0.001">
        <disk>
          <disk_dimensions inner_r = "17.6" inner_z = "150.0" outer_r = "48" />
          <layering>
	    <slice material = "Si" width = "0.02" sensitive = "yes" />
          </layering>
        </disk>
        <tracker />
      </volume> 
      <volume id = "TRACK_ENDCAP_6" rad_len_cm="0.005" inter_len_cm="0.001">
        <disk>
          <disk_dimensions inner_r = "17.6" inner_z = "150.02" outer_r = "48" />
          <layering>
            <slice material = "G10" width = "0.1" />
	    <slice material = "Si" width = "0.02" sensitive = "yes" />
          </layering>
        </disk>
        <tracker />
      </volume> 
      <volume id = "TRACK_ENDCAP_7" rad_len_cm="0.005" inter_len_cm="0.001">
        <disk>
          <disk_dimensions inner_r = "24.2" inner_z = "210" outer_r = "48" />
          <layering>
	    <slice material = "Si" width = "0.02" sensitive = "yes" />
          </layering>
        </disk>
        <tracker />
      </volume> 
      <volume id = "TRACK_ENDCAP_8" rad_len_cm="0.005" inter_len_cm="0.001">
        <disk>
          <disk_dimensions inner_r = "24.2" inner_z = "210.02" outer_r = "48" />
          <layering>
            <slice material = "G10" width = "0.1" />
	    <slice material = "Si" width = "0.02" sensitive = "yes" />
          </layering>
        </disk>
        <tracker />
      </volume> 
      <volume id = "TRACK_ENDCAP_9" rad_len_cm="0.005" inter_len_cm="0.001">
        <disk>
          <disk_dimensions inner_r = "30.8" inner_z = "270" outer_r = "48" />
          <layering>
	    <slice material = "Si" width = "0.02" sensitive = "yes" />
          </layering>
        </disk>
        <tracker />
      </volume> 
      <volume id = "TRACK_ENDCAP_10" rad_len_cm="0.005" inter_len_cm="0.001">
        <disk>
          <disk_dimensions inner_r = "30.8" inner_z = "270.02" outer_r = "48" />
          <layering>
            <slice material = "G10" width = "0.1" />
	    <slice material = "Si" width = "0.02" sensitive = "yes" />
          </layering>
        </disk>
        <tracker />
      </volume> 
      <volume id = "TRACK_ENDCAP_11" >
        <disk>
          <disk_dimensions inner_r = "50.0" inner_z = "291" outer_r = "196.0" />
          <layering>
	    <slice material = "Air" width = "0.01" sensitive = "yes" />
          </layering>
        </disk>
        <tracker />
      </volume> 
    </complex_volume>

    <!-- Support structures for central tracker -->

    <volume id="TRACK_INNER_WALL" rad_len_cm="0.0203" inter_len_cm="0.0024">
       <tube>
         <barrel_dimensions inner_r = "50"     outer_z = "290"  />
         <layering>
           <slice  material = "Al" width = ".18" />
         </layering>
       </tube>
       <support />
    </volume>

    <volume id="TRACK_OUTER_WALL" rad_len_cm="0.0203" inter_len_cm="0.0024">
       <tube>
         <barrel_dimensions inner_r = "195"     outer_z = "290"  />
         <layering>
           <slice  material = "Al" width = ".18" />
         </layering>
       </tube>
       <support />
    </volume>

    <volume id="TRACK_ENDPLATE" rad_len_cm="0.2931" inter_len_cm="0.0924">
       <disk reflected="yes">
         <disk_dimensions inner_r = "50.18" inner_z = "285.1" outer_r = "195" />
         <layering>
           <slice  material = "G10" width = "4.9" />  <!-- ??? -->
         </layering>
       </disk>
       <support type = "electronics" />
    </volume>
   

    <volume id = "TRACK_BARREL" rad_len_cm="0.0001" inter_len_cm="0.00004">
      <tube>
        <barrel_dimensions inner_r = "56.0" outer_z = "270.0" />
        <layering n = "144.0">

<!-- Active swath is about 56 <= r <= 190, so delta r = 138. With
     144 layers, this gives a total delta r/layer of .9306 (and a little
     tiny bit over, but ignore that.                                    -->
          <slice material = "ArgonGas-1atm" width = "0.9206" />
          <slice material = "ArgonGas-1atm" width = "0.01" sensitive = "yes" />
        </layering>
      </tube>
      <tracker />
    </volume >

    <volume id="EM_BARREL" rad_len_cm="0.7173" inter_len_cm="0.0259" > <!-- ?? -->
       <tube>
         <barrel_dimensions inner_r = "196.0" outer_z = "322.0" /> <!-- ?? -->
         <layering n="10">
           <slice material = "Pb" width = "0.4" />
           <slice material = "Air" width = "0.04" />  
           <slice material = "Tyvek" width = "0.01" />  
           <slice material = "Polystyrene" width = "0.1" sensitive = "yes" />
           <slice material = "Tyvek" width = "0.01" /> 
           <slice material = "Air" width = "0.04" />  
           <slice material = "Pb" width = "0.4" />
           <slice material = "Air" width = "0.04" />  
           <slice material = "Tyvek" width = "0.01" />  
           <slice material = "Polystyrene" width = "0.1" sensitive = "yes" />
           <slice material = "Tyvek" width = "0.01" /> 
           <slice material = "Air" width = "0.04" />  
           <slice material = "Pb" width = "0.4" />
           <slice material = "Air" width = "0.04" />  
           <slice material = "Tyvek" width = "0.01" />  
           <slice material = "Polystyrene" width = "0.1" sensitive = "yes" />
           <slice material = "Tyvek" width = "0.01" /> 
           <slice material = "Air" width = "0.04" />  
           <slice material = "Pb" width = "0.4" />
           <slice material = "Air" width = "0.04" />  
           <slice material = "Tyvek" width = "0.01" />  
           <slice material = "Polystyrene" width = "0.1" sensitive = "yes" />
           <slice material = "Tyvek" width = "0.01" /> 
           <slice material = "Air" width = "0.04" />  
         </layering>
<!-- Took out owall; has been replaced with EM_BARREL_ELECTRONICS below -->
         <segmentation theta = "150" phi = "300" />      <!-- ??? -->
      </tube>
      <calorimeter type = "em" />
    </volume>

<!-- electronics.  Slight gap (.15 cm) between it and EM barrel proper -->
    <volume id="EM_BARREL_ELECTRONICS" rad_len_cm = "0.41" inter_len_cm = "0.129">
       <tube>
         <barrel_dimensions inner_r = "220.15"     outer_z = "322"  />
         <layering>
           <slice  material = "G10" width = "6.85" />    <!-- ??? -->
         </layering>
       </tube>
       <support type = "electronics" />
    </volume>

<!-- Support structures for barrel: inner wall and endrings -->

    <volume id="EM_BARREL_INNER_WALL"  rad_len_cm = "0.338" inter_len_cm = "0.076">
       <tube>
         <barrel_dimensions inner_r = "193"     outer_z = "325"  />
         <layering>
           <slice  material = "Al" width = "3" />
         </layering>
       </tube>
       <support />
    </volume>

    <volume id="EM_BARREL_ENDRING" rad_len_cm = "0.338" inter_len_cm = "0.076">
       <disk>
         <disk_dimensions inner_r = "196" inner_z = "322" outer_r = "227" />
         <layering>
           <slice  material = "Al" width = "3" />
         </layering>
       </disk>
       <support />
    </volume>

    <volume id = "EM_ENDCAP" rad_len_cm = "0.7173" inter_len_cm = "0.0259">
       <disk reflected = "yes">
         <disk_dimensions inner_r = "29.0" inner_z = "297.5" 
                         outer_r = "187.0" />
         <layering n="10">
           <slice material = "Pb" width = "0.4" />
           <slice material = "Air" width = "0.04" />  
           <slice material = "Tyvek" width = "0.01" />  
           <slice material = "Polystyrene" width = "0.1" sensitive = "yes" />
           <slice material = "Tyvek" width = "0.01" /> 
           <slice material = "Air" width = "0.04" />  
           <slice material = "Pb" width = "0.4" />
           <slice material = "Air" width = "0.04" />  
           <slice material = "Tyvek" width = "0.01" />  
           <slice material = "Polystyrene" width = "0.1" sensitive = "yes" />
           <slice material = "Tyvek" width = "0.01" /> 
           <slice material = "Air" width = "0.04" />  
           <slice material = "Pb" width = "0.4" />
           <slice material = "Air" width = "0.04" />  
           <slice material = "Tyvek" width = "0.01" />  
           <slice material = "Polystyrene" width = "0.1" sensitive = "yes" />
           <slice material = "Tyvek" width = "0.01" /> 
           <slice material = "Air" width = "0.04" />  
           <slice material = "Pb" width = "0.4" />
           <slice material = "Air" width = "0.04" />  
           <slice material = "Tyvek" width = "0.01" />  
           <slice material = "Polystyrene" width = "0.1" sensitive = "yes" />
           <slice material = "Tyvek" width = "0.01" /> 
           <slice material = "Air" width = "0.04" />  
         </layering>
         <segmentation theta = "150" phi = "300" />  <!-- ??? -->
       </disk>
       <calorimeter type = "em" />
    </volume>

<!-- electronics.  Slight gap (.15 cm) between it and EM endcap proper -->
    <volume id="EM_ENDCAP_ELECTRONICS" rad_len_cm = "0.38" inter_len_cm = "0.12">
       <disk>
         <disk_dimensions inner_r = "29.0"  inner_z = "321.65"
                          outer_r = "187"  />
         <layering>
           <slice  material = "G10" width = "6.35" />  <!-- ??? -->
         </layering>
       </disk>
       <support type = "electronics" />
    </volume>

    <!-- inner support disk for  EM_ENDCAP  -->
    <volume id="EM_ENDCAP_INNER_DISK" rad_len_cm = "0.282" inter_len_cm = ".063">
       <disk>
         <disk_dimensions inner_r = "25" inner_z = "295" outer_r = "188" />
         <layering>
           <slice  material = "Al" width = "2.5" />
         </layering>
       </disk>
       <support />
    </volume>
  
    <volume id = "HAD_BARREL"  inter_len_cm = "0.0518" >
      <tube>
        <barrel_dimensions inner_r = "233.0" outer_z = "466.0" />
        <layering n="3">
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
        </layering>
        <segmentation theta = "50" phi = "100" />      <!-- ??? -->
      </tube>
      <calorimeter type = "had" />
    </volume>

<!-- electronics.  Slight gap (.45 cm) between it and HAD barrel proper -->
    <volume id="HAD_BARREL_ELECTRONICS" inter_len_cm = "0.180">
       <tube>
         <barrel_dimensions inner_r = "365.45"     outer_z = "466"  />
         <layering>
           <slice  material = "G10" width = "9.55" />  <!-- ??? -->
         </layering>
       </tube>
       <support type = "electronics" />
    </volume>

<!-- Support structures for barrel: inner wall and endrings -->

    <volume id="HAD_BARREL_INNER_WALL" inter_len_cm = "0.0101">
       <tube>
         <barrel_dimensions inner_r = "229"     outer_z = "471"  />
         <layering>
           <slice  material = "Al" width = "4" />
         </layering>
       </tube>
       <support />
    </volume>

    <volume id="HAD_BARREL_ENDRING" inter_len_cm = "0.0127">
       <disk>
         <disk_dimensions inner_r = "233" inner_z = "466" outer_r = "375" />
         <layering>
           <slice  material = "Al" width = "5" />
         </layering>
       </disk>
       <support />
    </volume>


    <volume id = "HAD_ENDCAP"  inter_len_cm = " 0.0518" >
      <disk reflected = "yes" >
        <disk_dimensions inner_r = "31.0" outer_r = "221.0" 
                         inner_z = " 334.0" />
        <layering n="3">
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
          <slice material = "Pb" width = "0.8" />
          <slice material = "Air" width = "0.04" />  
          <slice material = "Tyvek" width = "0.01" /> 
          <slice material = "Polystyrene" width = "0.2" sensitive = "yes" />
          <slice material = "Tyvek" width = "0.01" />   
          <slice material = "Air" width = "0.04" />  
       </layering>
        <segmentation theta = "50" phi = "100" />      <!-- ??? -->
      </disk>
      <calorimeter type = "had" />
    </volume>

    <volume id="HAD_ENDCAP_ELECTRONICS" inter_len_cm = "0.18">
       <disk>
         <disk_dimensions inner_r = "31" inner_z = "466.45" outer_r = "221" />
         <layering>
           <slice  material = "G10" width = "9.55" />   <!-- ??? -->
         </layering>
       </disk>
       <support type = "electronics" />
    </volume>

    <!-- inner support disk for  HAD_ENDCAP  -->
    <volume id="HAD_ENDCAP_INNER_DISK" inter_len_cm = "0.0101">
       <disk>
         <disk_dimensions inner_r = "31" inner_z = "330" outer_r = "225" />
         <layering>
           <slice  material = "Al" width = "4" />
         </layering>
       </disk>
       <support />
    </volume>

    <!-- inner support tube for  HAD_ENDCAP 
         treat as (elongated in z) disk         -->
    <volume id="HAD_ENDCAP_INNER_TUBE" inter_len_cm = "0.0152">
       <disk>
         <disk_dimensions inner_r = "25" inner_z = "330"  outer_r = "31"/>
         <layering>
           <slice  material = "Al" width = "146" /> <!-- width is in z-dim -->
         </layering>
       </disk>
       <support />
    </volume>

    <!-- outer support tube for  HAD_ENDCAP 
         treat as (elongated in z) disk         -->
    <volume id="HAD_ENDCAP_OUTER_TUBE" inter_len_cm = "0.0101">
       <disk>
         <disk_dimensions inner_r = "221" inner_z = "334"  outer_r = "225"/>
         <layering>
           <slice  material = "Al" width = "142" /> <!-- width is in z-dim -->
         </layering>
       </disk>
       <support />
    </volume>


    <volume id = "COIL" inter_len_cm = "0.0732">
      <tube>
        <barrel_dimensions inner_r = "395.0" outer_z = "395.0"  />
        <layering>
          <slice material = "Al" width = "29.0" />
        </layering>
      </tube>      
      <!-- inner_field is field strength inside inner radius of coil
           outer_field is field strength outside inner radius of coil, but
           inside radius specified by outer_field_radius 
           Field is always presumed to be in z-direction -->
      <coil inner_field = "3.0"
            outer_field = "-0.3"
            outer_field_radius = "500.0" />
    </volume>

    <!-- coil support:  inner tube, outer tube and outer disk -->
    <volume id = "COIL_INNER_TUBE" inter_len_cm = "0.0152">
      <tube>
        <barrel_dimensions inner_r = "378.0" outer_z = "466.0"  />
        <layering>
          <slice material = "Al" width = "6.0" />
        </layering>
      </tube>      
      <support />
    </volume>

    <volume id = "COIL_OUTER_TUBE" inter_len_cm = "0.0076">
      <tube>
        <barrel_dimensions inner_r = "445.0" outer_z = "466.0"  />
        <layering>
          <slice material = "Al" width = "3.0" />
        </layering>
      </tube>      
      <support />
    </volume>

    <volume id = "COIL_OUTER_DISK" inter_len_cm = "0.0126">
      <disk>
        <disk_dimensions inner_r = "378.0" inner_z = "461.0" outer_r = "445" />
        <layering>
          <slice material = "Al" width = "5.0" />
        </layering>
      </disk>      
      <support />
    </volume>

    <volume id = "MUON_BARREL"  inter_len_cm = "0.298" >
      <tube>
        <barrel_dimensions inner_r = "453.0" outer_z = "477.0" />
        <layering n="24">
          <slice material = "Fe" width = "5.0" />
          <slice material = "Air" width = "3.0" sensitive = "yes" />
        </layering>
        <segmentation theta = "50" phi = "100" />  <!-- ??? -->
        <strip_segmentation z_width = "3.0" phi_width = "3.0" />  <!-- ??? -->
      </tube>
      <calorimeter type = "muon" />
    </volume>

    <volume id = "MUON_ENDCAP"  inter_len_cm = "0.298" >
      <disk>
        <disk_dimensions inner_r = "25.0" outer_r = "642.0" 
                         inner_z = " 477.0" />
        <layering n="24">
          <slice material = "Fe" width = "5.0" />
          <slice material = "Air" width = "3.0" sensitive = "yes" />
        </layering>
        <segmentation theta = "50" phi = "100" />  <!-- ??? -->
        <strip_segmentation x_width = "3.0" y_width = "3.0" />  <!-- ??? -->
      </disk>
      <calorimeter type = "muon" />
    </volume>

  </physical_detector>
</lcdparm>
