84 aPrim.
Init(aProjectileA, aProjectileZ);
88 aTarg.
Init(aTargetA, aTargetZ);
92 G4int particlesFromProjectile = 0;
93 G4int chargedFromProjectile = 0;
101 while(0==particlesFromProjectile)
109 while(x*x + y*y > 1);
110 impactParameter = std::sqrt(x*x+y*y)*
111 (targetOuterRadius+projectileOuterRadius);
113 area = pi*(targetOuterRadius+projectileOuterRadius)*
114 (targetOuterRadius+projectileOuterRadius);
115 G4double projectileHorizon = impactParameter-targetOuterRadius;
119 if(projectileHorizon > empirical*projectileOuterRadius) {
continue; }
131 ++particlesFromProjectile;
134 ++chargedFromProjectile;
142 G4double targetHorizon = impactParameter-projectileOuterRadius;
143 G4int chargedFromTarget = 0;
144 G4int particlesFromTarget = 0;
152 ++particlesFromTarget;
167 G4LorentzVector fragment4Momentum(momentum*w, projTotEnergy*w + targetMass);
170 G4Fragment anInitialState(aTargetA+particlesFromProjectile,
171 aTargetZ+chargedFromProjectile,
175 + particlesFromTarget,
176 chargedFromProjectile
177 + chargedFromTarget);
178 anInitialState.
SetNumberOfHoles(particlesFromProjectile+particlesFromTarget,
179 chargedFromProjectile + chargedFromTarget);
190 if(particlesFromProjectile < aProjectileA)
192 G4LorentzVector residual4Momentum(momentum*(1.0-w), projTotEnergy*(1.0-w));
194 G4Fragment initialState2(aProjectileA-particlesFromProjectile,
195 aProjectileZ-chargedFromProjectile,
199 G4int pinit = (aProjectileA-particlesFromProjectile)/2;
200 G4int cinit = (aProjectileZ-chargedFromProjectile)/2;
207 theExcitationResult = theHandler->
BreakItUp(initialState2);
211 std::size_t nexc = (
nullptr != theExcitationResult) ?
212 theExcitationResult->size() : 0;
213 std::size_t npre = (
nullptr != thePreCompoundResult) ?
214 thePreCompoundResult->size() : 0;
216 for(std::size_t k=0; k<nexc; ++k) {
224 for(std::size_t k=0; k<npre; ++k) {
233 delete thePreCompoundResult;
234 delete theExcitationResult;
std::vector< G4ReactionProduct * > G4ReactionProductVector
G4ReactionProductVector * BreakItUp(const G4Fragment &theInitialState)
G4Nucleon * GetNextNucleon()
void Init(G4int theA, G4int theZ, G4int numberOfLambdas=0)
G4double GetOuterRadius()
void SetCreatorModelID(G4int value)
void SetCreationTime(G4double time)
void SetNumberOfHoles(G4int valueTot, G4int valueP=0)
void SetNumberOfExcitedParticle(G4int valueTot, G4int valueP)
void SetStatusChange(G4HadFinalStateStatus aS)
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
void SetEnergyChange(G4double anEnergy)
const G4ParticleDefinition * GetDefinition() const
const G4LorentzVector & Get4Momentum() const
G4double GetGlobalTime() const
G4double GetTotalEnergy() const
void SetTime(G4double aT)
void SetCreatorModelID(G4int id)
const G4String & GetModelName() const
G4LowEIonFragmentation(G4ExcitationHandler *const value=nullptr)
virtual ~G4LowEIonFragmentation()
G4HadFinalState * ApplyYourself(const G4HadProjectile &thePrimary, G4Nucleus &theNucleus) override
static G4double GetNuclearMass(const G4double A, const G4double Z)
const G4ThreeVector & GetPosition() const
const G4ParticleDefinition * GetParticleType() const
G4double GetPDGCharge() const
G4int GetBaryonNumber() const
static G4int GetModelID(const G4int modelIndex)
virtual G4ReactionProductVector * DeExcite(G4Fragment &aFragment) final
static G4Proton * Proton()
const G4ParticleDefinition * GetDefinition() const
G4ThreeVector GetMomentum() const