84 copy(aFragment, model);
121 return makeG4Fragment();
130 copy(a3DNucleus, model);
134 if (!a3DNucleus)
return;
189 G4double ekin_new = (ekin == 0.) ? 0.
190 : std::sqrt(emass*emass + ekin*(2.*
getMass()+ekin)) - emass;
204 if (0 == a && 0 == z)
return 0;
219 static std::map<G4int,G4ParticleDefinition*> fragmentList;
228 if (a<=0 || z<0 || a<z) {
229 G4cerr <<
" >>> G4InuclNuclei::makeNuclearFragment() called with"
230 <<
" impossible arguments A=" << a <<
" Z=" << z <<
G4endl;
232 "G4InuclNuclei impossible A/Z arguments");
242 if (fragmentList.find(code) != fragmentList.end())
return fragmentList[code];
246 std::stringstream zstr, astr;
265 "nucleus", 0, a, code,
267 true,
"generic", 0, 0.);
271 return (fragmentList[code] = fragPD);
283 if (
this != &right) {
void fill(G4int a, G4int z, G4double exc=0., Model model=DefaultModel)
const G4ParticleDefinition * GetParticleType() const
static G4double GetNuclearMass(const G4double A, const G4double Z)
virtual G4int GetCharge()=0
void SetAntiPDGEncoding(G4int aEncoding)
G4LorentzVector getMomentum() const
virtual G4bool StartLoop()=0
G4InuclNuclei & operator=(const G4InuclNuclei &right)
G4ParticleDefinition * GetIon(G4int Z, G4int A, G4int lvl=0)
virtual G4int GetMassNumber()=0
const G4ParticleDefinition * getDefinition() const
void SetNumberOfHoles(G4int valueTot, G4int valueP=0)
static G4int GetNucleusEncoding(G4int Z, G4int A, G4double E=0.0, G4int lvl=0)
void setDefinition(const G4ParticleDefinition *pd)
G4int GetNumberOfParticles() const
#define G4MUTEX_INITIALIZER
const G4String & GetParticleName() const
G4double getKineticEnergy() const
static G4Proton * Definition()
void setExitationEnergy(G4double e)
G4int GetNumberOfHoles() const
void SetNumberOfExcitedParticle(G4int valueTot, G4int valueP)
G4IonTable * GetIonTable() const
virtual void print(std::ostream &os) const
const G4LorentzVector & GetMomentum() const
G4double getNucleiMass() const
void copy(const G4Fragment &aFragment, Model model=DefaultModel)
G4double getExitationEnergy() const
virtual void print(std::ostream &os) const
static G4ParticleTable * GetParticleTable()
G4Fragment makeG4Fragment() const
void clearExitonConfiguration()
static G4Neutron * Definition()
G4InuclParticle & operator=(const G4InuclParticle &right)
void setMass(G4double mass)
void setModel(Model model)
G4int GetNumberOfChargedHoles() const
virtual G4Nucleon * GetNextNucleon()=0
void setKineticEnergy(G4double ekin)
static G4ParticleDefinition * makeDefinition(G4int a, G4int z)
void setMomentum(const G4LorentzVector &mom)
G4ExitonConfiguration theExitonConfiguration
static const double eplus
static G4ParticleDefinition * makeNuclearFragment(G4int a, G4int z)
G4int GetNumberOfCharged() const
G4double GetExcitationEnergy() const
G4GLOB_DLL std::ostream G4cerr
G4int neutronQuasiParticles
CLHEP::HepLorentzVector G4LorentzVector
G4int protonQuasiParticles