Problem 1860 - Really minor issues in G4GeneralParticleSourceMessenger
Summary: Really minor issues in G4GeneralParticleSourceMessenger
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: event (show other problems)
Version: other
Hardware: All All
: P5 trivial
Assignee: Andrea Dotti
URL:
Depends on:
Blocks:
 
Reported: 2016-05-16 17:19 CEST by Luis Sarmiento Pico
Modified: 2016-06-27 16:52 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 Luis Sarmiento Pico 2016-05-16 17:19:33 CEST
Hello,

in the file G4GeneralParticleSourceMessenger.cc there are two typos in the messages and one bug:

typo:
======
L1778:  G4cout << " A=" << fAtomicMass << "is not be defined" << G4endl;

--> should read "is not defined" <-- without "be". Also a space before "is" would be nice

typo and bug:
=============
L1825: G4cout << " A=" << fAtomicMass << "is not be defined" << G4endl;

--> Same typo as before and the print variable *SHOULD BE* fAtomicMassL <-- note the extra L at the end.

Best regards,

/Pico
Comment 1 Andrea Dotti 2016-05-16 17:35:09 CEST
Thanks Pico, I'll correct it right away.
Comment 2 Andrea Dotti 2016-06-27 16:52:41 CEST
Corrected in tag event-V10-02-03