Problem 1310

Summary: G4TrajectoryOriginVolumeFilter gives verbose output when verbosity is false (G4cout outside of conditional)
Product: Geant4 Reporter: Iwan Cornelius <iwan.cornelius>
Component: visualization/modelingAssignee: John.Allison
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P5    
Version: 9.5   
Hardware: All   
OS: All   

Description Iwan Cornelius 2012-05-03 06:54:16 CEST
The offending lines are as follows: 

00062   if (GetVerbose()) G4cout<<"G4TrajectoryOriginVolumeFilter processing trajectory with originating volume "<<G4endl;
00063   G4cout<<"logical and physical names:  "<<logicalName<<" "<<physicalName<<G4endl;

should read :

if (GetVerbose()) {

G4cout<<"G4TrajectoryOriginVolumeFilter processing trajectory with originating volume "<<G4endl;
G4cout<<"logical and physical names:  "<<logicalName<<" "<<physicalName<<G4endl;

}

I am trying to run with verbosity false; however, the logical and physical names are being printed to stdout.
Comment 1 John.Allison 2012-05-31 18:39:55 CEST
Many thanks for reporting this.
Fixed for Geant4 9.6.beta.