81 secID_projectileDissociation(-1), secID_targetDissociation(-1)
85 PrintWelcomeMessage();
90 handlerDefinedInternally =
true;
112 secID_projectileDissociation(-1), secID_targetDissociation(-1)
116 PrintWelcomeMessage();
118 theExcitationHandler = aExcitationHandler;
119 handlerDefinedInternally =
false;
139 if (handlerDefinedInternally)
delete theExcitationHandler;
143 delete thePhotonSpectrum;
175 G4cout <<
"########################################"
176 <<
"########################################"
179 G4cout <<
"Initial projectile A=" <<AP
182 G4cout <<
"Initial target A=" <<AT
185 G4cout <<
"Projectile momentum and Energy/nuc = " <<pP <<
" ," <<E <<
G4endl;
204 GetCrossSectionForProjectile(AP, ZP, AT, ZT, b, bmin);
206 GetCrossSectionForTarget(AP, ZP, AT, ZT, b, bmin);
208 G4double totCrossSectionP = (*crossSectionP)[0]+(*crossSectionP)[1];
209 G4double totCrossSectionT = (*crossSectionT)[0]+(*crossSectionT)[1];
216 totCrossSectionP / (totCrossSectionP + totCrossSectionT)) {
224 secID = secID_projectileDissociation;
227 GetWilsonProbabilityForProtonDissociation (AP, ZP))
230 G4cout <<
"Projectile underwent EM dissociation producing a proton"
239 G4cout <<
"Projectile underwent EM dissociation producing a neutron"
262 pP.
setE( std::sqrt( pP.
vect().
mag2() + (mass + Eg)*(mass + Eg) ) );
272 secID = secID_targetDissociation;
275 GetWilsonProbabilityForProtonDissociation (AT, ZT))
278 G4cout <<
"Target underwent EM dissociation producing a proton"
287 G4cout <<
"Target underwent EM dissociation producing a neutron"
330 G4double pp = (e+mass1+mass2)*(e+mass1-mass2)*
331 (e-mass1+mass2)*(e-mass1-mass2)/(4.0*e*e);
347 G4double sintheta = std::sqrt((1.0 - costheta)*(1.0 + costheta));
349 G4ThreeVector direction(sintheta*std::cos(phi),sintheta*std::sin(phi),costheta);
372 G4cout <<
"Dynamic properties of the prefragment:" <<
G4endl;
375 G4cout <<
"Nuclear properties of the prefragment:" <<
G4endl;
380 theExcitationHandler->
BreakItUp(*theFragment);
385 G4ReactionProductVector::iterator iter;
386 for (iter = products->begin(); iter != products->end(); ++iter) {
388 (*iter)->GetTotalEnergy(), (*iter)->GetMomentum());
393 delete crossSectionP;
394 delete crossSectionT;
397 G4cout <<
"########################################"
398 <<
"########################################"
405void G4EMDissociation::PrintWelcomeMessage ()
408 G4cout <<
" ****************************************************************"
410 G4cout <<
" EM dissociation model for nuclear-nuclear interactions activated"
412 G4cout <<
" (Written by QinetiQ Ltd for the European Space Agency)"
414 G4cout <<
" ****************************************************************"
std::vector< G4ReactionProduct * > G4ReactionProductVector
CLHEP::Hep3Vector G4ThreeVector
G4GLOB_DLL std::ostream G4cout
HepLorentzVector & boost(double, double, double)
Hep3Vector findBoostToCM() const
void DumpInfo(G4int mode=0) const
G4LorentzVector Get4Momentum() const
void Set4Momentum(const G4LorentzVector &momentum)
G4double GetClosestApproach(const G4double, const G4double, G4double, G4double, G4double)
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &, G4Nucleus &)
G4ReactionProductVector * BreakItUp(const G4Fragment &theInitialState)
void SetMinEForMultiFrag(G4double anE)
void SetStatusChange(G4HadFinalStateStatus aS)
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
const G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
G4double GetTotalEnergy() const
G4HadFinalState theParticleChange
void SetMinEnergy(G4double anEnergy)
const G4String & GetModelName() const
void SetMaxEnergy(const G4double anEnergy)
static G4IonTable * GetIonTable()
static G4Neutron * NeutronDefinition()
static G4double GetNuclearMass(const G4double A, const G4double Z)
G4double GetPDGMass() const
G4double GetPDGCharge() const
G4int GetBaryonNumber() const
static G4int GetModelID(const G4int modelIndex)
G4double GetLowEdgeEnergy(const std::size_t index) const
static G4Proton * ProtonDefinition()