From 64f9566ec7d93bea839c0feeefbc78c576646f52 Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Wed, 4 Dec 2024 15:22:52 +0100 Subject: [PATCH] Geant4AssemblyVolume: use the same copy ID for the Geant4 Volume as was set in DD4hep geometry construction --- DDG4/src/Geant4AssemblyVolume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDG4/src/Geant4AssemblyVolume.cpp b/DDG4/src/Geant4AssemblyVolume.cpp index 331c6aeb0..91bb1883e 100644 --- a/DDG4/src/Geant4AssemblyVolume.cpp +++ b/DDG4/src/Geant4AssemblyVolume.cpp @@ -141,7 +141,7 @@ void Geant4AssemblyVolume::imprint(const Geant4Converter& cnv, triplet.GetVolume(), pMotherLV, false, - numberOfDaughters + i, + node->GetNumber(), surfCheck ); info.g4VolumeImprints[vol].emplace_back(new_chain,pvPlaced.first);