| Summary: | G4TrajectoryOriginVolumeFilter gives verbose output when verbosity is false (G4cout outside of conditional) | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Iwan Cornelius <iwan.cornelius> |
| Component: | visualization/modeling | Assignee: | John.Allison |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | ||
| Priority: | P5 | ||
| Version: | 9.5 | ||
| Hardware: | All | ||
| OS: | All | ||
Many thanks for reporting this. Fixed for Geant4 9.6.beta. |
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.