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

Functions

list f_GetStateList (G4UIcommand *acommand)
 

Function Documentation

list pyG4UIcommand::f_GetStateList ( G4UIcommand *  acommand)

Definition at line 43 of file pyG4UIcommand.cc.

Referenced by export_G4UIcommand().

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