test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CustomUIsession.h
Go to the documentation of this file.
1 #ifndef SimG4Core_CustomUIsession_H
2 #define SimG4Core_CustomUIsession_H
3 
4 #include "G4UIsession.hh"
5 #include "G4UImanager.hh"
6 
8 
9 class CustomUIsession : public G4UIsession
10 {
11 
12  public:
13 
16 
17  G4int ReceiveG4cout(const G4String& coutString) override;
18  G4int ReceiveG4cerr(const G4String& cerrString) override;
19 
20 protected:
21  std::string trim(const std::string& str);
22 };
23 
24 #endif
std::string trim(const std::string &str)
G4int ReceiveG4cerr(const G4String &cerrString) override
G4int ReceiveG4cout(const G4String &coutString) override