From f8eb46ef2dc399efa533106659a574ed5e5b9d4c Mon Sep 17 00:00:00 2001 From: Rocco Liotino Date: Thu, 3 Sep 2026 10:18:42 +0200 Subject: [PATCH 1/5] Update kaptonMat to use TGeoMixture Changed kaptonMat from TGeoMaterial to TGeoMixture and defined its elements. --- .../ALICE3/TRKFT3/FT3/simulation/src/FT3Layer.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Layer.cxx b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Layer.cxx index 7fce06e029764..e05ceb96059a2 100644 --- a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Layer.cxx +++ b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Layer.cxx @@ -40,7 +40,7 @@ FT3Layer::~FT3Layer() = default; TGeoMaterial* FT3Layer::carbonFiberMat = nullptr; TGeoMedium* FT3Layer::medCarbonFiber = nullptr; -TGeoMaterial* FT3Layer::kaptonMat = nullptr; +TGeoMixture* FT3Layer::kaptonMat = nullptr; TGeoMedium* FT3Layer::kaptonMed = nullptr; TGeoMaterial* FT3Layer::waterMat = nullptr; @@ -97,7 +97,12 @@ void FT3Layer::initialize_mat() medFoam = new TGeoMedium("FT3_Foam", 1, itsFoam); foamMat = medFoam->GetMaterial(); - kaptonMat = new TGeoMaterial("Kapton (cooling pipe)", 13.84, 6.88, 1.346); + kaptonMat = new TGeoMixture("Kapton (cooling pipe)", 4, 1.346); // C22 H10 N2 O5 + + kaptonMat->DefineElement(0, 12.0107, 6, 0.5641); // Carbon + kaptonMat->DefineElement(1, 1.00794, 1, 0.2564); // Hydrogen + kaptonMat->DefineElement(2, 14.0067, 7, 0.0513); // Nitrogen + kaptonMat->DefineElement(3, 15.999, 8, 0.1282); // Oxygen kaptonMed = new TGeoMedium("Kapton (cooling pipe)", 1, kaptonMat); waterMat = new TGeoMaterial("Water", 18.01528, 8.0, 1.064); From 00411ca37a0dcfa979c0136732016b34e9aaa9ab Mon Sep 17 00:00:00 2001 From: Rocco Liotino Date: Thu, 3 Sep 2026 10:30:41 +0200 Subject: [PATCH 2/5] Change kaptonMat to TGeoMixture and define elements Updated kaptonMat from TGeoMaterial to TGeoMixture and defined its elements. --- .../ALICE3/TRKFT3/FT3/simulation/src/FT3Module.cxx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Module.cxx b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Module.cxx index d91ca5f83168e..f8842860fb52a 100644 --- a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Module.cxx +++ b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Module.cxx @@ -35,7 +35,7 @@ TGeoMedium* FT3Module::siliconMed = nullptr; TGeoMaterial* FT3Module::copperMat = nullptr; TGeoMedium* FT3Module::copperMed = nullptr; -TGeoMaterial* FT3Module::kaptonMat = nullptr; +TGeoMixture* FT3Module::kaptonMat = nullptr; TGeoMedium* FT3Module::kaptonMed = nullptr; TGeoMaterial* FT3Module::epoxyMat = nullptr; @@ -66,8 +66,13 @@ void FT3Module::initialize_materials() copperMat = new TGeoMaterial("FT3_Copper", 63.546, 29, 8.96); copperMed = new TGeoMedium("FT3_Copper", 2, copperMat); - kaptonMat = new TGeoMaterial("FT3_Kapton", 13.84, 6.88, 1.346); - kaptonMed = new TGeoMedium("FT3_Kapton", 3, kaptonMat); + TGeoMixture* kaptonMat = new TGeoMixture("FT3_Kapton", 4, 1.346); // C22 H10 N2 O5 + + kaptonMat->DefineElement(0, 12.0107, 6, 0.5641); // Carbon + kaptonMat->DefineElement(1, 1.00794, 1, 0.2564); // Hydrogen + kaptonMat->DefineElement(2, 14.0067, 7, 0.0513); // Nitrogen + kaptonMat->DefineElement(3, 15.999, 8, 0.1282); // Oxygen + kaptonMed = new TGeoMedium("FT3_Kapton",3,kaptonMat); // TODO: Check with Rene the exact type of carbon fiber carbonFiberMat = new TGeoMaterial("FT3_Carbon", 12.0107, 6, 1.8); From f8f0ac5823dbeebc30eb5d3c595c14decbd19090 Mon Sep 17 00:00:00 2001 From: Rocco Liotino Date: Thu, 3 Sep 2026 10:31:25 +0200 Subject: [PATCH 3/5] Change kaptonMat type from TGeoMaterial to TGeoMixture --- .../TRKFT3/FT3/simulation/include/FT3Simulation/FT3Layer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/include/FT3Simulation/FT3Layer.h b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/include/FT3Simulation/FT3Layer.h index 282f8fd274ec0..512326949128b 100644 --- a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/include/FT3Simulation/FT3Layer.h +++ b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/include/FT3Simulation/FT3Layer.h @@ -69,7 +69,7 @@ class FT3Layer : public TObject static TGeoMaterial* carbonFiberMat; static TGeoMedium* medCarbonFiber; - static TGeoMaterial* kaptonMat; + static TGeoMixture* kaptonMat; static TGeoMedium* kaptonMed; static TGeoMaterial* waterMat; From 0441d3e89af2fdd1945cfa725640f84dbb7844e8 Mon Sep 17 00:00:00 2001 From: Rocco Liotino Date: Thu, 3 Sep 2026 10:31:57 +0200 Subject: [PATCH 4/5] Change kaptonMat type from TGeoMaterial to TGeoMixture --- .../TRKFT3/FT3/simulation/include/FT3Simulation/FT3Module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/include/FT3Simulation/FT3Module.h b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/include/FT3Simulation/FT3Module.h index 75c1cfb7210e3..5a60850460ba2 100644 --- a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/include/FT3Simulation/FT3Module.h +++ b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/include/FT3Simulation/FT3Module.h @@ -38,7 +38,7 @@ class FT3Module static TGeoMedium* siliconMed; static TGeoMaterial* copperMat; static TGeoMedium* copperMed; - static TGeoMaterial* kaptonMat; + static TGeoMixture* kaptonMat; static TGeoMedium* kaptonMed; static TGeoMaterial* epoxyMat; static TGeoMedium* epoxyMed; From 927abc8680d471d457d0422d3e932ebe99a54344 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Thu, 3 Sep 2026 08:33:56 +0000 Subject: [PATCH 5/5] Please consider the following formatting changes --- .../Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Layer.cxx | 2 +- .../Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Module.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Layer.cxx b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Layer.cxx index e05ceb96059a2..080fcbdffa0d6 100644 --- a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Layer.cxx +++ b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Layer.cxx @@ -98,7 +98,7 @@ void FT3Layer::initialize_mat() foamMat = medFoam->GetMaterial(); kaptonMat = new TGeoMixture("Kapton (cooling pipe)", 4, 1.346); // C22 H10 N2 O5 - + kaptonMat->DefineElement(0, 12.0107, 6, 0.5641); // Carbon kaptonMat->DefineElement(1, 1.00794, 1, 0.2564); // Hydrogen kaptonMat->DefineElement(2, 14.0067, 7, 0.0513); // Nitrogen diff --git a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Module.cxx b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Module.cxx index f8842860fb52a..f659ff333d741 100644 --- a/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Module.cxx +++ b/Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Module.cxx @@ -67,12 +67,12 @@ void FT3Module::initialize_materials() copperMed = new TGeoMedium("FT3_Copper", 2, copperMat); TGeoMixture* kaptonMat = new TGeoMixture("FT3_Kapton", 4, 1.346); // C22 H10 N2 O5 - + kaptonMat->DefineElement(0, 12.0107, 6, 0.5641); // Carbon kaptonMat->DefineElement(1, 1.00794, 1, 0.2564); // Hydrogen kaptonMat->DefineElement(2, 14.0067, 7, 0.0513); // Nitrogen kaptonMat->DefineElement(3, 15.999, 8, 0.1282); // Oxygen - kaptonMed = new TGeoMedium("FT3_Kapton",3,kaptonMat); + kaptonMed = new TGeoMedium("FT3_Kapton", 3, kaptonMat); // TODO: Check with Rene the exact type of carbon fiber carbonFiberMat = new TGeoMaterial("FT3_Carbon", 12.0107, 6, 1.8);