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

#include <G4IonINCLXXPhysics.hh>

+ Inheritance diagram for G4IonINCLXXPhysics:

Public Member Functions

 G4IonINCLXXPhysics (G4int ver=0)
 
 G4IonINCLXXPhysics (const G4String &name, G4int ver=0)
 
virtual ~G4IonINCLXXPhysics ()
 
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 59 of file G4IonINCLXXPhysics.hh.

Constructor & Destructor Documentation

◆ G4IonINCLXXPhysics() [1/2]

G4IonINCLXXPhysics::G4IonINCLXXPhysics ( G4int  ver = 0)

Definition at line 66 of file G4IonINCLXXPhysics.cc.

66 :
67 G4VPhysicsConstructor("IonINCLXX"),
68 fINCLXXIons(NULL),
69 fTripathi(NULL),
70 fTripathiLight(NULL),
71 fShen(NULL),
72 fLEDModel(NULL),
73 fLETModel(NULL),
74 fLEAModel(NULL),
75 verbose(ver), wasActivated(false)
76{
77 // INCLXX light ion maximum energy is 3.0 GeV/nucleon
78 emax_d = 2 * 3.0 * GeV;
79 emax_t = 3 * 3.0 * GeV;
80 emax_he3 = 3 * 3.0 * GeV;
81 emax_alpha = 4 * 3.0 * GeV;
82 emax = 16 * 3.0 * GeV;
83 emaxLHEP = 1.*TeV;
84 emin = 0.*MeV;
86 if(verbose > 1) G4cout << "### G4IonINCLXXPhysics" << G4endl;
87}
@ bIons
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout

◆ G4IonINCLXXPhysics() [2/2]

G4IonINCLXXPhysics::G4IonINCLXXPhysics ( const G4String name,
G4int  ver = 0 
)

Definition at line 89 of file G4IonINCLXXPhysics.cc.

92 fINCLXXIons(NULL),
93 fTripathi(NULL),
94 fTripathiLight(NULL),
95 fShen(NULL),
96 fLEDModel(NULL),
97 fLETModel(NULL),
98 fLEAModel(NULL),
99 verbose(ver), wasActivated(false)
100{
101 // INCLXX light ion maximum energy is 3.0 GeV/nucleon
102 emax_d = 2 * 3.0 * GeV;
103 emax_t = 3 * 3.0 * GeV;
104 emax_he3 = 3 * 3.0 * GeV;
105 emax_alpha = 4 * 3.0 * GeV;
106 emax = 16 * 3.0 * GeV;
107 emaxLHEP = 1.*TeV;
108 emin = 0.*MeV;
110 if(verbose > 1) G4cout << "### G4IonINCLXXPhysics" << G4endl;
111}

◆ ~G4IonINCLXXPhysics()

G4IonINCLXXPhysics::~G4IonINCLXXPhysics ( )
virtual

Definition at line 113 of file G4IonINCLXXPhysics.cc.

114{
115 if(wasActivated) {
116 delete fTripathi;
117 delete fTripathiLight;
118 delete fShen;
119 delete fLEDModel;
120 delete fLETModel;
121 delete fLEAModel;
122 G4int i;
123 G4int n = p_list.size();
124 for(i=0; i<n; i++) {delete p_list[i];}
125 delete fINCLXXIons;
126 }
127}
int G4int
Definition: G4Types.hh:66

Member Function Documentation

◆ ConstructParticle()

void G4IonINCLXXPhysics::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 182 of file G4IonINCLXXPhysics.cc.

183{
184 // Construct light ions
185 G4IonConstructor pConstructor;
186 pConstructor.ConstructParticle();
187}
static void ConstructParticle()

◆ ConstructProcess()

void G4IonINCLXXPhysics::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 129 of file G4IonINCLXXPhysics.cc.

130{
131 if(wasActivated) return;
132 wasActivated = true;
133
134 fINCLXXIons= new G4INCLXXInterface();
135 fShen = new G4IonsShenCrossSection;
136 fTripathi = new G4TripathiCrossSection;
137 fTripathiLight = new G4TripathiLightCrossSection;
138
139 fLEDModel = new G4LEDeuteronInelastic();
140 fLETModel = new G4LETritonInelastic();
141 fLEAModel = new G4LEAlphaInelastic();
142
143 AddProcess("dInelastic", G4Deuteron::Deuteron(), fINCLXXIons, fLEDModel, emax_d);
144 AddProcess("tInelastic",G4Triton::Triton(), fINCLXXIons, fLETModel, emax_t);
145 AddProcess("He3Inelastic",G4He3::He3(), fINCLXXIons, 0, emax_he3);
146 AddProcess("alphaInelastic", G4Alpha::Alpha(), fINCLXXIons, fLEAModel, emax_alpha);
147 AddProcess("ionInelastic",G4GenericIon::GenericIon(), fINCLXXIons, 0, emax);
148}
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
INCL++ intra-nuclear cascade with G4ExcitationHandler for de-excitation.
static G4Triton * Triton()
Definition: G4Triton.cc:95

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