Skip to content
Snippets Groups Projects
Commit 0c281336 authored by Jihee Kim's avatar Jihee Kim Committed by Whitney Armstrong
Browse files

Rearranged xml files

parent d7f4ed31
No related branches found
No related tags found
No related merge requests found
...@@ -11,27 +11,10 @@ ...@@ -11,27 +11,10 @@
<comment>Central Barrel Solenoid</comment> <comment>Central Barrel Solenoid</comment>
</info> </info>
<!-- Use DD4hep elements and materials definitions -->
<includes> <includes>
<gdmlFile ref="elements.xml"/>
<gdmlFile ref="materials.xml"/>
</includes> </includes>
<!-- Define the dimensions of the world volume -->
<define> <define>
<constant name="world_side" value="50*m"/>
<constant name="world_x" value="world_side"/>
<constant name="world_y" value="world_side"/>
<constant name="world_z" value="world_side"/>
<constant name="tracker_region_zmax" value="6 * m"/>
<constant name="tracker_region_rmax" value="6 * m"/>
<constant name="cb_Solenoid_ID" value="1"/>
<constant name="cb_Solenoid_rmin" value="0.0 * cm"/> <!-- Central Barrel Solenoid Inner diameter -->
<constant name="cb_Solenoid_rmax" value="137.0 * cm"/> <!-- Central Barrel Solenoid Outer diameter -->
<constant name="cb_Solenoid_z" value="400.0 * cm"/> <!-- Central Barrel Solenoid Size in Z direction -->
<constant name="cb_Solenoid_shift" value="0.0 * cm"/>
</define> </define>
<limits> <limits>
...@@ -40,10 +23,7 @@ ...@@ -40,10 +23,7 @@
<regions> <regions>
</regions> </regions>
<!-- Common Generic visualization attributes -->
<comment>Common Generic visualization attributes</comment>
<display> <display>
<vis name="cb_SolenoidVis" alpha="0.4" r= "0.1" g="0.0" b="0.1" showDaughters="true" visible="true"/>
</display> </display>
<!-- Define detector --> <!-- Define detector -->
...@@ -62,7 +42,5 @@ ...@@ -62,7 +42,5 @@
<!-- TODO: Define field using field map--> <!-- TODO: Define field using field map-->
<fields> <fields>
<field type="solenoid" name="GlobalSolenoid" inner_field="1.5 * tesla" outer_field="0.5*tesla"
zmin="100.0 * cm" zmax="100.0 * cm" inner_radius="100.0 * cm" outer_radius="100.0 * cm"/>
</fields> </fields>
</lccdd> </lccdd>
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
<vis name="RICHVis" alpha="0.5" r="1" g="0" b="1" showDaughters="false"/> <vis name="RICHVis" alpha="0.5" r="1" g="0" b="1" showDaughters="false"/>
<vis name="BeamPipeVis" alpha="1" r= "0.75" g="0.75" b="0.75" showDaughters="true" visible="true"/> <vis name="BeamPipeVis" alpha="1" r= "0.75" g="0.75" b="0.75" showDaughters="true" visible="true"/>
<vis name="cb_SolenoidVis" alpha="0.4" r= "0.1" g="0.0" b="0.1" showDaughters="true" visible="true"/>
<comment> <comment>
Deprecated colors. Deprecated colors.
......
<!-- Define parameter -->
<define>
<constant name="world_side" value="50*m"/>
<constant name="world_x" value="world_side"/>
<constant name="world_y" value="world_side"/>
<constant name="world_z" value="world_side"/>
<constant name="tracker_region_zmax" value="6 * m"/>
<constant name="tracker_region_rmax" value="6 * m"/>
<constant name="cb_Solenoid_ID" value="1"/>
<constant name="cb_Solenoid_rmin" value="0.0 * cm"/> <!-- Central Barrel Solenoid Inner diameter -->
<constant name="cb_Solenoid_rmax" value="137.0 * cm"/> <!-- Central Barrel Solenoid Outer diameter -->
<constant name="cb_Solenoid_z" value="400.0 * cm"/> <!-- Central Barrel Solenoid Size in Z direction -->
<constant name="cb_Solenoid_shift" value="0.0 * cm"/>
</define>
<?xml version="1.0" encoding="UTF-8"?> <lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
<lccdd> xmlns:xs="http://www.w3.org/2001/XMLSchema"
<info xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
name="reference_detector"
title="reference_detector" <!-- Some information about detector -->
author="Whitney R. Armstrong" <info name="Reference Detector" title="Reference Detector"
url="" author="Jihee Kim, Whitney Armstrong"
status="development" url="https://eicweb.phy.anl.gov/EIC/detectors/reference_detector.git"
version="$Id: 1$"> status="development"
<comment> </comment> version="v1 2021-03-16">
<comment>Test Detector</comment>
</info> </info>
<define> <define>
...@@ -88,6 +89,7 @@ ...@@ -88,6 +89,7 @@
<property name="EFFICIENCY" coldim="2" values="2.034*eV 0.8 4.136*eV 1.0"/> <property name="EFFICIENCY" coldim="2" values="2.034*eV 0.8 4.136*eV 1.0"/>
<property name="RINDEX" coldim="2" values="1.034*eV 1.5 4.136*eV 1.5"/> <property name="RINDEX" coldim="2" values="1.034*eV 1.5 4.136*eV 1.5"/>
</opticalsurface> </opticalsurface>
<!-- Define the dimensions of the world volume -->
</surfaces> </surfaces>
<limits> <limits>
...@@ -112,6 +114,7 @@ ...@@ -112,6 +114,7 @@
<include ref="compact/beampipe.xml"/> <include ref="compact/beampipe.xml"/>
<include ref="compact/silicon_tracker.xml"/> <include ref="compact/silicon_tracker.xml"/>
--> -->
<include ref="compact/cb_Solenoid.xml"/>
<include ref="compact/ecal.xml"/> <include ref="compact/ecal.xml"/>
<!-- <!--
<include ref="compact/solenoid.xml"/> <include ref="compact/solenoid.xml"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment