Skip to content
Snippets Groups Projects

Draft: Resolve "Implement ci_HCAL"

Closed Marshall Scott requested to merge 24-implement-ci_hcal into master
Compare and
5 files
+ 317
1
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 74
0
 
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
 
xmlns:xs="http://www.w3.org/2001/XMLSchema"
 
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
 
 
<!-- Some information about detector -->
 
<info name="Central Ion HCAL" title="Central Ion HCAL"
 
author="Marshall Scott"
 
url="https://eicweb.phy.anl.gov/EIC/detectors/reference_detector.git"
 
status="development"
 
version="v1 2021-03-31">
 
<comment>Central Ion HCAL</comment>
 
</info>
 
 
<!-- Use DD4hep elements and materials definitions -->
 
<includes>
 
<gdmlFile ref="elements.xml"/>
 
<gdmlFile ref="materials.xml"/>
 
</includes>
 
 
<!-- Define the dimensions of the world volume -->
 
<define>
 
<!-- Temporary, just sdummy place holders at the moment -->
 
<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="500.*m"/><!--Taken from DetectorConfig.hh-->
 
 
<constant name="ci_HCAL_id" value="1"/>
 
<constant name="ci_HCAL_rin" value="10 * cm"/>
 
<constant name="ci_HCAL_rout" value="95 * cm"/>
 
<constant name="ci_HCAL_sizez" value="30 * cm"/>
 
<constant name="ci_HCAL_shiftz" value="0 * cm"/>
 
<constant name="ci_HCAL_posz" value="0 * cm"/>
 
<constant name="ci_HCAL_posx" value="0 * cm"/>
 
<constant name="ci_HCAL_nlayers" value="8"/>
 
</define>
 
 
<limits>
 
<comment>Not defined within the ci_HCAL.hh file</comment>
 
</limits>
 
 
<regions>
 
<comment>Not defined within the ci_HCAL.hh file</comment>
 
</regions>
 
 
<!-- Common Generic visualization attributes -->
 
<!-- change this -->
 
<comment>Common Generic visualization attributes</comment>
 
<display>
 
<vis name="ci_HCALVis" r= "0.8" g="0.4" b="0.3" alpha="0.8" showDaughters="true" visible="true"/>
 
</display>
 
 
<!-- Define detector, currentky dummy values -->
 
<detectors>
 
<comment>
 
Central Ion HCAL
 
</comment>
 
<detector id="ci_HCAL_id" name="ci_HCAL" type="ci_HCAL" insideTrackingVolume="false" vis="ci_HCALVis">
 
<material name="Ar10CO2"/>
 
<dimensions rmin="ci_HCAL_rin" rmax="ci_HCAL_rout" sizez="ci_HCAL_sizez" delta="ci_HCAL_shiftz" z="ci_HCAL_posz" x="ci_HCAL_posx" nlayers="ci_HCAL_nlayers"/>
 
<layer id="0" z="-sizez * 0.5 + (5 + 3. * id) * cm" inner_r="rmin + (1. + 0.5 * id) * cm" outer_r="rmax + (-25. + 2. * id) * cm" dz="1 * cm" />
 
<layer id="1" z="-sizez * 0.5 + (5 + 3. * id) * cm" inner_r="rmin + (1. + 0.5 * id) * cm" outer_r="rmax + (-25. + 2. * id) * cm" dz="1 * cm" />
 
<layer id="2" z="-sizez * 0.5 + (5 + 3. * id) * cm" inner_r="rmin + (1. + 0.5 * id) * cm" outer_r="rmax + (-25. + 2. * id) * cm" dz="1 * cm" />
 
<layer id="3" z="-sizez * 0.5 + (5 + 3. * id) * cm" inner_r="rmin + (1. + 0.5 * id) * cm" outer_r="rmax + (-25. + 2. * id) * cm" dz="1 * cm" />
 
<layer id="4" z="-sizez * 0.5 + (5 + 3. * id) * cm" inner_r="rmin + (1. + 0.5 * id) * cm" outer_r="rmax + (-25. + 2. * id) * cm" dz="1 * cm" />
 
<layer id="5" z="-sizez * 0.5 + (5 + 3. * id) * cm" inner_r="rmin + (1. + 0.5 * id) * cm" outer_r="rmax + (-25. + 2. * id) * cm" dz="1 * cm" />
 
<layer id="6" z="-sizez * 0.5 + (5 + 3. * id) * cm" inner_r="rmin + (1. + 0.5 * id) * cm" outer_r="rmax + (-25. + 2. * id) * cm" dz="1 * cm" />
 
<layer id="7" z="-sizez * 0.5 + (5 + 3. * id) * cm" inner_r="rmin + (1. + 0.5 * id) * cm" outer_r="rmax + (-25. + 2. * id) * cm" dz="1 * cm" />
 
</detector>
 
</detectors>
 
 
<plugins>
 
</plugins>
 
</lccdd>
 
\ No newline at end of file
Loading