Print

Print


Commit in slic/examples on MAIN
KillTracks.lcdd+109added 1.1
example LCDD file with region where tracks are killed

slic/examples
KillTracks.lcdd added at 1.1
diff -N KillTracks.lcdd
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ KillTracks.lcdd	1 May 2013 22:39:27 -0000	1.1
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<lcdd xmlns:lcdd="http://www.lcsim.org/schemas/lcdd/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/lcdd/1.0/lcdd.xsd">
+  <header>
+    <detector name="SteelBox" />
+    <generator name="GeomConverter" version="1.0" file="SteelBox.xml" checksum="3713463430" />
+    <author name="Jeremy McCormick" />
+    <comment>Test of class org.lcsim.geometry.compact.converter.lcdd.TestBeamCalorimeter</comment>
+  </header>
+  <iddict>
+    <idspec name="CalHits" length="64">
+      <idfield signed="false" label="layer" length="7" start="0" />
+      <idfield signed="false" label="system" length="3" start="7" />
+      <idfield signed="true" label="x" length="16" start="32" />
+      <idfield signed="true" label="y" length="16" start="48" />
+    </idspec>
+  </iddict>
+  <!--
+  <sensitive_detectors>
+    <calorimeter name="TestBeamCalorimeterTest" ecut="0.0" eunit="MeV" verbose="0" hits_collection="CalHits">
+      <idspecref ref="CalHits" />
+      <grid_xyz grid_size_x="10.0" grid_size_y="10.0" grid_size_z="0.0" />
+    </calorimeter>
+  </sensitive_detectors>
+  -->
+  <limits />
+  <regions>
+    <region name="TrackingRegion" store_secondaries="true" />
+    <region name="killEmAll" store_secondaries="true" kill_tracks="true" />
+  </regions>
+  <display />
+  <gdml>
+    <define>
+      <rotation name="identity_rot" x="0.0" y="0.0" z="0.0" unit="radian" />
+      <rotation name="reflect_rot" x="3.141592653589793" y="0.0" z="0.0" unit="radian" />
+      <position name="identity_pos" x="0.0" y="0.0" z="0.0" unit="mm" />
+      <constant name="tracking_region_zmax" value="2000.0" />
+      <constant name="world_side" value="5000.0" />
+      <constant name="box_size" value="1000.0" />
+      <constant name="tracking_region_radius" value="1000.0" />      
+      <position name="TestBeamCalorimeterTest_position" x="0.0" y="0.0" z="0.0" unit="mm" />
+      <position name="TestBeamCalorimeterTest_layerType0_slice0_position" x="0.0" y="0.0" z="0.0" unit="mm" />
+      <position name="TestBeamCalorimeterTest_layer0_position" x="0.0" y="0.0" z="0.0" unit="mm" />
+    </define>
+    <materials>
+      <element name="N" formula="N" Z="7.0">
+        <atom type="A" unit="g/mol" value="14.00674" />
+      </element>
+      <element name="O" formula="O" Z="8.0">
+        <atom type="A" unit="g/mol" value="15.9994" />
+      </element>
+      <element name="Ar" formula="Ar" Z="18.0">
+        <atom type="A" unit="g/mol" value="39.948" />
+      </element>
+      <material name="Air">
+        <D type="density" unit="g/cm3" value="0.0000000000000000001" />
+        <fraction n="0.754" ref="N" />
+        <fraction n="0.234" ref="O" />
+        <fraction n="0.012" ref="Ar" />
+      </material>
+      <element name="Fe" formula="Fe" Z="26.0">
+        <atom type="A" unit="g/mol" value="55.845" />
+      </element>
+      <element name="C" formula="C" Z="6.0">
+        <atom type="A" unit="g/mol" value="12.0107" />
+      </element>
+      <material name="Steel235">
+        <D value="7.85" unit="g/cm3" />
+        <fraction n="0.998" ref="Fe" />
+        <fraction n=".002" ref="C" />
+      </material>
+    </materials>
+    <solids>
+      <box name="world_box" x="world_side" y="world_side" z="world_side" />
+      <tube name="tracking_cylinder" deltaphi="6.283185307179586" rmin="0.0" rmax="tracking_region_radius" z="2*tracking_region_zmax" />
+      <box name="TestBeamCalorimeterTest_box" x="box_size" y="box_size" z="box_size" />
+    </solids>
+    <structure>
+      <volume name="TestBeamCalorimeterTest_envelope">
+        <materialref ref="Air" />
+        <solidref ref="TestBeamCalorimeterTest_box" />
+        <regionref ref="killEmAll" />
+      </volume>
+      <volume name="tracking_volume">
+        <materialref ref="Air" />
+        <solidref ref="tracking_cylinder" />
+        <physvol>
+          <volumeref ref="TestBeamCalorimeterTest_envelope" />
+          <positionref ref="TestBeamCalorimeterTest_position" />
+          <rotationref ref="identity_rot" />
+          <physvolid field_name="system" value="0" />
+        </physvol>
+        <regionref ref="TrackingRegion" />
+      </volume>
+      <volume name="world_volume">
+        <materialref ref="Air" />
+        <solidref ref="world_box" />
+        <physvol>
+          <volumeref ref="tracking_volume" />
+          <positionref ref="identity_pos" />
+          <rotationref ref="identity_rot" />
+        </physvol>
+      </volume>
+    </structure>
+    <setup name="Default" version="1.0">
+      <world ref="world_volume" />
+    </setup>
+  </gdml>
+  <fields />
+</lcdd>
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