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

Functions

list f_GetStateList (G4UIcommand *acommand)
 

Function Documentation

list pyG4UIcommand::f_GetStateList ( G4UIcommand *  acommand)

Definition at line 44 of file pyG4UIcommand.cc.

Referenced by export_G4UIcommand().

45 {
46  list pyStateList;
47  std::vector<G4ApplicationState>* stateList= acommand->GetStateList();
48 
49  for( size_t i=0; i< stateList->size(); i++) {
50  pyStateList.append(&(*stateList)[i]);
51  }
52 
53  return pyStateList;
54 }