Skip to content
Snippets Groups Projects
Commit a3188e8f authored by Zhenyu Ye's avatar Zhenyu Ye
Browse files

Debug Barrel Tof

parent f4c761af
Branches
Tags
1 merge request!84Draft: Yezhenyu btof
Pipeline #9909 failed
......@@ -3,42 +3,99 @@
<define>
<constant name="BTofRadius" value="45*cm"/>
<constant name="BTofTotalLength" value="120*cm"/>
<constant name="BTofTotalThickness" value="120*cm"/>
<constant name="BTofNModulesPhi" value="30"/>
<constant name="BTofNModulesZ" value="6"/>
<constant name="BTofModuleWidth" value="30"/>
<constant name="BTofModuleLength" value="BTofTotalLength/BTofNModulesZ"/>
<constant name="BTofThickness_PEEK" value="0.02*cm" />
<constant name="BTofThickness_Fiber1" value="0.016*cm" />
<constant name="BTofThickness_Rohacell" value="0.02*cm" />
<constant name="BTofThickness_Epoxy" value="0.0175*cm" />
<constant name="BTofThickness_Fiber2" value="0.016*cm" />
<constant name="BTofThickness_Si1" value="0.05*mm" />
<constant name="BTofThickness_SiDead1" value="0.15*mm" />
<constant name="BTofThickness_Si2" value="0.05*mm" />
<constant name="BTofThickness_Kapton" value="3*mil" />
<constant name="BTofThickness_Copper" value="0.00038*cm" />
<constant name="BTofModuleThickness" value="BTofThickness_PEEK + BTofThickness_Fiber1 + BTofThickness_Rohacell + BTofThickness_Epoxy + BTofThickness_Fiber2
+ BTofThickness_Si1 + BTofThickness_SiDead1 + BTofThickness_Si2 + BTofThickness_Kapton + BTofThickness_Copper " />
<constant name="BTofP0" value="-BTofTotalThickness/2.0 + BTofThickness_PEEK/2.0" />
<constant name="BTofP1" value="BTofP0 + BTofThickness_PEEK/2 + BTofThickness_Fiber1/2" />
<constant name="BTofP2" value="BTofP1 + BTofThickness_Fiber1/2 + BTofThickness_Rohacell/2" />
<constant name="BTofP3" value="BTofP2 + BTofThickness_Epoxy/2 + BTofThickness_Rohacell/2" />
<constant name="BTofP4" value="BTofP3 + BTofThickness_Fiber2/2 + BTofThickness_Epoxy/2 " />
<constant name="BTofP5" value="BTofP4 + BTofThickness_Si1/2+ BTofThickness_Fiber2/2 " />
<constant name="BTofP6" value="BTofP5 + BTofThickness_SiDead1/2 + BTofThickness_Si1/2" />
<constant name="BTofP7" value="BTofP6 + BTofThickness_Kapton/2+BTofThickness_SiDead1/2 " />
<constant name="BTofP8" value="BTofP7 + BTofThickness_Copper/2+BTofThickness_Kapton/2" />
</define>
<display>
</display>
<detectors>
<detector id="BTofSubAssembly_ID"
name="BTofSubAssembly"
type="DD4hep_SubdetectorAssembly"
vis="BTofSubAssemblyVis">
<composite name="BtofBarrel"/>
<composite name="BTof"/>
</detector>
<detector id="BTof_ID" name="BTof" type="refdet_BTof"
readout="BTofHits" insideTrackingVolume="true" >
<dimensions rmin="BTof_rmin" rmax="BTof_rmax" length="BTof_length"/>
<comment> Define available modules </comment>
<module name="UFSD">
<frame width="15*mm" height="3.0*mm" length="VertexTrackerBarrel_length" thickness="0.1 * mm" material="CarbonFiber_25percent" vis="BlueGreenVis" />
<module_component name="silicon" width="14.0*mm" length="VertexTrackerBarrel_length-0.1*mm"
thickness="0.05*mm" material="Silicon" sensitive="true">
<position z="-0.025*mm" y="0*mm"/>
<module_envelope width="BTofModuleWidth" length="BTofModuleLength" thickness="BTofModuleThickness"/>
<module_component width="BTofModuleWidth*0.9" length="BTofModuleLength*0.9" thickness="BTofThickness_PEEK" material="PEEK" sensitive="false">
<position x="BTofP0" />
</module_component>
<module_component width="BTofModuleWidth" length="BTofModuleLength" thickness="BTofThickness_Fiber1" material="CarbonFiber_50D" sensitive="false">
<position x="BTofP1" />
</module_component>
<module_component width="BTofModuleWidth" length="BTofModuleLength" thickness="BTofThickness_Rohacell" material="Rohacell31_50D" sensitive="false">
<position x="BTofP2" />
</module_component>
<module_component width="BTofModuleWidth" length="BTofModuleLength" thickness="BTofThickness_Epoxy" material="Epoxy" sensitive="false">
<position x="BTofP3" />
</module_component>
<module_component width="BTofModuleWidth" length="BTofModuleLength" thickness="BTofThickness_Fiber2" material="CarbonFiber_50D" sensitive="false">
<position x="BTofP4" />
</module_component>
<module_component width="BTofModuleWidth" length="BTofModuleLength" thickness="BTofThickness_Si1" material="Silicon" sensitive="true">
<position x="BTofP5" />
</module_component>
<module_component width="BTofModuleWidth" length="BTofModuleLength" thickness="BTofThickness_SiDead1" material="Silicon" sensitive="false">
<position x="BTofP6" />
</module_component>
<module_component width="BTofModuleWidth*0.9" length="BTofModuleLength*0.9" thickness="BTofThickness_Kapton*0.5" material="Kapton" sensitive="false">
<position x="BTofP7" />
</module_component>
<module_component width="BTofModuleWidth*0.9" length="BTofModuleLength*0.9" thickness="BTofThickness_Copper*0.5" material="Copper" sensitive="false">
<position x="BTofP8" />
</module_component>
</module>
<comment> Layers composed of many arrayed modules </comment>
<layer module="UFSD" id="3" vis="SiVertexVis">
<barrel_envelope inner_r="(VertexTrackerRadius2+VertexTrackerRadius3)/2"
outer_r="(VertexTrackerRadius3+VertexTrackerRadius4)/2" z_length="VertexTrackerBarrel_length"/>
<rphi_layout phi_tilt="10.0*degree" nphi="VertexTrackerNModules3" phi0="0.0" rc="VertexTrackerRadius3" dr="0.0 * mm"/>
<z_layout dr="0.0 * mm" z0="0.0 * mm" nz="1"/>
<layer module="UFSD" id="1" vis="SiVertexVis">
<barrel_envelope inner_r="BTofRadius-10*mm"
outer_r="BTofRadius+10*mm" z_length="BTof_length"/>
<rphi_layout phi_tilt="10.0*degree" nphi="BTofNModulesPhi" phi0="0.0" rc="BTofRadius" dr="0.0 * mm"/>
<z_layout dr="0.0 * mm" z0="0.0 * mm" nz="BTofNModulesZ"/>
</layer>
<layer module="BTofModule_Layer" id="1" vis="GreenVis">
<barrel_envelope inner_r="BTofRadius" outer_r="BTofRadius + 30.0*mm" z_length="BTofTotalLength +1.0*mm "/>
<rphi_layout phi_tilt="0.17506" nphi="BTofModulesNPhi" phi0="0." rc="BTofRadius + 10.0 * mm" dr="0.0 * mm"/>
<z_layout dr="4.0 * mm"
z0="BTofLength1/2 - BTofModuleLength/2"
nz="BTofNModulesZ"/>
</layer>
</detector>
......@@ -53,3 +110,4 @@
</lccdd>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment