59 theExcitationEnergy(0.0),
60 theGroundStateMass(0.0),
62 thePolarization(nullptr),
67 numberOfChargedHoles(0),
68 numberOfShellElectrons(0),
70 theParticleDefinition(nullptr),
80 theExcitationEnergy(right.theExcitationEnergy),
81 theGroundStateMass(right.theGroundStateMass),
82 theMomentum(right.theMomentum),
83 thePolarization(right.thePolarization),
84 creatorModel(right.creatorModel),
86 numberOfCharged(right.numberOfCharged),
87 numberOfHoles(right.numberOfHoles),
88 numberOfChargedHoles(right.numberOfChargedHoles),
89 numberOfShellElectrons(right.numberOfShellElectrons),
91 theParticleDefinition(right.theParticleDefinition),
93 theCreationTime(right.theCreationTime)
103 theExcitationEnergy(0.0),
104 theGroundStateMass(0.0),
105 theMomentum(aMomentum),
106 thePolarization(nullptr),
111 numberOfChargedHoles(0),
112 numberOfShellElectrons(0),
114 theParticleDefinition(nullptr),
127 theL(
std::
max(numberOfLambdas,0)),
128 theExcitationEnergy(0.0),
129 theGroundStateMass(0.0),
130 theMomentum(aMomentum),
131 thePolarization(nullptr),
136 numberOfChargedHoles(0),
137 numberOfShellElectrons(0),
139 theParticleDefinition(nullptr),
155 theExcitationEnergy(0.0),
156 theMomentum(aMomentum),
157 thePolarization(nullptr),
162 numberOfChargedHoles(0),
163 numberOfShellElectrons(0),
165 theParticleDefinition(aParticleDefinition),
171 G4String text =
"G4Fragment::G4Fragment constructor for gamma used for "
180 if (
this != &right) {
214 std::ios::fmtflags old_floatfield = out.flags();
215 out.setf(std::ios::floatfield);
217 out <<
"Fragment: A = " << std::setw(3) << theFragment.
theA
218 <<
", Z = " << std::setw(3) << theFragment.
theZ
219 <<
", numberOfLambdas = " << std::setw(3) << theFragment.
theL ;
220 out.setf(std::ios::scientific,std::ios::floatfield);
223 std::streamsize floatPrec = out.precision();
225 out << std::setprecision(3)
243 out <<
" #spin= " << theFragment.
GetSpin()
258 out.setf(old_floatfield,std::ios::floatfield);
259 out.precision(floatPrec);
267 G4cout <<
"G4Fragment::CalculateExcitationEnergy(): WARNING "<<
G4endl;
274 G4cout <<
"G4Fragment::"<< value <<
" ERROR "
277 G4String text =
"G4Fragment::G4Fragment wrong exciton number ";
G4Allocator< G4Fragment > *& pFragmentAllocator()
G4GLOB_DLL std::ostream G4cout
static int numberOfParticles
G4double theGroundStateMass
void ExcitationEnergyWarning()
G4int GetNumberOfParticles() const
G4int GetCreatorModelID() const
G4int GetNumberOfHoles() const
G4NuclearPolarization * GetNuclearPolarization() const
void NumberOfExitationWarning(const G4String &)
G4int numberOfChargedHoles
G4int GetNumberOfChargedHoles() const
G4double GetExcitationEnergy() const
const G4LorentzVector & GetMomentum() const
G4double GetCreationTime() const
G4NuclearPolarization * thePolarization
G4bool operator!=(const G4Fragment &right) const
G4int GetFloatingLevelNumber() const
G4int GetNumberOfExcitons() const
G4ThreeVector GetAngularMomentum() const
void CalculateExcitationEnergy(G4bool warning=true)
const G4ParticleDefinition * theParticleDefinition
G4double theExcitationEnergy
G4Fragment & operator=(const G4Fragment &right)
G4int GetNumberOfCharged() const
G4int numberOfShellElectrons
G4bool operator==(const G4Fragment &right) const
void SetAngularMomentum(const G4ThreeVector &)
G4LorentzVector theMomentum
void CalculateGroundStateMass()
static const G4double minFragExcitation
G4double GetPDGMass() const
G4int GetPDGEncoding() const
const G4String & GetParticleName() const
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)
static constexpr double MeV
static constexpr double ns
static constexpr double eV
T max(const T t1, const T t2)
brief Return the largest of the two arguments
#define G4ThreadLocalStatic