![]() |
![]() |
#include <SimG4Core/Application/interface/CustomUIsession.h>
Public Member Functions | |
CustomUIsession () | |
G4int | ReceiveG4cerr (G4String cerrString) |
G4int | ReceiveG4cout (G4String coutString) |
~CustomUIsession () | |
Protected Attributes | |
G4UImanager * | UI |
Definition at line 9 of file CustomUIsession.h.
CustomUIsession::CustomUIsession | ( | ) |
Definition at line 3 of file CustomUIsession.cc.
References UI.
00004 { 00005 00006 UI = G4UImanager::GetUIpointer(); 00007 UI->SetCoutDestination(this); 00008 00009 }
CustomUIsession::~CustomUIsession | ( | ) |
G4int CustomUIsession::ReceiveG4cerr | ( | G4String | cerrString | ) |
Definition at line 26 of file CustomUIsession.cc.
00027 { 00028 //std::cerr << cerrString << std::flush; 00029 edm::LogWarning("G4cerr") << cerrString; 00030 return 0; 00031 }
G4int CustomUIsession::ReceiveG4cout | ( | G4String | coutString | ) |
Definition at line 19 of file CustomUIsession.cc.
00020 { 00021 //std::cout << coutString << std::flush; 00022 edm::LogInfo("G4cout") << coutString; 00023 return 0; 00024 }
G4UImanager* CustomUIsession::UI [protected] |
Definition at line 22 of file CustomUIsession.h.
Referenced by CustomUIsession(), and ~CustomUIsession().