diff --git a/DDCore/src/Volumes.cpp b/DDCore/src/Volumes.cpp index 185f07faea6ce7567f24ac04e20fe0459b291eca..95f9fe4e7e5469db0a7b8b5f60bc1c3e6fdd9145 100644 --- a/DDCore/src/Volumes.cpp +++ b/DDCore/src/Volumes.cpp @@ -512,7 +512,7 @@ static PlacedVolume _addNode(TGeoVolume* par, TGeoVolume* daughter, TGeoMatrix* } TGeoVolume* parent = par; TObjArray* a = parent->GetNodes(); - Int_t id = 5*(a ? a->GetEntries() : 0); + Int_t id = (a ? a->GetEntries() : 0); if (transform && transform != detail::matrix::_identity()) { string nam = string(daughter->GetName()) + "_placement"; transform->SetName(nam.c_str());