64 lowestEnergyLimit(1.0e-11*
CLHEP::eV),
65 minExcitation(0.1*
CLHEP::keV),
67 emaxT(fManagerHP->GetMaxEnergyDoppler()),
76 if (fLocalPE) {
delete photonEvaporation; }
81 if (photonEvaporation !=
nullptr) {
return; }
87 if (
nullptr != handler)
88 photonEvaporation = handler->GetPhotonEvaporation();
95 if (
nullptr == photonEvaporation) {
100 photonEvaporation->
SetICM(
true);
124 G4double factT = T/CLHEP::STP_Temperature;
127 lab4mom.
set(0.,0.,0.,mass);
129 G4double lambda = 1.0/(CLHEP::k_Boltzmann*T);
130 G4double erand = G4RandGamma::shoot(2.0, lambda);
132 lab4mom.
set(mom.x(), mom.y(), mom.z(), mass + erand);
147 G4cout <<
"G4NeutronRadCaptureHP::DoIt: Eini(MeV)="
148 << ekin/MeV <<
" Eexc(MeV)= "
150 <<
" Z= " << Z <<
" A= " <<
A <<
G4endl;
152 if (
M - mass > lowestEnergyLimit) {
158 G4cout <<
"Gamma 4-mom: " << lv2 <<
" Escm(MeV)=" << e1/CLHEP::MeV <<
G4endl;
173 else if (Z == 2 &&
A == 3) {theDef =
G4He3::He3(); }
177 if (
nullptr != theDef) {
191 G4double etot = std::max(mass, lab4mom.
e());
192 G4double ptot = std::sqrt((etot - mass)*(etot + mass));
194 lab4mom.
set(v.
x()*ptot,v.
y()*ptot,v.
z()*ptot,etot);
200 G4cout <<
"G4NeutronRadCaptureHP::ApplyYourself initial G4Fragmet:"
210 fv->push_back(aFragment);
213 G4cout <<
"G4NeutronRadCaptureHP: " << fv->size() <<
" final particle icID= "
216 for (
auto const & f : *fv) {
217 G4double etot = f->GetMomentum().e();
223 if (0 == Z && 0 ==
A) { theDef = f->GetParticleDefinition(); }
226 else if (Z == 2 &&
A == 3) { theDef =
G4He3::He3(); }
229 G4double eexc = f->GetExcitationEnergy();
230 if (eexc <= minExcitation) { eexc = 0.0; }
238 ekin = std::max(0.0, etot - theDef->
GetPDGMass());
241 <<
" Ekin(MeV)= " << ekin/MeV
242 <<
" p: " << f->GetMomentum().vect()
247 f->GetMomentum().vect().unit(),
249 G4double timeF = std::max(f->GetCreationTime(), 0.0);
251 if (theDef == electron) {
std::vector< G4Fragment * > G4FragmentVector
G4ThreeVector G4RandomDirection()
G4GLOB_DLL std::ostream G4cout
Hep3Vector boostVector() const
HepLorentzVector & boost(double, double, double)
void set(double x, double y, double z, double t)
G4double GetMinExcitation() const
static G4Deuteron * Deuteron()
void SetStatusChange(G4HadFinalStateStatus aS)
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
const G4Material * GetMaterial() const
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
G4double GetGlobalTime() const
void SetTime(G4double aT)
void SetCreatorModelID(G4int id)
G4HadronicInteraction * FindModel(const G4String &name)
static G4HadronicInteractionRegistry * Instance()
G4HadFinalState theParticleChange
const G4String & GetModelName() const
void SetMaxEnergy(const G4double anEnergy)
G4double GetMaxEnergy() const
static G4HadronicParameters * Instance()
G4ParticleDefinition * GetIon(G4int Z, G4int A, G4int lvl=0)
G4double GetTemperature() const
~G4NeutronRadCaptureHP() override
void BuildPhysicsTable(const G4ParticleDefinition &) override
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus) override
G4DeexPrecoParameters * GetParameters()
static G4NuclearLevelData * GetInstance()
static G4double GetNuclearMass(const G4double A, const G4double Z)
G4double GetPDGMass() const
const G4String & GetParticleName() const
G4bool GetNeglectDoppler() const
G4IonTable * GetIonTable() const
static G4ParticleTable * GetParticleTable()
static G4int GetModelID(const G4int modelIndex)
static G4Triton * Triton()
G4FragmentVector * BreakUpFragment(G4Fragment *theNucleus)
virtual void Initialise()
virtual void SetICM(G4bool)