Skip to content
Snippets Groups Projects
Commit c25124a0 authored by Eoin Clerkin's avatar Eoin Clerkin Committed by Pierre-Alain Loizeau
Browse files

Remove RICH fake vol

Strange zero size volume were found to cause segfault for MacOS systems. Documented in https://redmine.cbm.gsi.de/issues/2759
and MR !1126. Updates hash with geometry binary.
parent 29348a20
No related branches found
No related tags found
1 merge request!1139Remove RICH fake vol
Pipeline #24518 passed
set(GEOMETRY_VERSION 094a4d3da7ec28cf9c6cbee77c2353c4272a141c)
set(GEOMETRY_VERSION d79a333771897924445d1102f68985af4c9d51da)
set(GEOMETRY_SRC_URL "https://git.cbm.gsi.de/CbmSoft/cbmroot_geometry.git")
......
/* Copyright (C) 2022-2022 UGiessen/GSI, Giessen/Darmstadt
/* Copyright (C) 2022-2023 UGiessen/GSI, Giessen/Darmstadt
SPDX-License-Identifier: GPL-3.0-only
Authors: Semen Lebedev [committer] */
Authors: Semen Lebedev [committer], Eoin Clerkin*/
#include "RichGeoCreator.h"
......@@ -260,14 +260,6 @@ TGeoVolumeAssembly* RichGeoCreator::CreateMirror()
TGeoVolumeAssembly* mHalf = new TGeoVolumeAssembly("mirror_half");
//TODO: This is a very strange bug, the first volume which is added to mirror_half is not properly read in simulation
// Workaround: create fake volume wth material RichGlass and add it first.
// The volume is placed outside of acceptance and has basically 0 volume
// You can visualize box, just change dimensions to smth like TGeoBBox(20., 20., 20.)
TGeoBBox* fakeBox = new TGeoBBox("fake_box", 0.0, 0.0, 0.0);
TGeoVolume* fakeVol = new TGeoVolume("fake_vol", fakeBox, medGlass);
mHalf->AddNode(fakeVol, 1, MakeTrans(280., 0., 70.));
for (int t = 0; t < 4; t++) {
TGeoVolume* mVol = nullptr;
if (t == 1) mVol = mVolType1;
......
......@@ -35,7 +35,7 @@ public:
private:
RichGeoMaterials fMaterials;
std::string fGeoName = "rich";
std::string fGeoName = "rich_v23a";
bool fAddShieldingBox = true;
bool fSetVolumeColors = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment