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

#include <G4IonQMDPhysics.hh>

+ Inheritance diagram for G4IonQMDPhysics:

Public Member Functions

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

Constructor & Destructor Documentation

◆ G4IonQMDPhysics() [1/2]

G4IonQMDPhysics::G4IonQMDPhysics ( G4int  verb = 0)

Definition at line 71 of file G4IonQMDPhysics.cc.

72 : G4VPhysicsConstructor("IonQMD"), verbose(ver), wasActivated(false)
73{
74 fLEDModel = 0;
75 fLETModel = 0;
76 fLEAModel = 0;
77// fTripathi = 0;
78// fTripathiLight = 0;
79// fShen = 0;
80 eminBIC = 0.*MeV;
81 eminQMD = 100.*MeV;
82 emaxQMD = 10.*GeV;
83 emaxLHEP = 1.*TeV;
84 overlap = 10*MeV;
86 if(verbose > 1) G4cout << "### G4IonQMDPhysics" << G4endl;
87}
@ bIons
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout

◆ G4IonQMDPhysics() [2/2]

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

Definition at line 89 of file G4IonQMDPhysics.cc.

91 : G4VPhysicsConstructor(name), verbose(ver), wasActivated(false)
92{
93 fLEDModel = 0;
94 fLETModel = 0;
95 fLEAModel = 0;
96// fTripathi = 0;
97// fTripathiLight = 0;
98// fShen = 0;
99 eminBIC = 0.*MeV;
100 eminQMD = 100.*MeV;
101 emaxQMD = 10.*GeV;
102 emaxLHEP = 1.*TeV;
103 overlap = 10*MeV;
105 if(verbose > 1) G4cout << "### G4IonQMDPhysics" << G4endl;
106}

◆ ~G4IonQMDPhysics()

G4IonQMDPhysics::~G4IonQMDPhysics ( )
virtual

Definition at line 108 of file G4IonQMDPhysics.cc.

109{
110 if(wasActivated) {
111// delete fTripathi;
112// delete fTripathiLight;
113// delete fShen;
114 delete fLEDModel;
115 delete fLETModel;
116 delete fLEAModel;
117 G4int i;
118 G4int n = p_list.size();
119 for(i=0; i<n; i++) {delete p_list[i];}
120 n = model_list.size();
121 for(i=0; i<n; i++) {delete model_list[i];}
122 }
123}
int G4int
Definition: G4Types.hh:66

Member Function Documentation

◆ ConstructParticle()

void G4IonQMDPhysics::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 199 of file G4IonQMDPhysics.cc.

200{
201 // Construct light ions
202 G4IonConstructor pConstructor;
203 pConstructor.ConstructParticle();
204}
static void ConstructParticle()

◆ ConstructProcess()

void G4IonQMDPhysics::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 125 of file G4IonQMDPhysics.cc.

126{
127 if(wasActivated) return;
128 wasActivated = true;
129
131 model_list.push_back(fBC);
132 G4QMDReaction* fQMD= new G4QMDReaction();
133 model_list.push_back(fQMD);
134
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(), fBC, fQMD, fLEDModel );
144 AddProcess("tInelastic",G4Triton::Triton(), fBC, fQMD, fLETModel );
145 AddProcess("He3Inelastic",G4He3::He3(), fBC, fQMD, 0 );
146 AddProcess("alphaInelastic", G4Alpha::Alpha(), fBC, fQMD, fLEAModel );
147 AddProcess("ionInelastic",G4GenericIon::GenericIon(), fBC, fQMD, 0);
148
149}
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
static G4Triton * Triton()
Definition: G4Triton.cc:95

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