Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IDEA] Adding the detailed version of the muon system. #322

Merged
merged 40 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7797196
Adding the builders of the muon system, including the first draft of …
mahmoudali2 Feb 15, 2024
57924a2
The first draft of xml file for the detailed version of the muon system
mahmoudali2 Feb 15, 2024
7683c3c
Describing the material of the microRWELL
mahmoudali2 Feb 15, 2024
130b37b
Adding the parameters(dimensions) of the muon system
mahmoudali2 Feb 15, 2024
6bced8a
Including the muon system into the full IDEA XML
mahmoudali2 Feb 15, 2024
12eb758
IDEA muon system description, with code details
mahmoudali2 Feb 16, 2024
a02cbb4
Including muonSystem directory into Sources
mahmoudali2 Feb 20, 2024
23dc3ad
Modifying the muon system factory to avoid overlapping between the di…
mahmoudali2 May 14, 2024
56a4383
rename muon system v01 compact file
mahmoudali2 May 14, 2024
a89b83f
Adding a new compact file for muon system
mahmoudali2 May 14, 2024
3761f5e
Definning muon system IDs and parameters
mahmoudali2 May 14, 2024
4028c21
Adding muon xml to IDEA detector geometry master file
mahmoudali2 May 14, 2024
f2fdf6d
Merge branch 'key4hep:main' into main
mahmoudali2 May 15, 2024
5da3b1f
[IDEA_o1_v03]Adding muon system to new version of IDEA
mahmoudali2 May 15, 2024
c3a5ae8
Updating IDEA Readme file with the new additions of muon system
mahmoudali2 May 20, 2024
ec06ee9
Renamming the compact file of IDEA the muon system and it's readout …
mahmoudali2 May 20, 2024
8cfba4c
Updating the names of the new muon system compact file and commenting…
mahmoudali2 May 20, 2024
d22fe4b
Updating Readme and explainning the builder more in the comments
mahmoudali2 May 20, 2024
3392f68
Re-adding the description of IDEA magentic field
mahmoudali2 May 20, 2024
3990e3a
[IDEA Muon System] Clarifying the dimensions description with more co…
mahmoudali2 May 21, 2024
1ea5d73
Merge remote-tracking branch 'Key4hep-main/main'
mahmoudali2 Jun 3, 2024
574a8c3
Renaming MuRwell materials with removing hex codes in names
mahmoudali2 Jun 3, 2024
3710df5
Removing Indentation and re-organizing the muon system builder
mahmoudali2 Jun 3, 2024
0dd7ebe
Merge branch 'key4hep:main' into main
mahmoudali2 Jun 10, 2024
cc70555
Merge branch 'key4hep:main' into main
mahmoudali2 Jun 12, 2024
609fcb1
Simplifying the calculation of detector side envelope
mahmoudali2 Jun 12, 2024
7980878
Merge branch 'key4hep:main' into main
mahmoudali2 Jun 24, 2024
931d8d1
Merge branch 'key4hep:main' into main
mahmoudali2 Jun 30, 2024
686f10e
Merge branch 'key4hep:main' into main
mahmoudali2 Jul 4, 2024
bd0518e
Refactoring Muon-System builder, and making the compact file simpler …
mahmoudali2 Jul 4, 2024
4459cfe
Refactoring Muon-system bit-field
mahmoudali2 Jul 5, 2024
df81312
Solving overlap between muon-system barrel and endcap
mahmoudali2 Jul 5, 2024
6561e02
Removing Muon system from IDEA_v02
mahmoudali2 Jul 5, 2024
f022016
Commenting muon-system builder and compact file for more details
mahmoudali2 Jul 5, 2024
1508299
Readding all sub-detectors to IDEA_v03
mahmoudali2 Jul 6, 2024
88a7f87
Update muonSystem/README.md
mahmoudali2 Jul 8, 2024
e633d89
Update FCCee/IDEA/compact/README.md
mahmoudali2 Jul 8, 2024
28c01b3
Merge branch 'key4hep:main' into main
mahmoudali2 Jul 8, 2024
9c87fcd
Fixing typo in IDEA muon-systm cmpact file
mahmoudali2 Jul 8, 2024
596911e
Fixing typo in IDEA muon-systm compact file
mahmoudali2 Jul 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ file(GLOB sources
./detector/tracker/*.cpp
./detector/calorimeter/*.cpp
./detector/fcal/*.cpp
./detector/muonSystem/*.cpp
./detector/other/*.cpp
./detector/CaloTB/*.cpp
./FCalTB/setup/*.cpp
Expand Down
36 changes: 36 additions & 0 deletions FCCee/IDEA/compact/IDEA_o1_v02/DectDimensions_IDEA_o1_v01.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@
<constant name="DetID_SiWrapper_Barrel" value=" 23"/>
<constant name="DetID_SiWrapper_Disks" value=" 24"/>

<constant name="DetID_muonSystem_Barrel_1" value=" 25"/>
<constant name="DetID_muonSystem_Barrel_2" value=" 26"/>
<constant name="DetID_muonSystem_Barrel_3" value=" 27"/>
<constant name="DetID_muonSystem_posEndcap_1" value=" 28"/>
<constant name="DetID_muonSystem_posEndcap_2" value=" 29"/>
<constant name="DetID_muonSystem_posEndcap_3" value=" 30"/>
<constant name="DetID_muonSystem_negEndcap_1" value=" 31"/>
<constant name="DetID_muonSystem_negEndcap_2" value=" 32"/>
<constant name="DetID_muonSystem_negEndcap_3" value=" 33"/>

<!-- BPW: Beam Pipe Width -->
<constant name="BPWWall" value="0.35*mm" />
<constant name="BPWCool" value="1.0*mm" />
Expand Down Expand Up @@ -212,6 +222,32 @@

<constant name="tracker_region_zmax" value="DCH_half_length"/>
<constant name="tracker_region_rmax" value="DCH_outer_radius"/>

<!-- Muon System Parameters-->

<constant name = "numberOfSides" value = "8"/> <!-- The number of sides of the muon system e.g (Octagon, Hexagon, ...)-->

<!-- Barrel -->
<constant name = "BarrelFirstLayerRadius" value = "4500*mm"/> <!-- 1st Barrel microRWELL detector inner radius-> its the start point of thicknesses of the microRWELL material. In our case the shape is Polygon, so the radius is in the middle of the polygon side. -->
<constant name = "BarrelFirstYokeRadius" value = "4620*mm"/> <!-- 1st Barrel Return-Yoke inner radius -->
<constant name = "BarrelSecondLayerRadius" value = "4920*mm"/>
<constant name = "BarrelSecondYokeRadius" value = "5040*mm"/>
<constant name = "BarrelThirdLayerRadius" value = "5340*mm"/>

<constant name = "BarrelLength" value = "9000*mm"/> <!--Barrel detector length, in the description of the detctor we always use the half-length -->
<constant name = "BarrelThirdLayerLength" value = "10920*mm"/> <!-- The third layer is longer than the other layers to cover the endcap areas (the previous value = 10520*mm)-->

<!-- Endcap -->
<constant name = "EndcapFirstLayerZOffset" value = "4500*mm"/> <!-- 1st Endcap microRWELL detector inner ZOffset-> its the start point of thicknesses of the microRWELL volume -->
<constant name = "EndcapFirstYokeZOffset" value = "4620*mm"/> <!-- 1st Endcap Return-Yoke inner ZOffset -> its the start point of thicknesses of the yoke volume -->
<constant name = "EndcapSecondLayerZOffset" value = "4920*mm"/>
<constant name = "EndcapSecondYokeZOffset" value = "5040*mm"/>
<constant name = "EndcapThirdLayerZOffset" value = "5340*mm"/>

<constant name = "EndcapLayersInnerRadius" value = "700*mm"/> <!--Endcap detector inner radius, its the start point of thicknesses of the detector material ** it applies for both detector layers and yoke-->
<constant name = "EndcapLayersOuterRadius" value = "5320*mm"/> <!--Endcap detector outer radius, its the end point of thicknesses of the detector material ** it applies for both detector layers and yoke-->

<!-- End of Muon system Parameters-->
</define>


Expand Down
5 changes: 5 additions & 0 deletions FCCee/IDEA/compact/IDEA_o1_v02/IDEA_o1_v02.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
<!-- Import silicon wrapper -->
<!-- <include ref="SiliconWrapper_o1_v01.xml"/> -->

<!-- Import muon system -->
<include ref="MuonSystem_o1_v01.xml"/>



<!-- Import solenoid -->
<include ref="Solenoid_o1_v01.xml"/>

Expand Down
322 changes: 322 additions & 0 deletions FCCee/IDEA/compact/IDEA_o1_v02/MuonSystem_o1_v01.xml

Large diffs are not rendered by default.

184 changes: 184 additions & 0 deletions FCCee/IDEA/compact/IDEA_o1_v02/materials_o1_v01.xml
Original file line number Diff line number Diff line change
Expand Up @@ -459,4 +459,188 @@
</material>
<!-- FCCeeIDEA: end of material for the drift chamber -->


<!-- FCCeeIDEA: material for the microRWELL detectors(for Muon system and Pre-shower)-->
<material name="C19-H20-O4">
<D value="1.16" unit="g/cm3" />
<composite n="19" ref="C"/>
<composite n="20" ref="H" />
<composite n="4" ref="O" />
</material>

<material name="CO2" state="gas">
<D value="0.001977" unit="g/cm3" />
<composite n="1" ref="C"/>
<composite n="2" ref="O" />
</material>

<material name="CF4" formula="CF4" state="gas">
<D value="0.00372" unit="g/cm3" />
<composite n="1" ref="C"/>
<composite n="4" ref="F"/>
</material>

<material name="ARCO2CF4" state="gas">
<D value="0.00253245" unit="g/cm3" />
<composite n="0.45" ref="Argon"/>
<composite n="0.15" ref="CO2"/>
<composite n="0.40" ref="CF4"/>
</material>

<material name="G4_Fe" state="solid">
<MEE unit="eV" value="286"/>
<D value="7.874" unit="g/cm3" />
<fraction n="1" ref="Fe"/>
</material>

<material name="G4_Si0x56335d3d1480" state="solid">
<T unit="K" value="293.15"/>
<MEE unit="eV" value="173"/>
<D unit="g/cm3" value="2.33"/>
<fraction n="1" ref="Si"/>
</material>

<isotope N="40" Z="20" name="Ca400x5633439c2580">
<atom unit="g/mole" value="39.9626"/>
</isotope>
<isotope N="42" Z="20" name="Ca420x5633439c2aa0">
<atom unit="g/mole" value="41.9586"/>
</isotope>
<isotope N="43" Z="20" name="Ca430x5633439c2b10">
<atom unit="g/mole" value="42.9588"/>
</isotope>
<isotope N="44" Z="20" name="Ca440x5633439c2ca0">
<atom unit="g/mole" value="43.9555"/>
</isotope>
<isotope N="46" Z="20" name="Ca460x5633439c2cf0">
<atom unit="g/mole" value="45.9537"/>
</isotope>
<isotope N="48" Z="20" name="Ca480x5633439c2d90">
<atom unit="g/mole" value="47.9525"/>
</isotope>
<element name="Ca0x5633439c2de0">
<fraction n="0.96941" ref="Ca400x5633439c2580"/>
<fraction n="0.00647" ref="Ca420x5633439c2aa0"/>
<fraction n="0.00135" ref="Ca430x5633439c2b10"/>
<fraction n="0.02086" ref="Ca440x5633439c2ca0"/>
<fraction n="4e-05" ref="Ca460x5633439c2cf0"/>
<fraction n="0.00187" ref="Ca480x5633439c2d90"/>
</element>
<isotope N="27" Z="13" name="Al270x5633439c2d40">
<atom unit="g/mole" value="26.9815"/>
</isotope>
<element name="Al0x5633439c3890">
<fraction n="1" ref="Al270x5633439c2d40"/>
</element>
<isotope N="24" Z="12" name="Mg240x5633439c3f90">
<atom unit="g/mole" value="23.985"/>
</isotope>
<isotope N="25" Z="12" name="Mg250x5633439c4510">
<atom unit="g/mole" value="24.9858"/>
</isotope>
<isotope N="26" Z="12" name="Mg260x5633439c4580">
<atom unit="g/mole" value="25.9826"/>
</isotope>
<element name="Mg0x5633439c4600">
<fraction n="0.7899" ref="Mg240x5633439c3f90"/>
<fraction n="0.1" ref="Mg250x5633439c4510"/>
<fraction n="0.1101" ref="Mg260x5633439c4580"/>
</element>
<isotope N="10" Z="5" name="B100x5633439b9080">
<atom unit="g/mole" value="10.0129"/>
</isotope>
<isotope N="11" Z="5" name="B110x5633439c5060">
<atom unit="g/mole" value="11.0093"/>
</isotope>
<element name="B0x5633439c50d0">
<fraction n="0.199" ref="B100x5633439b9080"/>
<fraction n="0.801" ref="B110x5633439c5060"/>
</element>
<isotope N="46" Z="22" name="Ti460x5633439c56f0">
<atom unit="g/mole" value="45.9526"/>
</isotope>
<isotope N="47" Z="22" name="Ti470x5633439c5d00">
<atom unit="g/mole" value="46.9518"/>
</isotope>
<isotope N="48" Z="22" name="Ti480x5633439c5d70">
<atom unit="g/mole" value="47.9479"/>
</isotope>
<isotope N="49" Z="22" name="Ti490x5633439c5df0">
<atom unit="g/mole" value="48.9479"/>
</isotope>
<isotope N="50" Z="22" name="Ti500x5633439c5e40">
<atom unit="g/mole" value="49.9448"/>
</isotope>
<element name="Ti0x5633439c5ee0">
<fraction n="0.0825" ref="Ti460x5633439c56f0"/>
<fraction n="0.0744" ref="Ti470x5633439c5d00"/>
<fraction n="0.7372" ref="Ti480x5633439c5d70"/>
<fraction n="0.0541" ref="Ti490x5633439c5df0"/>
<fraction n="0.0518" ref="Ti500x5633439c5e40"/>
</element>
<isotope N="23" Z="11" name="Na230x5633439c5e90">
<atom unit="g/mole" value="22.9898"/>
</isotope>
<element name="Na0x5633439c6970">
<fraction n="1" ref="Na230x5633439c5e90"/>
</element>
<isotope N="39" Z="19" name="K390x5633439c6fc0">
<atom unit="g/mole" value="38.9637"/>
</isotope>
<isotope N="40" Z="19" name="K400x5633439c74e0">
<atom unit="g/mole" value="39.964"/>
</isotope>
<isotope N="41" Z="19" name="K410x5633439c7550">
<atom unit="g/mole" value="40.9618"/>
</isotope>
<element name="K0x5633439c75d0">
<fraction n="0.932581" ref="K390x5633439c6fc0"/>
<fraction n="0.000117" ref="K400x5633439c74e0"/>
<fraction n="0.067302" ref="K410x5633439c7550"/>
</element>
<isotope N="54" Z="26" name="Fe540x5633439c7c00">
<atom unit="g/mole" value="53.9396"/>
</isotope>
<isotope N="56" Z="26" name="Fe560x5633439c80c0">
<atom unit="g/mole" value="55.9349"/>
</isotope>
<isotope N="57" Z="26" name="Fe570x5633439c8130">
<atom unit="g/mole" value="56.9354"/>
</isotope>
<isotope N="58" Z="26" name="Fe580x5633439c81b0">
<atom unit="g/mole" value="57.9333"/>
</isotope>
<element name="Fe0x5633439c8200">
<fraction n="0.05845" ref="Fe540x5633439c7c00"/>
<fraction n="0.91754" ref="Fe560x5633439c80c0"/>
<fraction n="0.02119" ref="Fe570x5633439c8130"/>
<fraction n="0.00282" ref="Fe580x5633439c81b0"/>
</element>
<isotope N="19" Z="9" name="F190x5633439c8850">
<atom unit="g/mole" value="18.9984"/>
</isotope>
<element name="F0x5633439c8db0">
<fraction n="1" ref="F190x5633439c8850"/>
</element>
<material name="G10_FR40x5633439ca570" state="solid">
<T unit="K" value="293.15"/>
<MEE unit="eV" value="97.5174862751826"/>
<D unit="g/cm3" value="1.8"/>
<fraction n="0.275294485761732" ref="C"/>
<fraction n="0.0342756035967338" ref="H"/>
<fraction n="0.360438084258819" ref="O"/>
<fraction n="0.0141585430641827" ref="N"/>
<fraction n="0.151448564740455" ref="Si"/>
<fraction n="0.0814747796865075" ref="Ca0x5633439c2de0"/>
<fraction n="0.0412815383454296" ref="Al0x5633439c3890"/>
<fraction n="0.00904554293278041" ref="Mg0x5633439c4600"/>
<fraction n="0.0139757056089465" ref="B0x5633439c50d0"/>
<fraction n="0.00287683979315724" ref="Ti0x5633439c5ee0"/>
<fraction n="0.00445114704467721" ref="Na0x5633439c6970"/>
<fraction n="0.0049808870209235" ref="K0x5633439c75d0"/>
<fraction n="0.00209827814565587" ref="Fe0x5633439c8200"/>
<fraction n="0.0042" ref="F0x5633439c8db0"/>
</material>
<!-- End of microRWELL materials -->

</materials>
27 changes: 27 additions & 0 deletions FCCee/IDEA/compact/IDEA_o1_v03/DectDimensions_IDEA_o1_v03.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<constant name="DetID_SiWrapper_Barrel" value=" 23"/>
<constant name="DetID_SiWrapper_Disks" value=" 24"/>

<constant name="DetID_muonSystem" value=" 25"/>

<!-- BPW: Beam Pipe Width -->
<constant name="BPWWall" value="0.35*mm" />
<constant name="BPWCool" value="1.0*mm" />
Expand Down Expand Up @@ -214,6 +216,21 @@

<constant name="tracker_region_zmax" value="DCH_half_length_total"/>
<constant name="tracker_region_rmax" value="DCH_outer_cyl_R_total"/>

<!-- Muon System Parameters-->

<constant name = "numberOfSides" value = "8"/> <!-- The number of sides of the muon system e.g (Octagon, Hexagon, ...)-->

<!-- Barrel -->
<constant name = "BarrelFirstLayerRadius" value = "4500*mm"/> <!-- 1st Barrel microRWELL detector inner radius-> its the start point of thicknesses of the microRWELL material. In our case the shape is Polygon, so the radius is in the middle of the polygon side. -->
<constant name = "BarrelLength" value = "9000*mm"/> <!--Barrel detector length, in the description of the detctor we always use the half-length -->
<!-- Endcap -->
<constant name = "EndcapFirstLayerZOffset" value = "4500*mm"/> <!-- 1st Endcap microRWELL detector inner ZOffset-> its the start point of thicknesses of the microRWELL volume -->
<constant name = "EndcapLayersInnerRadius" value = "700*mm"/> <!--Endcap detector inner radius, its the start point of thicknesses of the detector material ** it applies for both detector layers and yoke-->
<constant name = "EndcapLayersOuterRadius" value = "5320*mm"/> <!--Endcap detector outer radius, its the end point of thicknesses of the detector material ** it applies for both detector layers and yoke-->

<!-- End of Muon system Parameters-->

</define>


Expand Down Expand Up @@ -262,6 +279,16 @@
<vis name="GlueVis" alpha="1.0" r="1.0" g="0.75" b="0.79" showDaughters="true" visible="true"/>
<vis name="RohacellVis" alpha="1.0" r="1.0" g="1.0" b="1.0" showDaughters="true" visible="true"/>
<vis name="AirVis" alpha="0.1" r="0.1" g="0.1" b="1.0" showDaughters="false" visible="true"/>
<vis name="yoke_vis" r="255/256" g="0/256" b="0/256" alpha="1.0" showDaughters="true" visible="true" />
<vis name="no_vis" showDaughters="true" visible="false" />
<vis name="G10_FR4_vis" r="0.6" g="0.4" b="0.2" alpha="1.0" showDaughters="true" visible="true" />
<vis name="Cu_vis" r="0.8" g="0.5" b="0.2" alpha="1.0" showDaughters="true" visible="true" />
<vis name="GasLayer_vis" r="0.0" g="0.8" b="0.2" alpha="1.0" showDaughters="true" visible="true" />
<vis name="Kapton_vis" r="1.0" g="0.6" b="0.0" alpha="1.0" showDaughters="true" visible="true" />
<vis name="CarbonFiber_vis" r="0.4" g="0.4" b="0.4" alpha="1.0" showDaughters="true" visible="true" />
<vis name="Si_vis" r="0.6" g="0.6" b="0.6" alpha="1.0" showDaughters="true" visible="true" />
<vis name="Sensitive_vis" r="0.0" g="0.0" b="1.0" alpha="1.0" showDaughters="true" visible="true" />

</display>

</lccdd>
3 changes: 3 additions & 0 deletions FCCee/IDEA/compact/IDEA_o1_v03/IDEA_o1_v03.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
<!-- Import Endcap plate absorber -->
<include ref="EndPlateAbsorber_o1_v01.xml"/>

<!-- Import muon system -->
<include ref="MuonSystem_o1_v01.xml"/>

<plugins>
<plugin name="DD4hepVolumeManager"/>
<plugin name="InstallSurfaceManager"/>
Expand Down
70 changes: 70 additions & 0 deletions FCCee/IDEA/compact/IDEA_o1_v03/MuonSystem_o1_v01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>

<info name="MuonSystem"
title=" detailed version of IDEA muon system for FCC-ee"
author="Mahmoud Ali, [email protected]"
url="no"
status="development"
version="2.0">
<comment> It depends on the factory: muonSystemMuRWELL_o1_v01 </comment>
</info>

<define>
<!--- Muon System Parameters -->
<!-- %%%%%% microRWELL chamber different layers thicknesses %%%%%% -->
<constant name = "G10_FR4Thick" value = "1.6*mm"/>
<constant name = "CuThick" value = "0.035*mm"/>
<constant name = "GasLayerThick" value = "6*mm"/>
<constant name = "Cu2Thick" value = "0.005*mm"/>
<constant name = "KaptonThick" value = "0.05*mm"/>
<constant name = "CarnonFiberThick" value = "0.0001*mm"/>
<constant name = "CarbonFiber2Thick" value = "0.1*mm"/>
<constant name = "SiThick" value = "1.6*mm"/>
<constant name = "mRWELLTotalThickness" value = "G10_FR4Thick+CuThick+GasLayerThick+Cu2Thick+KaptonThick+CarnonFiberThick+CuThick+CarbonFiber2Thick+CuThick+SiThick"/> <!-- This sequense is the current order of mRWELL (total 10 slices) -->
BrieucF marked this conversation as resolved.
Show resolved Hide resolved

<constant name = "mRWELLYLength" value = "250*mm"/>
<constant name = "mRWELLZLength" value = "250*mm"/>

<constant name = "overlapingY" value = "5*mm"/> <!-- the common distance between mRWELL chambers in Y direction -->
<constant name = "overlapingZ" value = "5*mm"/> <!-- the common distance between mRWELL chambers in Z direction -->
<constant name = "clearance" value = "1*mm"/> <!-- it's a small distance to be used to avoid overlapping between the different volumes ~ 1 mm -->
<!-- %%%%%% Iron yoke thickness %%%%%% -->
<constant name = "YokeThickness" value = "300*mm"/>
</define>

<readouts>
<readout name="MuonSystemCollection">
<segmentation type="CartesianGridYZ" grid_size_y="1.2*mm" grid_size_z="1.2*mm"/> <!-- Depending on strip pitch 1.4 mm -->
<id>system:1,type:2,layer:4,chamber:15,slice:1,y:-10,z:-10</id> <!-- The bit field is divided into 2^5 systems(IDEA sub-detectors), 2^4 layers(Muon System layers"barrel and endcap layers"), 2^11 chambers(the number of muRWELL chambers in every layer), 2^1 slice(number of sensitive layers inside every chambers), and 2^10 y&z strips in every sensitive layer-->
mahmoudali2 marked this conversation as resolved.
Show resolved Hide resolved
</readout>
</readouts>

<detectors>
<!-- mRWELL envelope -->
<detector name="Muon-System" type="muonSystemMuRWELL_o1_v01" id="DetID_muonSystem" readout="MuonSystemCollection">
<envelope rmin="70" rmax="600" z="1200" z_offset="0*mm" material="Air"/>
<dimensions x="mRWELLTotalThickness/2.0" y="mRWELLYLength" z="mRWELLZLength" x_offset="0*mm" y_offset="0*mm" z_offset="0*mm" material="Air"/>
<sensitive type="tracker"/>

<!-- Specify the detector parameters and the overlap /// if you want exclude any component, e.g: endcap, just put endcapDetectorParameters=0 // radius is put in the middle, so its not the inner neither the outer -->
mahmoudali2 marked this conversation as resolved.
Show resolved Hide resolved
<generalParameters numSides="numberOfSides" overlapY="overlapingY" overlapZ="overlapingZ" clearance="clearance"/>
<Barrel numDetectorLayers ="3" rmin="BarrelFirstLayerRadius" length="BarrelLength" numYokes="2" yoke_Thickness="YokeThickness" yoke_Material="G4_Fe"/>
<Endcap numDetectorLayers="3" rmin="EndcapLayersInnerRadius" rmax="EndcapLayersOuterRadius" z_offset="EndcapFirstLayerZOffset" numYokes="2" yoke_Thickness="YokeThickness" yoke_Material="G4_Fe" />

<!-- mRWELL chamber -->
<!-- note: all thicknesses are half-lengths -->
<slice x="G10_FR4Thick/2.0" material="G10_FR4" vis="G10_FR4_vis" />
<slice x="CuThick/2.0" material="G4_Cu" vis="Cu_vis" />
<slice x="GasLayerThick/2.0" material="ARCO2CF4" sensitive="true" vis="Sensitive_vis" />
<slice x="Cu2Thick/2.0" material="G4_Cu" vis="Cu_vis" />
<slice x="KaptonThick/2.0" material="Kapton" vis="Kapton_vis" />
<slice x="CarnonFiberThick/2.0" material="CarbonFiber" vis="CarbonFiber_vis" />
mahmoudali2 marked this conversation as resolved.
Show resolved Hide resolved
<slice x="CuThick/2.0" material="G4_Cu" vis="Cu_vis" />
<slice x="CarbonFiber2Thick/2.0" material="CarbonFiber" vis="CarbonFiber_vis" />
<slice x="CuThick/2.0" material="G4_Cu" vis="Cu_vis" />
<slice x="SiThick/2.0" material="G4_Si" vis="Si_vis" />
</detector>
</detectors>

</lccdd>
Loading
Loading