Problem 1404

Summary: G4eeTo3PiModel destructor too verbose
Product: Geant4 Reporter: JochemSnuverink <jochem.snuverink>
Component: processes/electromagneticAssignee: Vladimir.Ivantchenko
Status: RESOLVED FIXED    
Severity: minor CC: jochem.snuverink
Priority: P5    
Version: 9.6   
Hardware: All   
OS: All   

Description JochemSnuverink 2012-12-10 08:44:17 CET
Hi,

The destructor of G4eeTo3PiModel has a G4cout. This will print some superfluous lines:

 79 G4eeTo3PiModel::~G4eeTo3PiModel()
 80 {
 81   G4cout << "### G4eeTo3PiModel::~G4eeTo3PiModel: gmax= "
 82    << gmax << " gcash= " << gcash << G4endl;
 83 }

Could the G4cout be removed or at least put to a lower printing level?

Cheers, Jochem
Comment 1 Vladimir.Ivantchenko 2012-12-10 21:05:00 CET
Hello,
Thanks for pointing out to the bug. The fix will be available with the first patch to 9.6.
Have you check on physics performance of the model?

VI
Comment 2 JochemSnuverink 2012-12-11 00:14:45 CET
Hi,

Thanks for the quick fix. I recently took over a Geant4 based code (BDSIM). Unfortunately, I am not yet in a state where I can check on the physics performance.

Cheers, Jochem