Skip to content
Snippets Groups Projects

Hexagonal Preshower and sampling calorimeter

Merged Whitney Armstrong requested to merge whit/NPDet:preshower into master
7 files
+ 415
0
Compare changes
  • Side-by-side
  • Inline
Files
7
 
<lccdd>
 
<info name="GenericRICH_example"
 
title="Generic RICH detector example"
 
author="Whitney Armstrong"
 
url="https://eicweb.phy.anl.gov/EIC/NPDet"
 
status="development"
 
version="1.0"
 
>
 
<comment>A generic RICH detector</comment>
 
</info>
 
 
<includes>
 
<gdmlFile ref="elements.xml"/>
 
<gdmlFile ref="materials.xml"/>
 
</includes>
 
 
<define>
 
<constant name="world_side" value="10*m"/>
 
<constant name="world_x" value="world_side"/>
 
<constant name="world_y" value="world_side"/>
 
<constant name="world_z" value="world_side"/>
 
 
<constant name="CrossingAngle" value="0.020*rad"/>
 
<constant name="tracker_region_zmax" value="5*m"/>
 
<constant name="tracker_region_rmax" value="5*m"/>
 
</define>
 
 
<limits>
 
<limitset name="cal_limits">
 
<limit name="step_length_max" particles="*" value="5.0" unit="mm" />
 
</limitset>
 
<limitset name="GenericRICHRegionLimitSet">
 
<limit name="step_length_max" particles="*" value="1.0" unit="mm" />
 
<limit name="track_length_max" particles="*" value="1.0" unit="mm" />
 
<limit name="time_max" particles="*" value="0.1" unit="ns" />
 
<limit name="ekin_min" particles="*" value="0.001" unit="MeV" />
 
<limit name="range_min" particles="*" value="0.1" unit="mm" />
 
</limitset>
 
</limits>
 
<regions>
 
<region name="GenericRICHRegion" eunit="MeV" lunit="mm" cut="0.0001" threshold="0.0001">
 
<limitsetref name="GenericRICHRegionLimitSet"/>
 
</region>
 
</regions>
 
 
<comment>Common Generic visualization attributes</comment>
 
<display>
 
<vis name="InvisibleNoDaughters" showDaughters="false" visible="false"/>
 
<vis name="InvisibleWithDaughters" showDaughters="true" visible="false"/>
 
<vis name="GreenVis" alpha="0.5" r= "0.0" g="1.0" b="0.0" showDaughters="true" visible="true"/>
 
<vis name="RedVis" alpha="1.0" r= "1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
 
<vis name="BlueVis" alpha="1.0" r= "0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
 
<vis name="OrangeVis" alpha="0.5" r= "1.0" g="0.45" b="0.0" showDaughters="true" visible="true"/>
 
<vis name="RedGreenVis" alpha="0.5" r= "1.0" g="1.0" b="0.0" showDaughters="true" visible="true"/>
 
<vis name="BlueGreenVis" alpha="0.5" r= "0.0" g="1.0" b="1.0" showDaughters="true" visible="true"/>
 
<vis name="PurpleVis" alpha="1.0" r= "1.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
 
<vis name="DoubleRedG" alpha="0.5" r= "2.0" g=".10" b="0.0" showDaughters="true" visible="true"/>
 
<vis name="RBG015" alpha="0.5" r= "0.0" g=".2" b="1.0" showDaughters="true" visible="true"/>
 
<vis name="RBG510" alpha="0.5" r= "1.0" g=".2" b="0.0" showDaughters="true" visible="true"/>
 
<vis name="RBG" alpha="0.5" r= "1.0" g="1.0" b="1.0" showDaughters="true" visible="true"/>
 
<vis name="GrayVis" alpha="0.5" r= "0.75" g="0.75" b="0.75" showDaughters="true" visible="true"/>
 
</display>
 
 
<detectors>
 
<detector id="1" name="ShashlykECAL" type="HexagonalShashlykSamplingECAL" readout="ShashlykECALHits" vis="RedVis">
 
<module name="hex_module" side="5.0*cm" layers="194">
 
<slice name="Pb_slice" thickness="0.5*cm" number="0" material="Lead"/>
 
<slice name="Scint_slice" thickness="1.5*cm" number="1" material="PlasticScint"/>
 
<dimensions rmin="10*cm" rmax1="40*cm" rmax2="80*cm" zmin="20*cm" zmax="120*cm"/>
 
</module>
 
</detector>
 
</detectors>
 
 
<!-- Definition of the readout segmentation/definition -->
 
<readouts>
 
<readout name="ShashlykECALHits">
 
<id>system:5,sector:5,module:14,sensor:2,side:32:-2,strip:24</id>
 
</readout>
 
</readouts>
 
 
<plugins>
 
<!--
 
<plugin name="DD4hep_GenericSurfaceInstallerPlugin">
 
<argument value="ForwardRomanPot"/>
 
<argument value="dimension=2"/>
 
<argument value="u_x=-1."/>
 
<argument value="v_y=-1."/>
 
<argument value="n_z=1."/>
 
</plugin>
 
<plugin name="InstallSurfaceManager"/>
 
-->
 
</plugins>
 
 
<fields>
 
<field name="GlobalSolenoid" type="solenoid"
 
inner_field="4.0*tesla"
 
outer_field="-0.6*tesla"
 
zmax="3*m"
 
outer_radius="2*m">
 
</field>
 
</fields>
 
</lccdd>
Loading