Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Detectors/Upgrades/ALICE3/Passive/src/Pipe.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ void Alice3Pipe::ConstructGeometry()

if (!mIsTRKActivated) {
std::vector<TGeoTube*> trkLayerShapes;

std::vector<std::array<float, 3>> layersQuotas = {std::array<float, 3>{0.5f, 50.f, 50.e-4}, // TODO: Set layers dynamically. {radius, zLen, thickness}
std::array<float, 3>{1.2f, 50.f, 50.e-4},
std::array<float, 3>{2.5f, 50.f, 50.e-4}};
Expand All @@ -126,9 +127,14 @@ void Alice3Pipe::ConstructGeometry()
subtractorsFormula += Form("+TRKLAYER_%dsh", iLayer);
}
}
LOG(debug) << "Subtractors formula before: " << subtractorsFormula;

// Escavate vacuum for hosting cold plate
TGeoTube* coldPlate = new TGeoTube("TRK_COLDPLATEsh", 2.6f, 2.6f + 150.e-3, 50.f);
subtractorsFormula += "+TRK_COLDPLATEsh";

LOG(info) << "Subtractors formula before : " << subtractorsFormula;
subtractorsFormula = Form("-(%s)", subtractorsFormula.Data());
LOG(debug) << "Subtractors formula after: " << subtractorsFormula;
LOG(info) << "Subtractors formula after: " << subtractorsFormula;

outerBerylliumTubeVacuumComposite = new TGeoCompositeShape("OUT_PIPEVACUUMsh", (compositeFormula + subtractorsFormula).Data());
outerBerylliumTubeVacuumVolume = new TGeoVolume("OUT_PIPEVACUUM", outerBerylliumTubeVacuumComposite, kMedVac);
Expand Down