Skip to content
Snippets Groups Projects

Draft: Yezhenyu btof

Closed
Zhenyu Yerequested to merge
yezhenyu-btof into master
1 open thread

Files

<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<define>
<constant name="BTofRadius" value="45*cm"/>
<constant name="BTofTotalLength" value="120*cm"/>
<constant name="BTofTotalThickness" value="10*mm"/>
<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="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">
<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="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>
</detectors>
<readouts>
<readout name="BTofHits">
<segmentation type="CartesianGridXY" grid_size_x="0.20*mm" grid_size_y="0.20*mm" />
<id>system:8,barrel:2,layer:4,module:12,sensor:2,x:32:-16,y:-16</id>
</readout>
</readouts>
</lccdd>
Loading