102 inline void *
operator new(size_t);
103 inline void operator delete(
void *aFragment);
143 G4int nLambdas = 0)
const;
204 void CalculateMassAndExcitationEnergy();
206 void ExcitationEnergyWarning();
208 void NumberOfExitationWarning(
const G4String&);
232 G4int numberOfParticles;
233 G4int numberOfCharged;
235 G4int numberOfChargedHoles;
238 G4int numberOfShellElectrons;
246 G4bool isLongLived =
false;
251#if defined G4HADRONIC_ALLOC_EXPORT
257inline void * G4Fragment::operator
new(size_t)
265inline void G4Fragment::operator
delete(
void * aFragment)
273 return ( nLambdas <= 0 )
280 CalculateMassAndExcitationEnergy();
281 return theGroundStateMass;
299 theL = std::max(Lnew, 0);
304 theL = std::max(Lnew, 0);
314 return theExcitationEnergy;
319 return theGroundStateMass;
330 CalculateMassAndExcitationEnergy();
363 return numberOfParticles + numberOfHoles;
368 return numberOfParticles;
373 return numberOfCharged;
379 numberOfParticles = valueTot;
380 numberOfCharged = valueP;
381 if(valueTot < valueP) {
382 NumberOfExitationWarning(
"SetNumberOfExcitedParticle");
388 return numberOfHoles;
393 return numberOfChargedHoles;
398 numberOfHoles = valueTot;
399 numberOfChargedHoles = valueP;
400 if(valueTot < valueP) {
401 NumberOfExitationWarning(
"SetNumberOfHoles");
407 numberOfParticles = value;
412 numberOfCharged = value;
413 if(value > numberOfParticles) {
414 NumberOfExitationWarning(
"SetNumberOfCharged");
420 return numberOfShellElectrons;
425 numberOfShellElectrons = value;
435 creatorModel = value;
471 return theParticleDefinition;
476 theParticleDefinition = p;
481 return theCreationTime;
486 theCreationTime = time;
491 return thePolarization;
496 return thePolarization;
G4DLLIMPORT G4Allocator< G4Fragment > *& pFragmentAllocator()
std::vector< G4Fragment * > G4FragmentVector
void SetZ(G4double value)
void SetFloatingLevelNumber(G4int value)
G4double GetGroundStateMass() const
void SetNumberOfLambdas(G4int numberOfLambdas)
G4int GetNumberOfParticles() const
G4int GetCreatorModelID() const
G4int GetNumberOfHoles() const
G4NuclearPolarization * GetNuclearPolarization() const
void SetZandA_asInt(G4int Znew, G4int Anew, G4int Lnew=0)
void SetNumberOfCharged(G4int value)
G4int GetNumberOfChargedHoles() const
G4double GetExcitationEnergy() const
const G4LorentzVector & GetMomentum() const
void SetCreatorModelID(G4int value)
G4double GetCreationTime() const
void SetNuclearPolarization(G4NuclearPolarization *)
G4double GetBindingEnergy() const
G4bool IsLongLived() const
G4bool operator!=(const G4Fragment &right) const
void SetCreationTime(G4double time)
G4int GetFloatingLevelNumber() const
void SetNumberOfElectrons(G4int value)
void SetNumberOfHoles(G4int valueTot, G4int valueP=0)
G4int GetNumberOfExcitons() const
G4int GetNumberOfLambdas() const
G4double ComputeGroundStateMass(G4int Z, G4int A, G4int nLambdas=0) const
G4ThreeVector GetAngularMomentum() const
const G4ParticleDefinition * GetParticleDefinition() const
void SetA(G4double value)
friend std::ostream & operator<<(std::ostream &, const G4Fragment &)
void SetMomentum(const G4LorentzVector &value)
void SetExcEnergyAndMomentum(G4double eexc, const G4LorentzVector &)
G4int GetNumberOfElectrons() const
void SetNumberOfExcitedParticle(G4int valueTot, G4int valueP)
G4Fragment & operator=(const G4Fragment &right)
void SetLongLived(G4bool value)
G4double RecomputeGroundStateMass()
void SetNumberOfParticles(G4int value)
G4int GetNumberOfCharged() const
G4bool operator==(const G4Fragment &right) const
void SetAngularMomentum(const G4ThreeVector &)
void SetParticleDefinition(const G4ParticleDefinition *p)
G4NuclearPolarization * NuclearPolarization()
void SetSpin(G4double value)
void SetZAandMomentum(const G4LorentzVector &, G4int Z, G4int A, G4int nLambdas=0)
static G4double GetNuclearMass(G4int A, G4int Z, G4int L)
static G4double GetNuclearMass(const G4double A, const G4double Z)