Skip to content

Commit 00411ca

Browse files
authored
Change kaptonMat to TGeoMixture and define elements
Updated kaptonMat from TGeoMaterial to TGeoMixture and defined its elements.
1 parent f8eb46e commit 00411ca

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Module.cxx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ TGeoMedium* FT3Module::siliconMed = nullptr;
3535
TGeoMaterial* FT3Module::copperMat = nullptr;
3636
TGeoMedium* FT3Module::copperMed = nullptr;
3737

38-
TGeoMaterial* FT3Module::kaptonMat = nullptr;
38+
TGeoMixture* FT3Module::kaptonMat = nullptr;
3939
TGeoMedium* FT3Module::kaptonMed = nullptr;
4040

4141
TGeoMaterial* FT3Module::epoxyMat = nullptr;
@@ -66,8 +66,13 @@ void FT3Module::initialize_materials()
6666
copperMat = new TGeoMaterial("FT3_Copper", 63.546, 29, 8.96);
6767
copperMed = new TGeoMedium("FT3_Copper", 2, copperMat);
6868

69-
kaptonMat = new TGeoMaterial("FT3_Kapton", 13.84, 6.88, 1.346);
70-
kaptonMed = new TGeoMedium("FT3_Kapton", 3, kaptonMat);
69+
TGeoMixture* kaptonMat = new TGeoMixture("FT3_Kapton", 4, 1.346); // C22 H10 N2 O5
70+
71+
kaptonMat->DefineElement(0, 12.0107, 6, 0.5641); // Carbon
72+
kaptonMat->DefineElement(1, 1.00794, 1, 0.2564); // Hydrogen
73+
kaptonMat->DefineElement(2, 14.0067, 7, 0.0513); // Nitrogen
74+
kaptonMat->DefineElement(3, 15.999, 8, 0.1282); // Oxygen
75+
kaptonMed = new TGeoMedium("FT3_Kapton",3,kaptonMat);
7176

7277
// TODO: Check with Rene the exact type of carbon fiber
7378
carbonFiberMat = new TGeoMaterial("FT3_Carbon", 12.0107, 6, 1.8);

0 commit comments

Comments
 (0)