LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyG4UIterminal Namespace Reference

Functions

void StartUISession ()
 

Function Documentation

void pyG4UIterminal::StartUISession ( )

Definition at line 45 of file pyG4UIterminal.cc.

References session.

Referenced by export_G4UIterminal().

47 {
48  if (session == 0 ) {
49  G4UItcsh* tcsh= new
50  G4UItcsh("g4py(%s)[%/]:");
51 
52 #if G4VERSION_NUMBER >= 900
53  session= new G4UIterminal(tcsh, false);
54 #else
55  session= new G4UIterminal(tcsh);
56 #endif
57  tcsh-> SetLsColor(BLUE,RED);
58  }
59 
60  session-> SessionStart();
61 }
static G4UIterminal * session