Geant4  10.02.p03
pyPhysicsLists Namespace Reference

Functions

void AddPhysicsList (const G4String &plname)
 
void ListPhysicsList ()
 

Variables

static std::vector< std::string > plList
 

Function Documentation

◆ AddPhysicsList()

void pyPhysicsLists::AddPhysicsList ( const G4String plname)

Definition at line 69 of file pyPhysicsLists.cc.

69  {
70  plList.push_back(plname);
71 }
static std::vector< std::string > plList

◆ ListPhysicsList()

void pyPhysicsLists::ListPhysicsList ( )

Definition at line 73 of file pyPhysicsLists.cc.

73  {
74  for (G4int i=0; i< plList.size(); i++) {
75  G4cout << plList[i] << G4endl;
76  }
77 }
int G4int
Definition: G4Types.hh:78
G4GLOB_DLL std::ostream G4cout
static std::vector< std::string > plList
#define G4endl
Definition: G4ios.hh:61
Here is the caller graph for this function:

Variable Documentation

◆ plList

std::vector<std::string> pyPhysicsLists::plList
static

Definition at line 67 of file pyPhysicsLists.cc.