Skip to content

Commit 48ac643

Browse files
authored
Fix the vertical position of IB FPC resistors (#15876)
1 parent 5f6b5b7 commit 48ac643

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

‎Detectors/ITSMFT/ITS/simulation/src/V3Layer.cxx‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ TGeoVolume* V3Layer::createModuleInnerB(const Double_t xchip, const Double_t zch
595595
{
596596
//
597597
// Creates the FPC and glue volumes
598-
// (zimilar to previous method, except the Chips)
598+
// (similar to previous method, except the Chips)
599599
//
600600
// Input:
601601
// xchip : the Chip width
@@ -700,6 +700,16 @@ void V3Layer::createIBCapacitors(TGeoVolume* modvol, Double_t zchip, Double_t yz
700700
//
701701
// Adds the capacitors to the IB FPC
702702
//
703+
// Input:
704+
// modvol : the IB module mother volume
705+
// zchip : the chip half Z length
706+
// yzero : the Y base position of capacitors
707+
// mgr : the GeoManager
708+
//
709+
// Output:
710+
//
711+
// Return:
712+
//
703713
// Created: 13 Feb 2018 Mario Sitta
704714
// Updated: 03 Apr 2019 Mario Sitta Fix positions (180' rotation)
705715
// Updated: 31 Oct 2025 Mario Sitta Fix dimensions and weight
@@ -833,6 +843,7 @@ void V3Layer::createIBCapacitors(TGeoVolume* modvol, Double_t zchip, Double_t yz
833843

834844
// Place the resistors
835845
xpos = xResist;
846+
ypos = yzero + sIBFlexResistorYHi / 2;
836847
for (Int_t j = 0; j < nResist; j++) {
837848
zpos = zResist[j];
838849
modvol->AddNode(resistor, j + 1, new TGeoTranslation(-xpos, ypos, -zpos));

0 commit comments

Comments
 (0)