Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
solid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
detectors
solid
Commits
11f72a14
Commit
11f72a14
authored
May 17, 2024
by
Chao Peng
Browse files
Options
Downloads
Patches
Plain Diff
split materials into regular materials and optical materials for better readability
parent
6109b1aa
No related branches found
No related tags found
No related merge requests found
Pipeline
#92465
passed with warnings
May 17, 2024
Stage: build
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
compact/materials.xml
+0
-160
0 additions, 160 deletions
compact/materials.xml
compact/optics.xml
+155
-0
155 additions, 0 deletions
compact/optics.xml
solid.xml
+2
-1
2 additions, 1 deletion
solid.xml
with
157 additions
and
161 deletions
compact/materials.xml
+
0
−
160
View file @
11f72a14
...
@@ -2,86 +2,6 @@
...
@@ -2,86 +2,6 @@
<!-- Copyright (C) 2024 Chao Peng, Whitney Armstrong -->
<!-- Copyright (C) 2024 Chao Peng, Whitney Armstrong -->
<lccdd>
<lccdd>
<properties>
<matrix
name=
"RINDEX__Vacuum"
coldim=
"2"
values=
"
1.0*eV 1.0
5.1*eV 1.0
"
/>
<matrix
name=
"RINDEX__Air"
coldim=
"2"
values=
"
1.0*eV 1.00029
5.1*eV 1.00029
"
/>
<matrix
name=
"RINDEX__Quartz"
coldim=
"2"
values=
"
1.0*eV 1.46
5.1*eV 1.46
"
/>
<matrix
name=
"RINDEX__N2"
coldim=
"2"
values=
"
1.0*eV 1.00033
4.0*eV 1.00033
5.1*eV 1.00033
"
/>
<matrix
name=
"RINDEX__Pyrex"
coldim=
"2"
values=
"
1.0*eV 1.5
4.0*eV 1.5
5.1*eV 1.5
"
/>
<matrix
name=
"ABSLENGTH__Pyrex"
coldim=
"2"
values=
"
1.0*eV 10.0*cm
4.0*eV 10.0*cm
5.1*eV 10.0*cm
"
/>
<comment>
Absorption length is caculated using transmittance values for 2 mm thickness (crystan standard UV grade) from
https://www.crystran.co.uk/optical-materials/sapphire-al2o3
F = ((n - 1) * (n - 1)) / ((n + 1) * (n + 1))
Absorption length = (-1 / ln(transmittance + 2*F)) * 2 mm
where:
F - Fresnel reflection coefficient
n - Refractive index of Sapphire
</comment>
<matrix
name=
"REFLECTIVITY_LGCMirror"
coldim=
"2"
values=
"
1.0*eV 0.8
4.0*eV 0.8
5.1*eV 0.8
"
/>
<matrix
name=
"RINDEX__Aerogel"
coldim=
"2"
values=
"
1.0*eV 1.030
4.0*eV 1.030
5.1*eV 1.030
"
/>
<matrix
name=
"ABSLENGTH__Aerogel"
coldim=
"2"
values=
"
1.0*eV 4.0*cm
4.0*eV 4.0*cm
5.1*eV 4.0*cm
"
/>
<matrix
name=
"RINDEX__Acrylic"
coldim=
"2"
values=
"
1240*eV/1100 1.49
1240*eV/600 1.49
1240*eV/400 1.49
"
/>
<matrix
name=
"ABSLENGTH__Acrylic"
coldim=
"2"
values=
"
1240*eV/1100 2631*mm
1240*eV/1000 2631*mm
1240*eV/900 2631*mm
1240*eV/800 2631*mm
1240*eV/700 2500*mm
1240*eV/600 2272*mm
1240*eV/500 2000*mm
1240*eV/400 1315*mm
1240*eV/300 1613*mm
1240*eV/250 740*mm
1240*eV/225 125*mm
1240*eV/210 10*mm
1240*eV/200 0*mm
"
/>
</properties>
<materials>
<materials>
<material
name=
"Air"
>
<material
name=
"Air"
>
<D
type=
"density"
unit=
"g/cm3"
value=
"0.0012"
/>
<D
type=
"density"
unit=
"g/cm3"
value=
"0.0012"
/>
...
@@ -89,79 +9,6 @@
...
@@ -89,79 +9,6 @@
<fraction
n=
"0.234"
ref=
"O"
/>
<fraction
n=
"0.234"
ref=
"O"
/>
<fraction
n=
"0.012"
ref=
"Ar"
/>
<fraction
n=
"0.012"
ref=
"Ar"
/>
</material>
</material>
<material
name=
"AirOptical"
>
<D
type=
"density"
unit=
"g/cm3"
value=
"0.0012"
/>
<fraction
n=
"0.754"
ref=
"N"
/>
<fraction
n=
"0.234"
ref=
"O"
/>
<fraction
n=
"0.012"
ref=
"Ar"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__Air"
/>
<property
name=
"ABSLENGTH"
coldim=
"2"
values=
"1*eV 200*m 5*eV 200*m"
/>
</material>
<material
name=
"Vacuum"
>
<D
type=
"density"
unit=
"g/cm3"
value=
"0.0000000001"
/>
<fraction
n=
"0.754"
ref=
"N"
/>
<fraction
n=
"0.234"
ref=
"O"
/>
<fraction
n=
"0.012"
ref=
"Ar"
/>
</material>
<material
name=
"VacuumOptical"
>
<D
type=
"density"
unit=
"g/cm3"
value=
"0.0000000001"
/>
<fraction
n=
"0.754"
ref=
"N"
/>
<fraction
n=
"0.234"
ref=
"O"
/>
<fraction
n=
"0.012"
ref=
"Ar"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__Vacuum"
/>
<property
name=
"ABSLENGTH"
coldim=
"2"
values=
"1*eV 2000*m 5*eV 2000*m"
/>
</material>
<material
name=
"N2Optical"
>
<D
type=
"density"
value=
"0.00125"
unit=
"g/cm3"
/>
<composite
n=
"1"
ref=
"N"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__N2"
/>
</material>
<material
name=
"PyrexGlassOptical"
>
<D
type=
"density"
value=
"2.23"
unit=
"g/cm3"
/>
<fraction
n=
"0.806"
ref=
"SiliconOxide"
/>
<fraction
n=
"0.130"
ref=
"BoronOxide"
/>
<fraction
n=
"0.040"
ref=
"SodiumOxide"
/>
<fraction
n=
"0.023"
ref=
"AluminumOxide"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__Pyrex"
/>
<property
name=
"ABSLENGTH"
ref=
"ABSLENGTH__Pyrex"
/>
</material>
<material
name=
"AerogelOptical"
>
<D
value=
"0.2"
unit=
"g / cm3"
/>
<fraction
n=
"0.625"
ref=
"SiliconOxide"
/>
<fraction
n=
"0.374"
ref=
"SiliconOxide"
/>
<fraction
n=
"0.001"
ref=
"C"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__Aerogel"
/>
<property
name=
"ABSLENGTH"
ref=
"ABSLENGTH__Aerogel"
/>
</material>
<material
name=
"AcrylicOptical"
>
<D
type=
"density"
value=
"1.18"
unit=
"g/cm3"
/>
<composite
n=
"5"
ref=
"C"
/>
<composite
n=
"2"
ref=
"O"
/>
<composite
n=
"8"
ref=
"H"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__Acrylic"
/>
<property
name=
"ABSLENGTH"
ref=
"ABSLENGTH__Acrylic"
/>
</material>
<material
name=
"leadtungsten_optical"
>
<D
type=
"density"
value=
"8.3"
unit=
"g / cm3"
/>
<composite
n=
"1"
ref=
"Pb"
/>
<composite
n=
"1"
ref=
"W"
/>
<composite
n=
"4"
ref=
"O"
/>
<property
name=
"RINDEX"
coldim=
"2"
values=
"1.551*eV 2.4
3.545*eV 2.40"
/>
<property
name=
"ABSLENGTH"
coldim=
"2"
values=
"1.551*eV 200.0*cm
3.545*eV 200.0*cm"
/>
<property
name=
"SCINTILLATIONYIELD1"
value=
"200.0/MeV"
/>
<property
name=
"SCINTILLATIONTIMECONSTANT1"
value=
"6.0*ns"
/>
<property
name=
"RESOLUTIONSCALE"
value=
"1.0"
/>
</material>
<material
name=
"Air"
>
<D
type=
"density"
unit=
"g/cm3"
value=
"0.0012"
/>
<fraction
n=
"0.754"
ref=
"N"
/>
<fraction
n=
"0.234"
ref=
"O"
/>
<fraction
n=
"0.012"
ref=
"Ar"
/>
</material>
<!-- default RHIC vacuum is 1e-9 mbar == 1e-15 g/cm3 -->
<!-- default RHIC vacuum is 1e-9 mbar == 1e-15 g/cm3 -->
<material
name=
"Vacuum"
>
<material
name=
"Vacuum"
>
<D
type=
"density"
unit=
"g/cm3"
value=
"1e-15"
/>
<D
type=
"density"
unit=
"g/cm3"
value=
"1e-15"
/>
...
@@ -670,11 +517,4 @@
...
@@ -670,11 +517,4 @@
<composite
n=
"474"
ref=
"C"
/>
<composite
n=
"474"
ref=
"C"
/>
</material>
</material>
</materials>
</materials>
<surfaces>
<opticalsurface
finish=
"polished"
model=
"glisur"
name=
"MirrorOpticalSurface"
type=
"dielectric_metal"
value=
"0"
>
<property
name=
"REFLECTIVITY"
ref=
"REFLECTIVITY_LGCMirror"
/>
<property
name=
"RINDEX"
coldim=
"2"
values=
"1.034*eV 1.5 4.136*eV 1.5"
/>
<!--<property name="EFFICIENCY" ref="EFFICIENCY0x8b77240"/>-->
</opticalsurface>
</surfaces>
</lccdd>
</lccdd>
This diff is collapsed.
Click to expand it.
compact/optics.xml
0 → 100644
+
155
−
0
View file @
11f72a14
<!-- SPDX-License-Identifier: LGPL-3.0-or-later -->
<!-- Copyright (C) 2024 Chao Peng, Whitney Armstrong -->
<lccdd>
<properties>
<matrix
name=
"RINDEX__Vacuum"
coldim=
"2"
values=
"
1.0*eV 1.0
5.1*eV 1.0
"
/>
<matrix
name=
"RINDEX__Air"
coldim=
"2"
values=
"
1.0*eV 1.00029
5.1*eV 1.00029
"
/>
<matrix
name=
"RINDEX__Quartz"
coldim=
"2"
values=
"
1.0*eV 1.46
5.1*eV 1.46
"
/>
<matrix
name=
"RINDEX__N2"
coldim=
"2"
values=
"
1.0*eV 1.00033
4.0*eV 1.00033
5.1*eV 1.00033
"
/>
<matrix
name=
"RINDEX__Pyrex"
coldim=
"2"
values=
"
1.0*eV 1.5
4.0*eV 1.5
5.1*eV 1.5
"
/>
<matrix
name=
"ABSLENGTH__Pyrex"
coldim=
"2"
values=
"
1.0*eV 10.0*cm
4.0*eV 10.0*cm
5.1*eV 10.0*cm
"
/>
<comment>
Absorption length is caculated using transmittance values for 2 mm thickness (crystan standard UV grade) from
https://www.crystran.co.uk/optical-materials/sapphire-al2o3
F = ((n - 1) * (n - 1)) / ((n + 1) * (n + 1))
Absorption length = (-1 / ln(transmittance + 2*F)) * 2 mm
where:
F - Fresnel reflection coefficient
n - Refractive index of Sapphire
</comment>
<matrix
name=
"REFLECTIVITY_LGCMirror"
coldim=
"2"
values=
"
1.0*eV 0.8
4.0*eV 0.8
5.1*eV 0.8
"
/>
<matrix
name=
"RINDEX__Aerogel"
coldim=
"2"
values=
"
1.0*eV 1.030
4.0*eV 1.030
5.1*eV 1.030
"
/>
<matrix
name=
"ABSLENGTH__Aerogel"
coldim=
"2"
values=
"
1.0*eV 4.0*cm
4.0*eV 4.0*cm
5.1*eV 4.0*cm
"
/>
<matrix
name=
"RINDEX__Acrylic"
coldim=
"2"
values=
"
1240*eV/1100 1.49
1240*eV/600 1.49
1240*eV/400 1.49
"
/>
<matrix
name=
"ABSLENGTH__Acrylic"
coldim=
"2"
values=
"
1240*eV/1100 2631*mm
1240*eV/1000 2631*mm
1240*eV/900 2631*mm
1240*eV/800 2631*mm
1240*eV/700 2500*mm
1240*eV/600 2272*mm
1240*eV/500 2000*mm
1240*eV/400 1315*mm
1240*eV/300 1613*mm
1240*eV/250 740*mm
1240*eV/225 125*mm
1240*eV/210 10*mm
1240*eV/200 0*mm
"
/>
</properties>
<materials>
<material
name=
"AirOptical"
>
<D
type=
"density"
unit=
"g/cm3"
value=
"0.0012"
/>
<fraction
n=
"0.754"
ref=
"N"
/>
<fraction
n=
"0.234"
ref=
"O"
/>
<fraction
n=
"0.012"
ref=
"Ar"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__Air"
/>
<property
name=
"ABSLENGTH"
coldim=
"2"
values=
"1*eV 200*m 5*eV 200*m"
/>
</material>
<material
name=
"VacuumOptical"
>
<D
type=
"density"
unit=
"g/cm3"
value=
"0.0000000001"
/>
<fraction
n=
"0.754"
ref=
"N"
/>
<fraction
n=
"0.234"
ref=
"O"
/>
<fraction
n=
"0.012"
ref=
"Ar"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__Vacuum"
/>
<property
name=
"ABSLENGTH"
coldim=
"2"
values=
"1*eV 2000*m 5*eV 2000*m"
/>
</material>
<material
name=
"N2Optical"
>
<D
type=
"density"
value=
"0.00125"
unit=
"g/cm3"
/>
<composite
n=
"1"
ref=
"N"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__N2"
/>
</material>
<material
name=
"PyrexGlassOptical"
>
<D
type=
"density"
value=
"2.23"
unit=
"g/cm3"
/>
<fraction
n=
"0.806"
ref=
"SiliconOxide"
/>
<fraction
n=
"0.130"
ref=
"BoronOxide"
/>
<fraction
n=
"0.040"
ref=
"SodiumOxide"
/>
<fraction
n=
"0.023"
ref=
"AluminumOxide"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__Pyrex"
/>
<property
name=
"ABSLENGTH"
ref=
"ABSLENGTH__Pyrex"
/>
</material>
<material
name=
"AerogelOptical"
>
<D
value=
"0.2"
unit=
"g / cm3"
/>
<fraction
n=
"0.625"
ref=
"SiliconOxide"
/>
<fraction
n=
"0.374"
ref=
"SiliconOxide"
/>
<fraction
n=
"0.001"
ref=
"C"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__Aerogel"
/>
<property
name=
"ABSLENGTH"
ref=
"ABSLENGTH__Aerogel"
/>
</material>
<material
name=
"AcrylicOptical"
>
<D
type=
"density"
value=
"1.18"
unit=
"g/cm3"
/>
<composite
n=
"5"
ref=
"C"
/>
<composite
n=
"2"
ref=
"O"
/>
<composite
n=
"8"
ref=
"H"
/>
<property
name=
"RINDEX"
ref=
"RINDEX__Acrylic"
/>
<property
name=
"ABSLENGTH"
ref=
"ABSLENGTH__Acrylic"
/>
</material>
<material
name=
"leadtungsten_optical"
>
<D
type=
"density"
value=
"8.3"
unit=
"g / cm3"
/>
<composite
n=
"1"
ref=
"Pb"
/>
<composite
n=
"1"
ref=
"W"
/>
<composite
n=
"4"
ref=
"O"
/>
<property
name=
"RINDEX"
coldim=
"2"
values=
"1.551*eV 2.4
3.545*eV 2.40"
/>
<property
name=
"ABSLENGTH"
coldim=
"2"
values=
"1.551*eV 200.0*cm
3.545*eV 200.0*cm"
/>
<property
name=
"SCINTILLATIONYIELD1"
value=
"200.0/MeV"
/>
<property
name=
"SCINTILLATIONTIMECONSTANT1"
value=
"6.0*ns"
/>
<property
name=
"RESOLUTIONSCALE"
value=
"1.0"
/>
</material>
</materials>
<surfaces>
<opticalsurface
finish=
"polished"
model=
"glisur"
name=
"MirrorOpticalSurface"
type=
"dielectric_metal"
value=
"0"
>
<property
name=
"REFLECTIVITY"
ref=
"REFLECTIVITY_LGCMirror"
/>
<property
name=
"RINDEX"
coldim=
"2"
values=
"1.034*eV 1.5 4.136*eV 1.5"
/>
<!--<property name="EFFICIENCY" ref="EFFICIENCY0x8b77240"/>-->
</opticalsurface>
</surfaces>
</lccdd>
This diff is collapsed.
Click to expand it.
solid.xml
+
2
−
1
View file @
11f72a14
...
@@ -13,7 +13,8 @@
...
@@ -13,7 +13,8 @@
<!-- materials -->
<!-- materials -->
<includes>
<includes>
<gdmlFile
ref=
"${DD4hepINSTALL}/DDDetectors/compact/elements.xml"
/>
<gdmlFile
ref=
"${DD4hepINSTALL}/DDDetectors/compact/elements.xml"
/>
<File
ref=
"compact/materials.xml"
/>
<file
ref=
"compact/materials.xml"
/>
<file
ref=
"compact/optics.xml"
/>
</includes>
</includes>
<!-- default limits setting -->
<!-- default limits setting -->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment