Problem 2064 - G4GDMLParser::Clear() does not clear auxiliary map
Summary: G4GDMLParser::Clear() does not clear auxiliary map
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: persistency/gdml (show other problems)
Version: 10.4
Hardware: All All
: P4 minor
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2018-06-04 23:33 CEST by Wouter Deconinck
Modified: 2018-06-07 16:49 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 Wouter Deconinck 2018-06-04 23:33:30 CEST
The G4GDMLParser::Clear() method does not clear the auxiliary map information.

Suggested fix:

The following implentation of G4GDMLReadStructure::Clear() (called by G4GDMLParser::Clear()) could also include auxMap.clear().

void G4GDMLReadStructure::Clear()
{
  eval.Clear();
  setuptoPV.clear();
}
Comment 1 Gabriele Cosmo 2018-06-07 16:49:53 CEST
Thanks for spotting this. The fix is now in place in the development tree and will be available in the next patch and release.