GeomConverter/sandbox/SiTrackerEndcap2Test
diff -N SiTrackerEndcap2Test.lcdd
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ SiTrackerEndcap2Test.lcdd 4 Dec 2008 21:39:35 -0000 1.1
@@ -0,0 +1,194 @@
+<?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="SiTrackerEndcap2Test" />
+ <generator name="GeomConverter" version="1.0" file="./SiTrackerEndcap2Test/compact.xml" checksum="2925397207" />
+ <author name="NONE" />
+ <comment />
+ </header>
+ <iddict>
+ <idspec name="TestReadout" length="46">
+ <idfield signed="false" label="system" length="6" start="0" />
+ <idfield signed="false" label="barrel" length="3" start="6" />
+ <idfield signed="false" label="layer" length="4" start="9" />
+ <idfield signed="false" label="module" length="16" start="13" />
+ <idfield signed="false" label="sensor" length="1" start="29" />
+ <idfield signed="true" label="side" length="2" start="32" />
+ <idfield signed="false" label="strip" length="12" start="34" />
+ </idspec>
+ </iddict>
+ <sensitive_detectors>
+ <tracker name="SiTrackerEndcap2" ecut="0.0" eunit="MeV" verbose="0" hits_collection="TestReadout">
+ <idspecref ref="TestReadout" />
+ </tracker>
+ </sensitive_detectors>
+ <limits />
+ <regions>
+ <region name="TrackingRegion" store_secondaries="true" cut="10.0" lunit="mm" threshold="1.0" eunit="MeV" />
+ </regions>
+ <display>
+ <vis name="InvisibleWithDaughters" line_style="unbroken" drawing_style="wireframe" show_daughters="true" visible="false">
+ <color R="1.0" G="1.0" B="1.0" alpha="1.0" />
+ </vis>
+ <vis name="InvisibleNoDaughters" line_style="unbroken" drawing_style="wireframe" show_daughters="false" visible="false">
+ <color R="1.0" G="1.0" B="1.0" alpha="1.0" />
+ </vis>
+ <vis name="WorldVis" line_style="unbroken" drawing_style="wireframe" show_daughters="true" visible="false">
+ <color R="1.0" G="1.0" B="1.0" alpha="1.0" />
+ </vis>
+ <vis name="TrackingVis" line_style="unbroken" drawing_style="wireframe" show_daughters="true" visible="false">
+ <color R="1.0" G="1.0" B="1.0" alpha="1.0" />
+ </vis>
+ </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="world_side" value="30000.0" />
+ <constant name="cm" value="10.0" />
+ <constant name="tracking_region_radius" value="1800.0" />
+ <constant name="world_y" value="30000.0" />
+ <constant name="world_z" value="30000.0" />
+ <constant name="tracking_region_zmax" value="3000.0" />
+ <constant name="world_x" value="30000.0" />
+ <position name="Module1Volume_component0_position" x="0.0" y="0.0" z="0.0" unit="mm" />
+ <rotation name="Module1Volume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+ <position name="Module2Volume_component0_position" x="0.0" y="-10.5" z="0.0" unit="mm" />
+ <rotation name="Module2Volume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+ <position name="Module2Volume_component1_position" x="0.0" y="-4.0" z="0.0" unit="mm" />
+ <rotation name="Module2Volume_component1_rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+ <position name="Module2Volume_component2_position" x="0.0" y="6.5" z="0.0" unit="mm" />
+ <rotation name="Module2Volume_component2_rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+ <position name="SiTrackerEndcap2_layer1_module0_position" x="1210.0" y="0.0" z="856.25" unit="mm" />
+ <rotation name="SiTrackerEndcap2_layer1_module0_rotation" x="-1.5707963267948966" y="-1.5707963267948966" z="0.0" unit="radian" />
+ </define>
+ <materials>
+ <element name="H" formula="H" Z="1.0">
+ <atom type="A" unit="g/mol" value="1.00794" />
+ </element>
+ <material name="Vacuum">
+ <D type="density" unit="g/cm3" value="0.00000001" />
+ <fraction n="1" ref="H" />
+ </material>
+ <element name="Si" formula="Si" Z="14.0">
+ <atom type="A" unit="g/mol" value="28.0855" />
+ </element>
+ <material name="Silicon">
+ <D type="density" unit="g/cm3" value="2.3296" />
+ <composite n="1" ref="Si" />
+ </material>
+ <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.0012" />
+ <fraction n="0.754" ref="N" />
+ <fraction n="0.234" ref="O" />
+ <fraction n="0.012" ref="Ar" />
+ </material>
+ </materials>
+ <solids>
+ <box name="world_box" x="world_x" y="world_y" z="world_z" />
+ <tube name="tracking_cylinder" deltaphi="6.283185307179586" rmin="0.0" rmax="tracking_region_radius" z="2*tracking_region_zmax" />
+ <trd name="Module1Trd" x1="130.4844" x2="176.94" y1="1.0" y2="1.0" z="220.96" />
+ <trd name="Module1Volume_component0_trd" x1="130.4844" x2="176.94" y1="1.0" y2="1.0" z="220.96" />
+ <trd name="Module2Trd" x1="177.26" x2="237.0" y1="25.0" y2="25.0" z="185.2" />
+ <trd name="Module2Volume_component0_trd" x1="177.26" x2="237.0" y1="4.0" y2="4.0" z="185.2" />
+ <trd name="Module2Volume_component1_trd" x1="177.26" x2="237.0" y1="9.0" y2="9.0" z="185.2" />
+ <trd name="Module2Volume_component2_trd" x1="177.26" x2="237.0" y1="12.0" y2="12.0" z="185.2" />
+ </solids>
+ <structure>
+ <volume name="Module1Volume_component0">
+ <materialref ref="Silicon" />
+ <solidref ref="Module1Volume_component0_trd" />
+ </volume>
+ <volume name="Module1Volume">
+ <materialref ref="Vacuum" />
+ <solidref ref="Module1Trd" />
+ <physvol>
+ <volumeref ref="Module1Volume_component0" />
+ <positionref ref="Module1Volume_component0_position" />
+ <rotationref ref="Module1Volume_component0_rotation" />
+ <physvolid field_name="component" value="0" />
+ </physvol>
+ </volume>
+ <volume name="Module2Volume_component0">
+ <materialref ref="Silicon" />
+ <solidref ref="Module2Volume_component0_trd" />
+ <sdref ref="SiTrackerEndcap2" />
+ </volume>
+ <volume name="Module2Volume_component1">
+ <materialref ref="Silicon" />
+ <solidref ref="Module2Volume_component1_trd" />
+ </volume>
+ <volume name="Module2Volume_component2">
+ <materialref ref="Silicon" />
+ <solidref ref="Module2Volume_component2_trd" />
+ <sdref ref="SiTrackerEndcap2" />
+ </volume>
+ <volume name="Module2Volume">
+ <materialref ref="Vacuum" />
+ <solidref ref="Module2Trd" />
+ <physvol>
+ <volumeref ref="Module2Volume_component0" />
+ <positionref ref="Module2Volume_component0_position" />
+ <rotationref ref="Module2Volume_component0_rotation" />
+ <physvolid field_name="component" value="0" />
+ <physvolid field_name="sensor" value="0" />
+ </physvol>
+ <physvol>
+ <volumeref ref="Module2Volume_component1" />
+ <positionref ref="Module2Volume_component1_position" />
+ <rotationref ref="Module2Volume_component1_rotation" />
+ <physvolid field_name="component" value="1" />
+ </physvol>
+ <physvol>
+ <volumeref ref="Module2Volume_component2" />
+ <positionref ref="Module2Volume_component2_position" />
+ <rotationref ref="Module2Volume_component2_rotation" />
+ <physvolid field_name="component" value="2" />
+ <physvolid field_name="sensor" value="1" />
+ </physvol>
+ </volume>
+ <volume name="tracking_volume">
+ <materialref ref="Air" />
+ <solidref ref="tracking_cylinder" />
+ <physvol>
+ <volumeref ref="Module2Volume" />
+ <positionref ref="SiTrackerEndcap2_layer1_module0_position" />
+ <rotationref ref="SiTrackerEndcap2_layer1_module0_rotation" />
+ <physvolid field_name="system" value="1" />
+ <physvolid field_name="barrel" value="1" />
+ <physvolid field_name="layer" value="1" />
+ <physvolid field_name="module" value="0" />
+ </physvol>
+ <regionref ref="TrackingRegion" />
+ <visref ref="TrackingVis" />
+ </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>
+ <visref ref="WorldVis" />
+ </volume>
+ </structure>
+ <setup name="Default" version="1.0">
+ <world ref="world_volume" />
+ </setup>
+ </gdml>
+ <fields>
+ <solenoid name="GlobalSolenoid" lunit="mm" funit="tesla" outer_radius="world_side" inner_field="5.0" outer_field="-0.6" zmax="1000.0" zmin="-1000.0" inner_radius="2925.0" />
+ </fields>
+</lcdd>
+
GeomConverter/sandbox/SiTrackerEndcap2Test
diff -N compact.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ compact.xml 4 Dec 2008 21:39:35 -0000 1.1
@@ -0,0 +1,57 @@
+<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+ xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
+ <info name="SiTrackerEndcap2Test">
+ <comment></comment>
+ </info>
+ <define>
+ <constant name="cm" value="10"/>
+ <constant name="world_side" value="30000"/>
+ <constant name="world_x" value="world_side"/>
+ <constant name="world_y" value="world_side"/>
+ <constant name="world_z" value="world_side"/>
+ <constant name="tracking_region_radius" value="180.0 * cm"/>
+ <constant name="tracking_region_zmax" value="300.0 * cm"/>
+ </define>
+ <materials>
+ </materials>
+<!--
+ <display>
+ <vis name="TestVis" alpha="1.0" r="1.0" g="0.0" b="0.0" drawingStyle="wireframe" lineStyle="unbroken" showDaughters="true" visible="true"/>
+ </display>
+-->
+ <detectors>
+ <detector id="1" name="SiTrackerEndcap2" type="SiTrackerEndcap2" readout="TestReadout" reflect="false">
+ <module name="Module1">
+ <trd x1="65.2422" x2="88.47" z="110.48" />
+ <module_component thickness="1.0" material="Silicon"/>
+ </module>
+ <module name="Module2">
+ <trd x1="88.63" x2="118.5" z="92.6" />
+ <module_component thickness="4.0" material="Silicon" sensitive="true"/>
+ <module_component thickness="9.0" material="Silicon" sensitive="false"/>
+ <module_component thickness="12.0" material="Silicon" sensitive="true"/>
+ </module>
+ <layer id="1">
+ <ring r="1210.0" phi0="0.0" zstart="855.0" dz="1.25" nmodules="1" module="Module2"/>
+<!--
+ <ring r="1410.0" phi0="0.0" zstart="855.0" dz="1.25" nmodules="36" module="Module2"/>
+ <ring r="1610.0" phi0="0.0" zstart="855.0" dz="1.25" nmodules="48" module="Module2"/>
+-->
+ </layer>
+ </detector>
+ </detectors>
+ <readouts>
+ <readout name="TestReadout">
+ <id>system:6,barrel:3,layer:4,module:16,sensor:1,side:32:-2,strip:12</id>
+ </readout>
+ </readouts>
+ <fields>
+ <field type="Solenoid"
+ name="GlobalSolenoid"
+ inner_field="5.0"
+ outer_field="-0.6"
+ zmax="1000"
+ outer_radius="(250.0+ 5.0 + 17.5 + 40./2.)*cm" />
+ </fields>
+</lccdd>
GeomConverter/sandbox/SiTrackerEndcap2Test
diff -N detector.properties
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ detector.properties 4 Dec 2008 21:39:35 -0000 1.1
@@ -0,0 +1 @@
+name: SiTrackerEndcap2Test