From 9617c62586e0dbf0a50c75740e6827ce8d4287e8 Mon Sep 17 00:00:00 2001 From: Felix Schlepper Date: Tue, 14 Oct 2025 11:21:20 +0200 Subject: [PATCH 1/2] ITS3: fix IB wrapping volume length Signed-off-by: Felix Schlepper --- Detectors/Upgrades/ITS3/base/include/ITS3Base/SpecsV2.h | 2 +- .../include/ITS3Simulation/DescriptorInnerBarrelITS3.h | 2 +- Detectors/Upgrades/ITS3/simulation/src/ITS3Services.cxx | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Detectors/Upgrades/ITS3/base/include/ITS3Base/SpecsV2.h b/Detectors/Upgrades/ITS3/base/include/ITS3Base/SpecsV2.h index b56bb3fa2bd98..a7422c55e72b8 100644 --- a/Detectors/Upgrades/ITS3/base/include/ITS3Base/SpecsV2.h +++ b/Detectors/Upgrades/ITS3/base/include/ITS3Base/SpecsV2.h @@ -221,7 +221,7 @@ namespace services constexpr double thickness{2.2 * mm}; // thickness of structure constexpr double radiusInner{radiiOuter[2] + carbonfoam::thicknessOuterFoam}; // inner radius of services constexpr double radiusOuter{radiusInner + thickness}; // outer radius of services -constexpr double length{20 * cm}; // length +constexpr double length{segment::length + (1 * cm)}; // length constexpr EColor color{kBlue}; } // namespace services diff --git a/Detectors/Upgrades/ITS3/simulation/include/ITS3Simulation/DescriptorInnerBarrelITS3.h b/Detectors/Upgrades/ITS3/simulation/include/ITS3Simulation/DescriptorInnerBarrelITS3.h index 7a7d2215eb67c..80565df55d154 100644 --- a/Detectors/Upgrades/ITS3/simulation/include/ITS3Simulation/DescriptorInnerBarrelITS3.h +++ b/Detectors/Upgrades/ITS3/simulation/include/ITS3Simulation/DescriptorInnerBarrelITS3.h @@ -48,7 +48,7 @@ class DescriptorInnerBarrelITS3 : public o2::its::DescriptorInnerBarrel static constexpr double mTolerance{1e-3}; static constexpr double mWrapperMinRadiusITS3{constants::radiiInner[0] - mTolerance}; static constexpr double mWrapperMaxRadiusITS3{constants::services::radiusOuter + mTolerance}; - static constexpr double mWrapperZSpanITS3{constants::services::length + mTolerance}; + static constexpr double mWrapperZSpanITS3{constants::services::length * 2 + mTolerance}; // z length is divided in half private: std::array, constants::nLayers> mIBLayers; diff --git a/Detectors/Upgrades/ITS3/simulation/src/ITS3Services.cxx b/Detectors/Upgrades/ITS3/simulation/src/ITS3Services.cxx index e5ad6a4a1e034..dcf63f13f9bb5 100644 --- a/Detectors/Upgrades/ITS3/simulation/src/ITS3Services.cxx +++ b/Detectors/Upgrades/ITS3/simulation/src/ITS3Services.cxx @@ -30,13 +30,16 @@ void ITS3Services::createCYSSAssembly(TGeoVolume* motherVolume) motherVolume->AddNode(cyssVol, 1., nullptr); // Cylinder - auto cyssInnerCylSh = new TGeoTubeSeg(constants::services::radiusInner, constants::services::radiusOuter, constants::services::length, 180, 360); + auto cyssInnerCylSh = new TGeoTubeSeg(constants::services::radiusInner, constants::services::radiusOuter, constants::services::length / 2, 180, 360); auto medPrepreg = gGeoManager->GetMedium("IT3_AS4C200$"); auto cyssInnerCylShVol = new TGeoVolume("IBCYSSCylinder", cyssInnerCylSh, medPrepreg); + cyssInnerCylShVol->SetLineColor(constants::services::color); cyssVol->AddNode(cyssInnerCylShVol, 1, new TGeoTranslation(0, 0, 0)); cyssVol->AddNode(cyssInnerCylShVol, 2, new TGeoCombiTrans(0, 0, 0, new TGeoRotation("", 180, 0, 0))); // TODO Cone + // For now the wrapping volume just extends beyond the cylinder if something is added beyond that this volume has to + // be exteneded. } } // namespace o2::its3 From 44c3b60f1042d347b75685bbd190dfef62cc3987 Mon Sep 17 00:00:00 2001 From: Felix Schlepper Date: Sat, 18 Oct 2025 00:48:58 +0200 Subject: [PATCH 2/2] ITS3: fix service material Signed-off-by: Felix Schlepper --- Detectors/Upgrades/ITS3/simulation/src/ITS3Services.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Detectors/Upgrades/ITS3/simulation/src/ITS3Services.cxx b/Detectors/Upgrades/ITS3/simulation/src/ITS3Services.cxx index dcf63f13f9bb5..6244ea43a5ca8 100644 --- a/Detectors/Upgrades/ITS3/simulation/src/ITS3Services.cxx +++ b/Detectors/Upgrades/ITS3/simulation/src/ITS3Services.cxx @@ -31,8 +31,8 @@ void ITS3Services::createCYSSAssembly(TGeoVolume* motherVolume) // Cylinder auto cyssInnerCylSh = new TGeoTubeSeg(constants::services::radiusInner, constants::services::radiusOuter, constants::services::length / 2, 180, 360); - auto medPrepreg = gGeoManager->GetMedium("IT3_AS4C200$"); - auto cyssInnerCylShVol = new TGeoVolume("IBCYSSCylinder", cyssInnerCylSh, medPrepreg); + auto medRohacell = gGeoManager->GetMedium("IT3_RIST110$"); + auto cyssInnerCylShVol = new TGeoVolume("IBCYSSCylinder", cyssInnerCylSh, medRohacell); cyssInnerCylShVol->SetLineColor(constants::services::color); cyssVol->AddNode(cyssInnerCylShVol, 1, new TGeoTranslation(0, 0, 0)); cyssVol->AddNode(cyssInnerCylShVol, 2, new TGeoCombiTrans(0, 0, 0, new TGeoRotation("", 180, 0, 0)));