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

#include <G4UnstableFragmentBreakUp.hh>

+ Inheritance diagram for G4UnstableFragmentBreakUp:

Public Member Functions

 G4UnstableFragmentBreakUp ()
 
virtual ~G4UnstableFragmentBreakUp ()
 
virtual G4bool BreakUpChain (G4FragmentVector *, G4Fragment *) final
 
virtual G4double GetEmissionProbability (G4Fragment *fragment) final
 
void SetVerbose (G4int val)
 
- Public Member Functions inherited from G4VEvaporationChannel
 G4VEvaporationChannel (const G4String &aName="")
 
virtual ~G4VEvaporationChannel ()
 
virtual G4double GetEmissionProbability (G4Fragment *theNucleus)=0
 
virtual void Initialise ()
 
virtual G4double GetLifeTime (G4Fragment *theNucleus)
 
virtual G4FragmentEmittedFragment (G4Fragment *theNucleus)
 
virtual G4bool BreakUpChain (G4FragmentVector *theResult, G4Fragment *theNucleus)
 
G4FragmentVectorBreakUpFragment (G4Fragment *theNucleus)
 
virtual void Dump () const
 
virtual void SetICM (G4bool)
 
virtual void RDMForced (G4bool)
 
void SetOPTxs (G4int opt)
 
void UseSICB (G4bool use)
 

Additional Inherited Members

- Protected Attributes inherited from G4VEvaporationChannel
G4int OPTxs
 
G4bool useSICB
 

Detailed Description

Definition at line 56 of file G4UnstableFragmentBreakUp.hh.

Constructor & Destructor Documentation

◆ G4UnstableFragmentBreakUp()

G4UnstableFragmentBreakUp::G4UnstableFragmentBreakUp ( )
explicit

Definition at line 58 of file G4UnstableFragmentBreakUp.cc.

58 : fVerbose(1)
59{
61 for(G4int i=0; i<6; ++i) {
62 masses[i] = G4NucleiProperties::GetNuclearMass(Afr[i], Zfr[i]);
63 }
64}
int G4int
Definition: G4Types.hh:85
static G4NuclearLevelData * GetInstance()
static G4double GetNuclearMass(const G4double A, const G4double Z)

◆ ~G4UnstableFragmentBreakUp()

G4UnstableFragmentBreakUp::~G4UnstableFragmentBreakUp ( )
virtual

Definition at line 66 of file G4UnstableFragmentBreakUp.cc.

67{}

Member Function Documentation

◆ BreakUpChain()

G4bool G4UnstableFragmentBreakUp::BreakUpChain ( G4FragmentVector results,
G4Fragment nucleus 
)
finalvirtual

Reimplemented from G4VEvaporationChannel.

Definition at line 69 of file G4UnstableFragmentBreakUp.cc.

71{
72 //G4cout << "G4UnstableFragmentBreakUp::EmittedFragment" << G4endl;
73 G4Fragment* frag = nullptr;
74
75 G4int Z = nucleus->GetZ_asInt();
76 G4int A = nucleus->GetA_asInt();
77
78 G4LorentzVector lv = nucleus->GetMomentum();
79 G4double time = nucleus->GetCreationTime();
80
81 G4double mass1(0.0), mass2(0.0);
82
83 // look for the decay channel with normal masses
84 // without Coulomb barrier and paring corrections
85 // 1 - recoil, 2 - emitted light ion
86 if(fVerbose > 1) {
87 G4cout << "#Unstable decay " << " Z= " << Z << " A= " << A
88 << " Eex(MeV)= " << nucleus->GetExcitationEnergy() << G4endl;
89 }
90 const G4double tolerance = 10*CLHEP::eV;
91 const G4double dmlimit = 0.2*CLHEP::MeV;
92 G4double mass = lv.mag();
93 G4double exca = -1000.0;
94 G4bool isChannel = false;
95 G4int idx = -1;
96 for(G4int i=0; i<6; ++i) {
97 G4int Zres = Z - Zfr[i];
98 G4int Ares = A - Afr[i];
99 if(Zres >= 0 && Ares >= Zres && Ares >= Afr[i]) {
100 if(Ares <= 4) {
101 for(G4int j=0; j<6; ++j) {
102 if(Zres == Zfr[j] && Ares == Afr[j]) {
103 /*
104 G4cout << "i= " << i << " j= " << j << " Zres= " << Zres
105 << " Ares= " << Ares << " dm= " << mass - masses[i] - masses[j]
106 << G4endl;
107 */
108 G4double delm = mass - masses[i] - masses[j];
109 if(delm > exca) {
110 mass2 = masses[i]; // emitted
111 mass1 = masses[j]; // recoil
112 exca = delm;
113 idx = i;
114 if(delm > 0.0) { isChannel = true; }
115 break;
116 }
117 }
118 }
119 }
120 if(isChannel) { break; }
121 // no simple channel
123 G4double e = mass - mres - masses[i];
124 // select excited state
125 const G4LevelManager* lman = fLevelData->GetLevelManager(Zres, Ares);
126 if(lman && e >= 0.0) {
127 mass2 = masses[i];
128 mass1 = mres + e*G4UniformRand();
129 idx = i;
130 isChannel = true;
131 break;
132 }
133 // if physical channel is not identified
134 // check excitation energy
135 if(e > exca) {
136 mass2 = masses[i];
137 mass1 = mres;
138 if(e > 0.0) { mass1 += e; }
139 exca = e;
140 idx = i;
141 }
142 }
143 }
144 G4double massmin = mass1 + mass2;
145 if(mass < massmin) {
146 if(mass + dmlimit < massmin) { return false; }
147 if(fVerbose > 1) {
148 G4cout << "#Unstable decay correction: Z= " << Z << " A= " << A
149 << " idx= " << idx
150 << " deltaM(MeV)= " << mass - massmin
151 << G4endl;
152 }
153 mass = massmin;
154 G4double e = std::max(lv.e(), mass + tolerance);
155 G4double mom = std::sqrt((e - mass)*(e + mass));
156 G4ThreeVector dir = lv.vect().unit();
157 lv.set(dir*mom, e);
158 }
159
160 // compute energy of light fragment
161 G4double e2 = 0.5*((mass - mass1)*(mass + mass1) + mass2*mass2)/mass;
162 e2 = std::max(e2, mass2);
163 G4double mom = std::sqrt((e2 - mass2)*(e2 + mass2));
164
165 // sample decay
166 G4ThreeVector bst = lv.boostVector();
168 G4LorentzVector mom2 = G4LorentzVector(v*mom, e2);
169 mom2.boost(bst);
170 frag = new G4Fragment(Afr[idx], Zfr[idx], mom2);
171 frag->SetCreationTime(time);
172 results->push_back(frag);
173
174 // residual
175 lv -= mom2;
176 Z -= Zfr[idx];
177 A -= Afr[idx];
178
179 nucleus->SetZandA_asInt(Z, A);
180 nucleus->SetMomentum(lv);
181 return true;
182}
double A(double temperature)
CLHEP::HepLorentzVector G4LorentzVector
G4ThreeVector G4RandomDirection()
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
#define G4UniformRand()
Definition: Randomize.hh:52
Hep3Vector unit() const
Hep3Vector boostVector() const
HepLorentzVector & boost(double, double, double)
Hep3Vector vect() const
void set(double x, double y, double z, double t)
G4double GetExcitationEnergy() const
Definition: G4Fragment.hh:275
const G4LorentzVector & GetMomentum() const
Definition: G4Fragment.hh:299
G4double GetCreationTime() const
Definition: G4Fragment.hh:440
G4int GetZ_asInt() const
Definition: G4Fragment.hh:263
void SetCreationTime(G4double time)
Definition: G4Fragment.hh:445
void SetMomentum(const G4LorentzVector &value)
Definition: G4Fragment.hh:304
void SetZandA_asInt(G4int Znew, G4int Anew)
Definition: G4Fragment.hh:268
G4int GetA_asInt() const
Definition: G4Fragment.hh:258
const G4LevelManager * GetLevelManager(G4int Z, G4int A)

Referenced by G4Evaporation::BreakFragment().

◆ GetEmissionProbability()

G4double G4UnstableFragmentBreakUp::GetEmissionProbability ( G4Fragment fragment)
finalvirtual

Implements G4VEvaporationChannel.

Definition at line 184 of file G4UnstableFragmentBreakUp.cc.

185{
186 return 0.0;
187}

◆ SetVerbose()

void G4UnstableFragmentBreakUp::SetVerbose ( G4int  val)
inline

Definition at line 69 of file G4UnstableFragmentBreakUp.hh.

69{ fVerbose = val; }

Referenced by G4Evaporation::InitialiseChannels().


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