Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4QIonPhysics Class Reference

#include <G4QIonPhysics.hh>

+ Inheritance diagram for G4QIonPhysics:

Public Member Functions

 G4QIonPhysics (const G4String &name="ions")
 
virtual ~G4QIonPhysics ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
virtual void ConstructParticle ()=0
 
virtual void ConstructProcess ()=0
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 

Additional Inherited Members

- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4ParticleTable::G4PTblDicIteratortheParticleIterator
 
G4PhysicsListHelperthePLHelper
 

Detailed Description

Definition at line 53 of file G4QIonPhysics.hh.

Constructor & Destructor Documentation

◆ G4QIonPhysics()

G4QIonPhysics::G4QIonPhysics ( const G4String name = "ions")

Definition at line 42 of file G4QIonPhysics.cc.

44 , fQAAInelasticProcess(0),fQAAElasticProcess(0)
45 , wasActivated(false)
46{
48}
@ bIons

◆ ~G4QIonPhysics()

virtual G4QIonPhysics::~G4QIonPhysics ( )
inlinevirtual

Definition at line 57 of file G4QIonPhysics.hh.

57{};

Member Function Documentation

◆ ConstructParticle()

void G4QIonPhysics::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 84 of file G4QIonPhysics.cc.

85 {
86 // Construct light ions
87 G4IonConstructor pConstructor;
88 pConstructor.ConstructParticle();
89 }
static void ConstructParticle()

◆ ConstructProcess()

void G4QIonPhysics::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 50 of file G4QIonPhysics.cc.

51{
52 G4ProcessManager* pManager = 0;
53 fQAAInelasticProcess = new G4QLowEnergy();
54 fQAAElasticProcess = new G4QIonIonElastic();
55
56 // Deuteron
58 pManager->AddDiscreteProcess(fQAAInelasticProcess);
59 pManager->AddDiscreteProcess(fQAAElasticProcess);
60
61 // Triton
62 pManager = G4Triton::Triton()->GetProcessManager();
63 pManager->AddDiscreteProcess(fQAAInelasticProcess);
64 pManager->AddDiscreteProcess(fQAAElasticProcess);
65
66 // He3
67 pManager = G4He3::He3()->GetProcessManager();
68 pManager->AddDiscreteProcess(fQAAInelasticProcess);
69 pManager->AddDiscreteProcess(fQAAElasticProcess);
70
71 // Alpha
72 pManager = G4Alpha::Alpha()->GetProcessManager();
73 pManager->AddDiscreteProcess(fQAAInelasticProcess);
74 pManager->AddDiscreteProcess(fQAAElasticProcess);
75
76 // GenericIon
78 pManager->AddDiscreteProcess(fQAAInelasticProcess);
79 pManager->AddDiscreteProcess(fQAAElasticProcess);
80
81 wasActivated = true;
82}
static G4Alpha * Alpha()
Definition: G4Alpha.cc:89
static G4Deuteron * Deuteron()
Definition: G4Deuteron.cc:94
static G4GenericIon * GenericIon()
Definition: G4GenericIon.cc:92
static G4He3 * He3()
Definition: G4He3.cc:94
G4ProcessManager * GetProcessManager() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4Triton * Triton()
Definition: G4Triton.cc:95

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