Message: G4cout in messenger class Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4cout in messenger class 

Forum: (Graphical) User Interfaces
Date: 26 Jul, 2016
From: Steve Quillin <Steve Quillin>


I have a messenger class attached to my PrimaryGeneratorAction class and though it seems to work, it does not display any output from G4cout. There is no error message at compile or run time, just no output. std::cout used instead of G4cout works as expected. I've spent ages trying to track down errors in my code that turned out to be just a lack of expected messages in output. (I'm trying to print a message to screen after applying a command to PrimaryGeneratorAction from the messenger. )

I presume I'm either missing something or being stupid somewhere. Or is this expected behaviour? Any advice?



Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: G4cout in messenger class   (=?UTF-8?B?5YiY55Ge55Ge?= - 26 Jul, 2016)
2 None: Re: G4cout in messenger class   (Youming Yang - 26 Jul, 2016)
3 None: Re: G4cout in messenger class   (Brian Fisher - 12 Oct, 2017)
 Add Message Add Message
to: "G4cout in messenger class"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]