Commit in hps-detectors/gdml on MAIN
ecal_vacuum_flange_simple.gdml+24-321.2 -> 1.3
restructure to improve rendering

hps-detectors/gdml
ecal_vacuum_flange_simple.gdml 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- ecal_vacuum_flange_simple.gdml	29 Jan 2013 21:24:41 -0000	1.2
+++ ecal_vacuum_flange_simple.gdml	29 Jan 2013 23:14:34 -0000	1.3
@@ -2,23 +2,23 @@
 <!-- 
   Tessellated solid for electron run vacuum flange, not tested.
   @author Sho Uemura <[log in to unmask]>
-  @version $Id: ecal_vacuum_flange_simple.gdml,v 1.2 2013/01/29 21:24:41 meeg Exp $
+  @version $Id: ecal_vacuum_flange_simple.gdml,v 1.3 2013/01/29 23:14:34 meeg Exp $
 -->
-<gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://service-spi.web.cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd">
+<gdml xmlns:gdml="http://cern.ch/2001/Schemas/GDML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/gdml/1.0/gdml.xsd" >
 
-    <define/>
+    <define>
+        <constant name="flange_z" value="1524.022"/>        
+    </define>
 
     <materials>
         <material Z="13" name="G4_Al" state="solid">
             <D unit="g/cm3" value="2.699"/>
             <atom unit="g/mole" value="26.9815"/>
         </material>
-        <material Z="1" name="G4_Galactic" state="gas">
-            <T unit="K" value="2.73"/>
-            <P unit="pascal" value="3e-18"/>
-            <D unit="g/cm3" value="1e-25"/>
-            <atom unit="g/mole" value="1.00794075266514"/>
-        </material>
+        <material name="Vacuum" Z="1.000000">
+            <D unit="g/cm3" value="0.000000"/>
+            <atom unit="g/mole" value="0.000000"/>
+        </material>    
     </materials>
 
     <solids>
@@ -138,7 +138,7 @@
             <solidref ref="Top_plate_g"/>
         </volume>
         <volume name="Vacuum_tube_vol">
-            <materialref ref="G4_Galactic"/>
+            <materialref ref="Vacuum"/>
             <solidref ref="Vacuum_tube"/>
             <physvol name="Bottom_plate_g_phys">
                 <volumeref ref="Bottom_plate_g_vol"/>
@@ -181,62 +181,54 @@
             <materialref ref="G4_Al"/>
             <solidref ref="Z_Photon_b"/>
         </volume>
-        <volume name="IC_vol">
-            <materialref ref="G4_Galactic"/>
-            <solidref ref="IC"/>
+        <volume name="world_volume">
+            <materialref ref="Vacuum"/>
+            <solidref ref="root"/>
             <physvol name="Bottom_front_flange_d_phys">
                 <volumeref ref="Bottom_front_flange_d_vol"/>
-                <position name="Bottom_front_flange_d_pos_2" unit="mm" x="0" y="-119.8" z="-215"/>
+                <position name="Bottom_front_flange_d_pos_2" unit="mm" x="0" y="-119.8" z="-215+flange_z"/>
             </physvol>
             <physvol name="Vacuum_tube_phys">
                 <volumeref ref="Vacuum_tube_vol"/>
-                <position name="Vacuum_tube_pos_2" unit="mm" x="-61.75" y="0" z="0"/>
+                <position name="Vacuum_tube_pos_2" unit="mm" x="-61.75" y="0" z="0+flange_z"/>
             </physvol>
             <physvol name="Bottom_side_plate_phys">
                 <volumeref ref="Bottom_side_plate_vol"/>
-                <position name="Bottom_side_plate_pos_2" unit="mm" x="-224.205" y="-9.5" z="0"/>
+                <position name="Bottom_side_plate_pos_2" unit="mm" x="-224.205" y="-9.5" z="0+flange_z"/>
             </physvol>
             <physvol name="End_block_phys">
                 <volumeref ref="End_block_vol"/>
-                <position name="End_block_pos_2" unit="mm" x="-331.645" y="0" z="0"/>
+                <position name="End_block_pos_2" unit="mm" x="-331.645" y="0" z="0+flange_z"/>
             </physvol>
             <physvol name="Flange_mid_phys">
                 <volumeref ref="Flange_mid_vol"/>
-                <position name="Flange_mid_pos_2" unit="mm" x="219.5875" y="0" z="-215"/>
+                <position name="Flange_mid_pos_2" unit="mm" x="219.5875" y="0" z="-215+flange_z"/>
             </physvol>
             <physvol name="Flange_mid2_phys">
                 <volumeref ref="Flange_mid2_vol"/>
-                <position name="Flange_mid2_pos_2" unit="mm" x="-353.42" y="0" z="-215"/>
+                <position name="Flange_mid2_pos_2" unit="mm" x="-353.42" y="0" z="-215+flange_z"/>
             </physvol>
             <physvol name="QLeft_block1_cut_phys">
                 <volumeref ref="QLeft_block1_cut_vol"/>
-                <position name="QLeft_block1_cut_pos_2" unit="mm" x="40.783" y="0" z="0"/>
+                <position name="QLeft_block1_cut_pos_2" unit="mm" x="40.783" y="0" z="0+flange_z"/>
             </physvol>
             <physvol name="Top_front_flange_d_phys">
                 <volumeref ref="Top_front_flange_d_vol"/>
-                <position name="Top_front_flange_d_pos_2" unit="mm" x="0" y="119.8" z="-215"/>
+                <position name="Top_front_flange_d_pos_2" unit="mm" x="0" y="119.8" z="-215+flange_z"/>
             </physvol>
             <physvol name="Top_side_plate_phys">
                 <volumeref ref="Top_side_plate_vol"/>
-                <position name="Top_side_plate_pos_2" unit="mm" x="-224.205" y="9.5" z="0"/>
+                <position name="Top_side_plate_pos_2" unit="mm" x="-224.205" y="9.5" z="0+flange_z"/>
             </physvol>
             <physvol name="Z_Photon_b_phys">
                 <volumeref ref="Z_Photon_b_vol"/>
-                <position name="Z_Photon_b_pos_2" unit="mm" x="8.64058279" y="9.5" z="0"/>
-            </physvol>
-        </volume>
-        <volume name="root_vol">
-            <materialref ref="G4_Galactic"/>
-            <solidref ref="root"/>
-            <physvol name="IC_phys">
-                <volumeref ref="IC_vol"/>
-                <position name="IC_pos" unit="mm" x="0" y="0" z="1524.022"/>
+                <position name="Z_Photon_b_pos_2" unit="mm" x="8.64058279" y="9.5" z="0+flange_z"/>
             </physvol>
         </volume>
     </structure>
 
     <setup name="Default" version="1.0">
-        <world ref="root"/>
+        <world ref="world_volume"/>
     </setup>
 
 </gdml>
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1