GEARS
Geant4 Example Application with Rich features and Small footprints
Public Member Functions | List of all members
RunManager Class Reference

Place to put all building blocks together. More...

Inheritance diagram for RunManager:

Public Member Functions

 RunManager ()
 
 ~RunManager ()
 
void SetNewValue (G4UIcommand *cmd, G4String value)
 for UI More...
 
void InitializePhysics ()
 set physics list if it is not specified explicitly More...
 

Detailed Description

Place to put all building blocks together.

Definition at line 614 of file gears.cc.

Constructor & Destructor Documentation

§ RunManager()

RunManager::RunManager ( )
inline

Definition at line 620 of file gears.cc.

620  : G4RunManager(), G4UImessenger(), fFactory(0) {
621  SetUserInitialization(new Detector); // needed for /run/initialize
622  fCmdPhys = new G4UIcmdWithAString("/physics_lists/select",this);
623  fCmdPhys->SetGuidance("Select a physics list");
624  fCmdPhys->SetGuidance("Candidates are specified in G4PhysListFactory.cc");
625  fCmdPhys->SetParameterName("name of a physics list", false);
626  fCmdPhys->AvailableForStates(G4State_PreInit);
627  }
Construct detector geometry.
Definition: gears.cc:401

§ ~RunManager()

RunManager::~RunManager ( )
inline

Definition at line 628 of file gears.cc.

628 { delete fCmdPhys; delete fFactory; }

Member Function Documentation

§ InitializePhysics()

void RunManager::InitializePhysics ( )
inline

set physics list if it is not specified explicitly

Definition at line 641 of file gears.cc.

§ SetNewValue()

void RunManager::SetNewValue ( G4UIcommand *  cmd,
G4String  value 
)
inline

for UI

Definition at line 630 of file gears.cc.


The documentation for this class was generated from the following file: