Problem 409 - G4AssemblyVolume::MakeImprint() does not update the imprint number
Summary: G4AssemblyVolume::MakeImprint() does not update the imprint number
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/management (show other problems)
Version: 4.1
Hardware: All All
: P2 normal
Assignee: Radovan.Chytracek
URL:
Depends on:
Blocks:
 
Reported: 2002-09-09 15:25 CEST by novikova
Modified: 2002-09-10 05:50 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.