EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4UIsession.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4UIsession.cc
1 #include "PHG4UIsession.h"
2 
3 #include <Geant4/G4String.hh> // for G4String
4 #include <Geant4/G4Types.hh> // for G4int
5 
6 #include <iostream> // for flush, basic_ostream, ostream, cerr, cout
7 #include <string> // for operator<<
8 
9 class G4UIsession;
10 
12  : verbosity(0)
13 {
14 }
15 
16 G4UIsession* PHG4UIsession::SessionStart() { return nullptr; }
17 
18 void PHG4UIsession::PauseSessionStart(const G4String&) { ; }
19 
20 G4int PHG4UIsession::ReceiveG4cout(const G4String& coutString)
21 {
22  // if (verbosity > 0) std::cout << coutString << std::flush;
23  std::cout << coutString << std::flush;
24  return 0;
25 }
26 
27 G4int PHG4UIsession::ReceiveG4cerr(const G4String& cerrString)
28 {
29  std::cerr << cerrString << std::flush;
30  return 0;
31 }