From f29041ce73e83e476ebc5fc7f1b1c7e953cf8fdd Mon Sep 17 00:00:00 2001
From: Alexandru Bercuci <abercuci@niham.nipne.ro>
Date: Tue, 29 Oct 2024 14:48:46 +0200
Subject: [PATCH] shorten the supports of the FEBs

---
 core/detectors/trd/CbmTrdGeoFactory.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/detectors/trd/CbmTrdGeoFactory.cxx b/core/detectors/trd/CbmTrdGeoFactory.cxx
index 827991474c..7a0a5b57d2 100644
--- a/core/detectors/trd/CbmTrdGeoFactory.cxx
+++ b/core/detectors/trd/CbmTrdGeoFactory.cxx
@@ -499,7 +499,7 @@ InitStatus ChamberBuilder::BackPanel::Init()
   }
   fHeight += hHC;
   // supports for electronics
-  TGeoBBox* faspro_fy = new TGeoBBox("faspro_fy", 1.0 / 2, 0.5 + 0.5 * sizeY, 0.5 * ChamberBuilder::FEB::FASPRO_zspace);
+  TGeoBBox* faspro_fy = new TGeoBBox("faspro_fy", 1.0 / 2, 0.5 * activeAreaY, 0.5 * ChamberBuilder::FEB::FASPRO_zspace);
   TGeoVolume* vol_faspro_fy =
     new TGeoVolume("faspro_fy", faspro_fy, cbm::trd::geo::GetMaterial("TRDG10") /*frameVolMed*/);
   vol_faspro_fy->SetLineColor(kViolet + 2);  // vol_faspro_fy->SetTransparency(50);
-- 
GitLab