Skip to content
Snippets Groups Projects
Commit 84f6c07e authored by Eoin Clerkin's avatar Eoin Clerkin Committed by Florian Uhlig
Browse files

Bring in rich_v25a

make defualt for electron setup. Creation macro is moved to geometry repo. Overlap exception added.

Move rich creation macro

To be consistant with other macros, moved to geo repo.x

Rebase to master and simon

Update Geometry hash

after merging rich_v25a

Update geometry hash

Disable codeowners

Revert "Disable codeowners"

This reverts commit 2d9d0603.
parent e552e8a1
No related branches found
No related tags found
1 merge request!2071introduce rich_v25a
Pipeline #34615 passed
set(GEOMETRY_VERSION 2e1b1fa34d0a404938ee37aee94297f6db5ef1a4)
set(GEOMETRY_VERSION 26dd3073599c5bce731fbb566acec5d691deac4e)
set(GEOMETRY_SRC_URL "https://git.cbm.gsi.de/CbmSoft/cbmroot_geometry.git")
download_project_if_needed(PROJECT Geometry_source
......
......@@ -210,6 +210,7 @@ std::vector<std::pair<std::string, std::string>> cbm_dets_overlaps_sampling = {
{"belt_assembly_1: node belt_part3_156 overlapping belt_part4_157", "between parts of belt in RICH (s300e)"},
{"belt: node belt2_1 overlapping belt4_1", "between parts of belt in RICH v23"},
{"shielding_box: node shielding_box_1 overlapping shieling_wing_1", "between shielding box parts (RICH internal)"},
{"shielding_box: node shielding_box_part_1 overlapping shieling_wing_1", "shield box parts rich_v25a"},
{"MVDscripted: node station_S0_1/heatsink_S0_1/heatsinkpart_2_2 overlapping top_bottom_plate_2",
"between heatsink and bottom plate (internal to MVD)"},
{"TwoStation: node station_S0_1/heatsink_S0_1/heatsinkpart_2_2 overlapping top_bottom_plate_2",
......
/* Copyright (C) 2022-2025 UGiessen/GSI, Giessen/Darmstadt
SPDX-License-Identifier: GPL-3.0-only
Authors: Semen Lebedev [committer], Simon Neuhaus */
void create_rich_geo()
{
RichGeoCreator* geoCreator = new RichGeoCreator();
//geoCreator->SetGeoName("rich_v25a");
geoCreator->SetVolumeColors(false);
geoCreator->Create();
// Add (dummy) translation to geo file
TFile* geoFile = new TFile((geoCreator->GetGeoName() + ".geo.root?reproducible").c_str(), "UPDATE");
TGeoTranslation* translation = new TGeoTranslation("rich_trans", 0., 0., 0.);
translation->Write();
geoFile->Close();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment