EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4UIsession.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4UIsession.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4MAIN_PHG4UISESSION_H
4 #define G4MAIN_PHG4UISESSION_H
5 
6 #include <Geant4/G4String.hh> // for G4String
7 #include <Geant4/G4Types.hh> // for G4int
8 #include <Geant4/G4UIsession.hh>
9 
10 class PHG4UIsession : public G4UIsession {
11 
12 public:
13  PHG4UIsession();
14  ~PHG4UIsession() override {}
15 
16  void Verbosity(int verb) {verbosity = verb;}
17 
18  G4UIsession * SessionStart() override;
19  void PauseSessionStart(const G4String& Prompt) override;
20  G4int ReceiveG4cout(const G4String& coutString) override;
21  G4int ReceiveG4cerr(const G4String& cerrString) override;
22 
23 private:
24  int verbosity;
25 
26 };
27 
28 #endif //__PHG4UISESSION_H__