| Summary: | G4AssemblyVolume::MakeImprint() does not update the imprint number | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | novikova |
| Component: | geometry/management | Assignee: | Radovan.Chytracek |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 4.1 | ||
| Hardware: | All | ||
| OS: | All | ||
Fixed. The required method call has been added. |
The second implementation of the overridden function G4AssemblyVolume::MakeImprint() doe snot update the imprint counter. I.e., The function **** void G4AssemblyVolume::MakeImprint( G4LogicalVolume* pMotherLV, G4Transform3D& transformation, G4int copyNumBase ) **** does not have the line **** ImprintsCountPlus(); **** while the function **** void G4AssemblyVolume::MakeImprint( G4LogicalVolume* pMotherLV, G4ThreeVector& translationInMother, G4RotationMatrix* pRotationInMother, G4int copyNumBase ) **** has such a line. As a result, the name of the physical volume obtained via imprinting the assembly volume using the MakeImprint() function with three parameters stays the same for consecutive imprints, which makes it real hard to identify the volumes later on. Cheers, -- Elena.