LCDetectors/detectors/pCT
diff -N compact.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ compact.xml 4 Nov 2011 18:47:53 -0000 1.1
@@ -0,0 +1,110 @@
+<!-- top-level compact description element -->
+
+<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="pCT"
+ title="pCT"
+ author="Norman Graf"
+ url="http://confluence.slac.stanford.edu/display/ilc/sidmay05">
+ <comment>Test of simple proton Computed Tomography detector</comment>
+ </info>
+
+ <define>
+
+ <constant name="cm" value="10"/>
+
+ <!-- world -->
+ <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" />
+
+ <!-- tracking region -->
+ <constant name="tracking_region_radius" value="150.0*cm"/>
+ <constant name="tracking_region_zmax" value="200.0*cm"/>
+
+ </define>
+
+ <materials>
+ <material name="CsI">
+ <D type="density" value="4.51" unit="g/cm3"/>
+ <composite n="1" ref="Cs"/>
+ <composite n="1" ref="I"/>
+ </material>
+
+
+ <material name="PMMA">
+ <D type="density" value="1.19" unit="g/cm3"/>
+ <composite n="5" ref="C"/>
+ <composite n="8" ref="H"/>
+ <composite n="2" ref="O"/>
+ </material>
+ </materials>
+ <display>
+ <vis name="Vis" r="0.42" g="0.137" b="0.55" alpha="1.0" showDaughters="true" drawingStyle="solid" visible="true"/>
+ <vis name="Vis2" r="0.42" g="0.137" b="0.55" alpha="1.0" showDaughters="true" drawingStyle="solid" visible="false"/>
+ </display>
+ <detectors>
+
+ <detector id="1"
+ name="SiPlane1"
+ type="TestBeamTracker"
+ readout="SiHits"
+ insideTrackingVolume="true"
+ vis="Vis">
+ <dimensions x="2.0 * cm" y="3.0 * cm" />
+ <position z="0.0*cm" />
+ <layer repeat="1">
+ <slice material="Silicon" thickness=".03*cm" sensitive="true"/>
+ </layer>
+ </detector>
+
+ <detector id="2"
+ name="Absorber1"
+ type="TestBeamTracker"
+ insideTrackingVolume="true"
+ vis="Vis">
+ <dimensions x="2.0 * cm" y="3.0 * cm" />
+ <position z="1.0*cm" />
+ <layer repeat="1">
+ <slice material="PMMA" thickness="1.0*cm" />
+ </layer>
+ </detector>
+
+ <detector id="10"
+ name="RangeStack"
+ type="TestBeamCalorimeter"
+ readout="CalHits"
+ insideTrackingVolume="true"
+ vis="Vis">
+ <dimensions x="10.0 * cm" y="10.0 * cm" />
+ <position z="10.0*cm" />
+ <layer repeat="30">
+ <slice material="PMMA" thickness="1.0*cm" sensitive="true"/>
+ <slice material="Air" thickness="0.1*cm"/>
+ </layer>
+ </detector>
+
+
+ </detectors>
+
+ <readouts>
+ <readout name="SiHits">
+ <id>layer:7,system:3</id>
+ </readout>
+
+ <readout name="CalHits">
+ <segmentation type="GridXYZ" gridSizeX=".1*cm" gridSizeY=".1*cm" />
+ <id>layer:7,system:6,x:32:-16,y:-16</id>
+ </readout>
+ </readouts>
+
+ <fields>
+ <field type="Solenoid" name="GlobalSolenoid"
+ inner_field="5.0"
+ outer_field="-0.6"
+ zmax="1000"
+ outer_radius="(221.0+ 5.0 + 17.5 + 40./2.)*cm"/>
+ </fields>
+</lccdd>