File indexing completed on 2025-08-05 08:18:11
0001
0002
0003 #ifndef G4MAIN_PHG4UISESSION_H
0004 #define G4MAIN_PHG4UISESSION_H
0005
0006 #include <Geant4/G4String.hh> // for G4String
0007 #include <Geant4/G4Types.hh> // for G4int
0008 #include <Geant4/G4UIsession.hh>
0009
0010 class PHG4UIsession : public G4UIsession
0011 {
0012 public:
0013 PHG4UIsession();
0014 ~PHG4UIsession() override {}
0015
0016 void Verbosity(int verb) { verbosity = verb; }
0017
0018 G4UIsession* SessionStart() override;
0019 void PauseSessionStart(const G4String& Prompt) override;
0020 G4int ReceiveG4cout(const G4String& coutString) override;
0021 G4int ReceiveG4cerr(const G4String& cerrString) override;
0022
0023 private:
0024 int verbosity;
0025 };
0026
0027 #endif