Skip to content

Commit 0266a2b

Browse files
committed
ITS3: fix longeron length to not clip into Hring
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent a6b813f commit 0266a2b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Detectors/Upgrades/ITS3/base/include/ITS3Base/SpecsV2.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ constexpr double lengthSensitive{nRSUs * rsu::length};
102102
namespace carbonfoam
103103
{
104104
// TODO: Waiting for the further information from WP5(Corrado)
105-
constexpr double longeronsWidth{2.0 * mm}; // what is the height of the longerons?
106-
constexpr double longeronsLength{263 * mm}; // from blueprint
107105
constexpr double HringLength{6.0 * mm}; // from blueprint
106+
constexpr double longeronsWidth{2.0 * mm}; // what is the height of the longerons?
107+
constexpr double longeronsLength{segment::length - 2 * HringLength}; // 263mm from blueprint; overrriden to be consitent
108108
constexpr double edgeBetwChipAndFoam{1.0 * mm}; // from blueprint but not used cause forms are already overlapping
109109
constexpr double gapBetwHringsLongerons{0.05 * mm}; // from blueprint
110110
constexpr std::array<int, 3> nHoles{11, 11, 11}; // how many holes for each layer?

Detectors/Upgrades/ITS3/simulation/src/ITS3Layer.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ void ITS3Layer::createCarbonForm()
312312
auto zMoveHringA = new TGeoTranslation(0, 0, -constants::segment::lec::length + HringLength / 2. + constants::segment::length - HringLength);
313313

314314
// Longerons are made by same material
315-
[[maybe_unused]] auto longeronR = new TGeoTubeSeg(Form("longeronR%d", mNLayer), mRmax, mRmax + dRadius, longeronsLength / 2, phiSta, phiSta + phiLongeronsCover);
316-
[[maybe_unused]] auto longeronL = new TGeoTubeSeg(Form("longeronL%d", mNLayer), mRmax, mRmax + dRadius, longeronsLength / 2, phiEnd - phiLongeronsCover, phiEnd);
315+
[[maybe_unused]] auto longeronR = new TGeoTubeSeg(Form("longeronR%d", mNLayer), mRmax, mRmax + dRadius, longeronsLength / 2., phiSta, phiSta + phiLongeronsCover);
316+
[[maybe_unused]] auto longeronL = new TGeoTubeSeg(Form("longeronL%d", mNLayer), mRmax, mRmax + dRadius, longeronsLength / 2., phiEnd - phiLongeronsCover, phiEnd);
317317
TString nameLongerons = Form("longeronR%d + longeronL%d", mNLayer, mNLayer);
318318
auto longerons = new TGeoCompositeShape(nameLongerons);
319319
auto longeronsVol = new TGeoVolume(Form("longerons%d", mNLayer), longerons, mCarbon);

0 commit comments

Comments
 (0)