55 photonEvaporation(nullptr),lab4mom(0.,0.,0.,0.)
67 delete photonEvaporation;
72 if(photonEvaporation !=
nullptr) {
return; }
79 photonEvaporation->
SetICM(
true);
108 if(M - mass <= lowestEnergyLimit) {
113 G4cout <<
"G4NeutronRadCapture::DoIt: Eini(MeV)="
116 <<
" Z= " << Z <<
" A= " << A <<
G4endl;
118 G4double e1 = (M - mass)*(M + mass)/(2*M);
121 if(cost > 1.0) {cost = 1.0;}
122 else if(cost < -1.0) {cost = -1.0;}
123 G4double sint = std::sqrt((1. - cost)*(1.0 + cost));
140 else if (Z == 2 && A == 3) {theDef =
G4He3::He3();}
145 G4cout <<
"Gamma 4-mom: " << lv2 <<
" "
161 G4double ptot = std::sqrt((etot - mass)*(etot + mass));
163 lab4mom.
set(v.
x()*ptot,v.
y()*ptot,v.
z()*ptot,etot);
169 G4cout <<
"G4NeutronRadCapture::ApplyYourself initial G4Fragmet:"
179 fv->push_back(aFragment);
180 size_t n = fv->size();
183 G4cout <<
"G4NeutronRadCapture: " << n <<
" final particle" <<
G4endl;
185 for(
size_t i=0; i<
n; ++i) {
197 else if (Z == 2 && A == 3) {theDef =
G4He3::He3();}
201 if(eexc <= minExcitation) { eexc = 0.0; }
212 <<
" Ekin(MeV)= " << etot/
MeV
221 if(timeF < 0.0) { timeF = 0.0; }
virtual ~G4NeutronRadCapture()
Hep3Vector boostVector() const
static G4double GetNuclearMass(const G4double A, const G4double Z)
G4FragmentVector * BreakUpFragment(G4Fragment *theNucleus)
static constexpr double keV
G4ParticleDefinition * GetIon(G4int Z, G4int A, G4int lvl=0)
const G4ParticleDefinition * GetParticleDefinition() const
virtual void InitialiseModel() final
virtual void SetICM(G4bool)
const G4String & GetParticleName() const
void SetStatusChange(G4HadFinalStateStatus aS)
void SetMinEnergy(G4double anEnergy)
G4IonTable * GetIonTable() const
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
G4double GetCreationTime() const
const G4LorentzVector & GetMomentum() const
HepLorentzVector & boost(double, double, double)
G4double GetKineticEnergy() const
G4double GetGlobalTime() const
std::vector< G4Fragment * > G4FragmentVector
G4DeexPrecoParameters * GetParameters()
static G4Triton * Triton()
const G4LorentzVector & Get4Momentum() const
static G4Deuteron * Deuteron()
static constexpr double eV
static constexpr double GeV
void SetTime(G4double aT)
void set(double x, double y, double z, double t)
G4double GetPDGMass() const
static G4ParticleTable * GetParticleTable()
T max(const T t1, const T t2)
brief Return the largest of the two arguments
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus) final
void SetMaxEnergy(const G4double anEnergy)
G4HadFinalState theParticleChange
static constexpr double MeV
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
virtual void Initialise()
static constexpr double TeV
static G4NuclearLevelData * GetInstance()
G4double GetMinExcitation() const
static constexpr double twopi
G4double GetExcitationEnergy() const