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

#include <G4GEMChannelVI.hh>

+ Inheritance diagram for G4GEMChannelVI:

Public Member Functions

 G4GEMChannelVI (G4int theA, G4int theZ)
 
 ~G4GEMChannelVI () final
 
G4double GetEmissionProbability (G4Fragment *theNucleus) final
 
G4FragmentEmittedFragment (G4Fragment *theNucleus) final
 
void Dump () const final
 
- 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 40 of file G4GEMChannelVI.hh.

Constructor & Destructor Documentation

◆ G4GEMChannelVI()

G4GEMChannelVI::G4GEMChannelVI ( G4int  theA,
G4int  theZ 
)
explicit

Definition at line 41 of file G4GEMChannelVI.cc.

42 : A(theA), Z(theZ)
43{
45 pairingCorrection = nData->GetPairingCorrection();
46 const G4LevelManager* lManager = nullptr;
47 if(A > 4) { lManager = nData->GetLevelManager(Z, A); }
49 evapMass2 = evapMass*evapMass;
50
51 cBarrier = new G4CoulombBarrier(A, Z);
52 fProbability = new G4GEMProbabilityVI(A, Z, lManager);
53
54 resA = resZ = fragZ = fragA = 0;
55 mass = resMass = 0.0;
56}
const G4LevelManager * GetLevelManager(G4int Z, G4int A)
G4PairingCorrection * GetPairingCorrection()
static G4NuclearLevelData * GetInstance()
static G4double GetNuclearMass(const G4double A, const G4double Z)

◆ ~G4GEMChannelVI()

G4GEMChannelVI::~G4GEMChannelVI ( )
final

Definition at line 58 of file G4GEMChannelVI.cc.

59{
60 delete cBarrier;
61 delete fProbability;
62}

Member Function Documentation

◆ Dump()

void G4GEMChannelVI::Dump ( ) const
finalvirtual

Reimplemented from G4VEvaporationChannel.

Definition at line 122 of file G4GEMChannelVI.cc.

123{}

◆ EmittedFragment()

G4Fragment * G4GEMChannelVI::EmittedFragment ( G4Fragment theNucleus)
finalvirtual

Reimplemented from G4VEvaporationChannel.

Definition at line 94 of file G4GEMChannelVI.cc.

95{
96 // assumed, that TotalProbability(...) was already called
97 // if value iz zero no possiblity to sample final state
98 G4Fragment* evFragment = nullptr;
99 G4LorentzVector lv0 = theNucleus->GetMomentum();
100 if(resA <= 4 || fProbability->GetProbability() == 0.0) {
101 G4double ekin =
102 std::max(0.5*(mass*mass - resMass*resMass + evapMass2)/mass
103 - evapMass, 0.0);
104 G4LorentzVector lv(std::sqrt(ekin*(ekin + 2.0*evapMass))
105 *G4RandomDirection(), ekin + evapMass);
106 lv.boost(lv0.boostVector());
107 evFragment = new G4Fragment(A, Z, lv);
108 lv0 -= lv;
109 } else {
110 evFragment = fProbability->SampleEvaporationFragment();
111 G4LorentzVector lv = evFragment->GetMomentum();
112 lv.boost(lv0.boostVector());
113 evFragment->SetMomentum(lv);
114 lv0 -= lv;
115 }
116 theNucleus->SetZandA_asInt(resZ, resA);
117 theNucleus->SetMomentum(lv0);
118
119 return evFragment;
120}
G4ThreeVector G4RandomDirection()
double G4double
Definition: G4Types.hh:83
Hep3Vector boostVector() const
HepLorentzVector & boost(double, double, double)
const G4LorentzVector & GetMomentum() const
Definition: G4Fragment.hh:299
void SetMomentum(const G4LorentzVector &value)
Definition: G4Fragment.hh:304
void SetZandA_asInt(G4int Znew, G4int Anew)
Definition: G4Fragment.hh:268
G4Fragment * SampleEvaporationFragment()

◆ GetEmissionProbability()

G4double G4GEMChannelVI::GetEmissionProbability ( G4Fragment theNucleus)
finalvirtual

Implements G4VEvaporationChannel.

Definition at line 64 of file G4GEMChannelVI.cc.

65{
66 fProbability->ResetProbability();
67 fragZ = fragment->GetZ_asInt();
68 fragA = fragment->GetA_asInt();
69 resZ = fragZ - Z;
70 resA = fragA - A;
71 if(resA < A || resA < resZ || resZ < 0 || (resA == A && resZ < Z)) {
72 return 0.0;
73 }
74
75 const G4double exc = fragment->GetExcitationEnergy();
76 const G4double delta0 =
77 std::max(pairingCorrection->GetPairingCorrection(fragA, fragZ),0.0);
78 if(exc < delta0) { return 0.0; }
79
80 resMass = G4NucleiProperties::GetNuclearMass(resA, resZ);
81 const G4double fragM = fragment->GetGroundStateMass() + exc;
82 const G4double CB = cBarrier->GetCoulombBarrier(resA, resZ, exc);
83
84 const G4double delta1 =
85 std::max(0.0,pairingCorrection->GetPairingCorrection(resA,resZ));
86 if(fragM <= resMass + CB + delta1) { return 0.0; }
87
88 fProbability->SetDecayKinematics(resZ, resA, resMass, fragM);
89 G4double prob = fProbability->ComputeTotalProbability(*fragment, CB);
90 //G4cout<<"G4EvaporationChannel: probability= "<< prob <<G4endl;
91 return prob;
92}
G4double ComputeTotalProbability(const G4Fragment &, G4double CB)
G4double GetPairingCorrection(G4int A, G4int Z) const
virtual G4double GetCoulombBarrier(G4int ARes, G4int ZRes, G4double U) const =0
void SetDecayKinematics(G4int Z, G4int A, G4double rmass, G4double fmass)

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