From 50d1fcd2edbf852cc02e3a26dcc0f71e34f6f6d5 Mon Sep 17 00:00:00 2001 From: Markus FRANK <Markus.Frank@cern.ch> Date: Tue, 13 Apr 2021 11:53:03 +0200 Subject: [PATCH] Adopt new naming convention for Geant4 assembly imprints to allow recuperation of mother/daughter copy numbers --- DDG4/src/Geant4AssemblyVolume.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DDG4/src/Geant4AssemblyVolume.cpp b/DDG4/src/Geant4AssemblyVolume.cpp index a5804f4b1..0a9dc779b 100644 --- a/DDG4/src/Geant4AssemblyVolume.cpp +++ b/DDG4/src/Geant4AssemblyVolume.cpp @@ -107,13 +107,13 @@ void Geant4AssemblyVolume::imprint(Geant4GeometryInfo& info, #endif pvName << "AV_" << GetAssemblyID() - << '#' + << '!' << parent->GetName() - << ':' + << '#' << parent->GetNumber() - << '#' + << '!' << node->GetName() - << ':' + << '#' << node->GetNumber() << std::ends; // Generate a new physical volume instance inside a mother -- GitLab