Problem 1610 - Clutter: G4PSCylinderSurfaceCurrent::ProcessHits is writing position information to G4cout
Summary: Clutter: G4PSCylinderSurfaceCurrent::ProcessHits is writing position informat...
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: digits_hits/detector (show other problems)
Version: other
Hardware: All All
: P5 enhancement
Assignee: asai
URL:
Depends on:
Blocks:
 
Reported: 2014-04-15 09:29 CEST by Peter Jansson
Modified: 2014-04-27 03:13 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Peter Jansson 2014-04-15 09:29:06 CEST
Version: 10.00, patch 01.
File: G4PSCylinderSurfaceCurrent.cc
Line number: 101

Current line:
G4cout << " pos " << preStep->GetPosition() <<" dirFlag " << G4endl;

It clutters the terminal and take resources from the machine when writing to standard output. Can this line be removed or perhaps be conditioned on high enough verbosity level? 

Best regards,
Peter.
Comment 1 asai 2014-04-27 03:13:46 CEST
Thanks for reporting this mistake. The fix will be included in the next patch release.