diff --git a/DDG4/src/Geant4AssemblyVolume.cpp b/DDG4/src/Geant4AssemblyVolume.cpp index 91bb1883ecabbedf35902a9e59ffb3f39e15e784..fe60c5d401c4b1d043ee3be6b03b44c8f4274833 100644 --- a/DDG4/src/Geant4AssemblyVolume.cpp +++ b/DDG4/src/Geant4AssemblyVolume.cpp @@ -82,10 +82,7 @@ void Geant4AssemblyVolume::imprint(const Geant4Converter& cnv, TGeoVolume* vol = parent->GetVolume(); G4AssemblyVolume* par_ass = pParentAssembly->m_assembly; Geant4GeometryInfo& info = cnv.data(); - unsigned int numberOfDaughters = (copyNumBase == 0) ? pMotherLV->GetNoDaughters() : copyNumBase; - // We start from the first available index - numberOfDaughters++; _Wrap::imprintsCountPlus(par_ass); path = detail::tools::placementPath(chain);