LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
pyG4UIterminal Namespace Reference

Functions

void StartUISession ()
 

Function Documentation

void pyG4UIterminal::StartUISession ( )

Definition at line 46 of file pyG4UIterminal.cc.

References session.

Referenced by export_G4UIterminal().

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