Skip to content

Commit b492c83

Browse files
[ALICE 3] Fix extrusions in TOF and forward tracker (FT3)
1 parent cafa4ce commit b492c83

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Detectors/Upgrades/ALICE3/FT3/simulation/src/FT3Layer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ void FT3Layer::createLayer(TGeoVolume* motherVolume)
390390
std::string separationLayerName = "FT3SeparationLayer" + std::to_string(mDirection) + std::to_string(mLayerNumber);
391391

392392
TGeoMedium* medAir = gGeoManager->GetMedium("FT3_AIR$");
393-
TGeoTube* layer = new TGeoTube(mInnerRadius, mOuterRadius, 12 * mChipThickness / 2); // additional "thickness factor" is to avoid sub-volumes crossing the mother layer
393+
TGeoTube* layer = new TGeoTube(mInnerRadius-0.1, mOuterRadius+0.1, 1.5); // Add a little additional room in radius; Try with 1.5 cm thickness
394394
TGeoVolume* layerVol = new TGeoVolume(mLayerName.c_str(), layer, medAir);
395395
layerVol->SetLineColor(kYellow + 2);
396396

Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Layer.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ void ITOFLayer::createLayer(TGeoVolume* motherVolume)
159159
const double staveSizeY = mOuterRadius - mInnerRadius; // cm
160160
const double staveSizeZ = mZLength; // cm
161161
const double deltaForTilt = 0.5 * (std::sin(TMath::DegToRad() * mTiltAngle) * staveSizeX + std::cos(TMath::DegToRad() * mTiltAngle) * staveSizeY); // we increase the size of the layer to account for the tilt of the staves
162-
TGeoTube* layer = new TGeoTube(mInnerRadius - deltaForTilt, mOuterRadius + deltaForTilt, mZLength / 2);
162+
TGeoTube* layer = new TGeoTube(mInnerRadius - deltaForTilt, mOuterRadius + deltaForTilt + 0.1, mZLength / 2 );
163163
TGeoVolume* layerVol = new TGeoVolume(mLayerName.c_str(), layer, medAir);
164164
setLayerStyle(layerVol);
165165

@@ -291,7 +291,7 @@ void OTOFLayer::createLayer(TGeoVolume* motherVolume)
291291
const double staveSizeY = mOuterRadius - mInnerRadius; // cm
292292
const double staveSizeZ = mZLength; // cm
293293
const double deltaForTilt = 0.5 * (std::sin(TMath::DegToRad() * mTiltAngle) * staveSizeX + std::cos(TMath::DegToRad() * mTiltAngle) * staveSizeY); // we increase the size of the layer to account for the tilt of the staves
294-
TGeoTube* layer = new TGeoTube(mInnerRadius - deltaForTilt, mOuterRadius + deltaForTilt, mZLength / 2);
294+
TGeoTube* layer = new TGeoTube(mInnerRadius - deltaForTilt, mOuterRadius + deltaForTilt + 0.1, mZLength / 2);
295295
TGeoVolume* layerVol = new TGeoVolume(mLayerName.c_str(), layer, medAir);
296296
setLayerStyle(layerVol);
297297

@@ -445,4 +445,4 @@ void BTOFLayer::createLayer(TGeoVolume* motherVolume)
445445
}
446446

447447
} // namespace iotof
448-
} // namespace o2
448+
} // namespace o2

Detectors/Upgrades/ALICE3/TRK/simulation/src/TRKLayer.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ void TRKMLLayer::createLayer(TGeoVolume* motherVolume)
217217
{
218218
TGeoMedium* medAir = gGeoManager->GetMedium("TRK_AIR$");
219219
TGeoTube* layer = new TGeoTube(mInnerRadius - 0.333 * sLogicalVolumeThickness, mInnerRadius + 0.667 * sLogicalVolumeThickness, mLength / 2);
220+
LOG(info) << "Create Layer " << mLayerName.c_str() << " inner " << mInnerRadius << " log vol thick " << sLogicalVolumeThickness;
220221
TGeoVolume* layerVol = new TGeoVolume(mLayerName.c_str(), layer, medAir);
221222
layerVol->SetLineColor(kYellow);
222223

@@ -334,4 +335,4 @@ void TRKOTLayer::createLayer(TGeoVolume* motherVolume)
334335
// ClassImp(TRKLayer);
335336

336337
} // namespace trk
337-
} // namespace o2
338+
} // namespace o2

0 commit comments

Comments
 (0)