#include <G4QIonPhysics.hh>
Inheritance diagram for G4QIonPhysics:
Public Member Functions | |
G4QIonPhysics (const G4String &name="ions") | |
virtual | ~G4QIonPhysics () |
virtual void | ConstructParticle () |
virtual void | ConstructProcess () |
Definition at line 53 of file G4QIonPhysics.hh.
G4QIonPhysics::G4QIonPhysics | ( | const G4String & | name = "ions" |
) |
Definition at line 42 of file G4QIonPhysics.cc.
References bIons, and G4VPhysicsConstructor::SetPhysicsType().
00043 : G4VPhysicsConstructor(name) 00044 , fQAAInelasticProcess(0),fQAAElasticProcess(0) 00045 , wasActivated(false) 00046 { 00047 SetPhysicsType(bIons); 00048 }
virtual G4QIonPhysics::~G4QIonPhysics | ( | ) | [inline, virtual] |
void G4QIonPhysics::ConstructParticle | ( | ) | [virtual] |
Implements G4VPhysicsConstructor.
Definition at line 84 of file G4QIonPhysics.cc.
References G4IonConstructor::ConstructParticle().
00085 { 00086 // Construct light ions 00087 G4IonConstructor pConstructor; 00088 pConstructor.ConstructParticle(); 00089 }
void G4QIonPhysics::ConstructProcess | ( | ) | [virtual] |
Implements G4VPhysicsConstructor.
Definition at line 50 of file G4QIonPhysics.cc.
References G4ProcessManager::AddDiscreteProcess(), G4Alpha::Alpha(), G4Deuteron::Deuteron(), G4GenericIon::GenericIon(), G4ParticleDefinition::GetProcessManager(), G4He3::He3(), and G4Triton::Triton().
00051 { 00052 G4ProcessManager* pManager = 0; 00053 fQAAInelasticProcess = new G4QLowEnergy(); 00054 fQAAElasticProcess = new G4QIonIonElastic(); 00055 00056 // Deuteron 00057 pManager = G4Deuteron::Deuteron()->GetProcessManager(); 00058 pManager->AddDiscreteProcess(fQAAInelasticProcess); 00059 pManager->AddDiscreteProcess(fQAAElasticProcess); 00060 00061 // Triton 00062 pManager = G4Triton::Triton()->GetProcessManager(); 00063 pManager->AddDiscreteProcess(fQAAInelasticProcess); 00064 pManager->AddDiscreteProcess(fQAAElasticProcess); 00065 00066 // He3 00067 pManager = G4He3::He3()->GetProcessManager(); 00068 pManager->AddDiscreteProcess(fQAAInelasticProcess); 00069 pManager->AddDiscreteProcess(fQAAElasticProcess); 00070 00071 // Alpha 00072 pManager = G4Alpha::Alpha()->GetProcessManager(); 00073 pManager->AddDiscreteProcess(fQAAInelasticProcess); 00074 pManager->AddDiscreteProcess(fQAAElasticProcess); 00075 00076 // GenericIon 00077 pManager = G4GenericIon::GenericIon()->GetProcessManager(); 00078 pManager->AddDiscreteProcess(fQAAInelasticProcess); 00079 pManager->AddDiscreteProcess(fQAAElasticProcess); 00080 00081 wasActivated = true; 00082 }