Geant4-11
G4INCLCoulombNonRelativistic.hh
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26// INCL++ intra-nuclear cascade model
27// Alain Boudard, CEA-Saclay, France
28// Joseph Cugnon, University of Liege, Belgium
29// Jean-Christophe David, CEA-Saclay, France
30// Pekka Kaitaniemi, CEA-Saclay, France, and Helsinki Institute of Physics, Finland
31// Sylvie Leray, CEA-Saclay, France
32// Davide Mancusi, CEA-Saclay, France
33//
34#define INCLXX_IN_GEANT4_MODE 1
35
36#include "globals.hh"
37
45#ifndef G4INCLCOULOMBNONRELATIVISTIC_HH_
46#define G4INCLCOULOMBNONRELATIVISTIC_HH_
47
48#include "G4INCLParticle.hh"
49#include "G4INCLNucleus.hh"
50#include "G4INCLICoulomb.hh"
51#include "G4INCLCoulombNone.hh"
52#include "G4INCLGlobals.hh"
53
54namespace G4INCL {
55
57 public:
60
69 ParticleEntryAvatar *bringToSurface(Particle * const p, Nucleus * const n) const;
70
80 IAvatarList bringToSurface(Cluster * const c, Nucleus * const n) const;
81
89 void distortOut(ParticleList const &pL, Nucleus const * const n) const;
90
93 G4double maxImpactParameter(ParticleSpecies const &p, const G4double kinE, Nucleus const *
94 const n) const;
95
96 private:
98 G4double minimumDistance(ParticleSpecies const &p, const G4double kineticEnergy, Nucleus const * const n) const {
99 const G4double particleMass = ParticleTable::getTableSpeciesMass(p);
100 const G4double nucleusMass = n->getTableMass();
101 const G4double reducedMass = particleMass*nucleusMass/(particleMass+nucleusMass);
102 const G4double kineticEnergyInCM = kineticEnergy * reducedMass / particleMass;
103 const G4double theMinimumDistance = PhysicalConstants::eSquared * p.theZ * n->getZ() * particleMass
104 / (kineticEnergyInCM * reducedMass);
105 INCL_DEBUG("Minimum distance of approach due to Coulomb = " << theMinimumDistance << '\n');
106 return theMinimumDistance;
107 }
108
110 G4double minimumDistance(Particle const * const p, Nucleus const * const n) const {
111 return minimumDistance(p->getSpecies(), p->getKineticEnergy(), n);
112 }
113
140 G4bool coulombDeviation(Particle * const p, Nucleus const * const n) const;
141
157 G4double getCoulombRadius(ParticleSpecies const &p, Nucleus const * const n) const;
158
161 };
162}
163
164#endif /* G4INCLCOULOMBNONRELATIVISTIC_HH_ */
Placeholder class for no Coulomb distortion.
Abstract interface for Coulomb distortion.
#define INCL_DEBUG(x)
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
CoulombNone theCoulombNoneSlave
Internal CoulombNone slave to generate the avatars.
G4double getCoulombRadius(ParticleSpecies const &p, Nucleus const *const n) const
Get the Coulomb radius for a given particle.
G4double minimumDistance(Particle const *const p, Nucleus const *const n) const
Return the minimum distance of approach in a head-on collision (b=0).
void distortOut(ParticleList const &pL, Nucleus const *const n) const
Modify the momenta of the outgoing particles.
G4double minimumDistance(ParticleSpecies const &p, const G4double kineticEnergy, Nucleus const *const n) const
Return the minimum distance of approach in a head-on collision (b=0).
G4double maxImpactParameter(ParticleSpecies const &p, const G4double kinE, Nucleus const *const n) const
Return the maximum impact parameter for Coulomb-distorted trajectories.
G4bool coulombDeviation(Particle *const p, Nucleus const *const n) const
Perform Coulomb deviation.
ParticleEntryAvatar * bringToSurface(Particle *const p, Nucleus *const n) const
Modify the momentum of the particle and position it on the surface of the nucleus.
virtual G4INCL::ParticleSpecies getSpecies() const
Get the particle species.
G4double getKineticEnergy() const
Get the particle kinetic energy.
G4double getTableSpeciesMass(const ParticleSpecies &p)
const G4double eSquared
Coulomb conversion factor [MeV*fm].