Problem 1310 - G4TrajectoryOriginVolumeFilter gives verbose output when verbosity is false (G4cout outside of conditional)
Summary: G4TrajectoryOriginVolumeFilter gives verbose output when verbosity is false (...
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: visualization/modeling (show other problems)
Version: 9.5
Hardware: All All
: P5 trivial
Assignee: John.Allison
URL:
Depends on:
Blocks:
 
Reported: 2012-05-03 06:54 CEST by Iwan Cornelius
Modified: 2012-05-31 18:39 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 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.