Problem 409

Summary: G4AssemblyVolume::MakeImprint() does not update the imprint number
Product: Geant4 Reporter: novikova
Component: geometry/managementAssignee: Radovan.Chytracek
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 4.1   
Hardware: All   
OS: All   

Description novikova 2002-09-09 15:25:07 CEST
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.
Comment 1 Radovan.Chytracek 2002-09-10 05:50:59 CEST
Fixed. The required method call has been added.