54 theExcitationEnergy(0.0),
55 theGroundStateMass(0.0),
57 thePolarization(nullptr),
62 numberOfChargedHoles(0),
63 numberOfShellElectrons(0),
64 theParticleDefinition(nullptr),
73 theExcitationEnergy(right.theExcitationEnergy),
74 theGroundStateMass(right.theGroundStateMass),
75 theMomentum(right.theMomentum),
76 thePolarization(nullptr),
77 creatorModel(right.creatorModel),
79 numberOfCharged(right.numberOfCharged),
80 numberOfHoles(right.numberOfHoles),
81 numberOfChargedHoles(right.numberOfChargedHoles),
82 numberOfShellElectrons(right.numberOfShellElectrons),
83 theParticleDefinition(right.theParticleDefinition),
85 theCreationTime(right.theCreationTime)
98 theExcitationEnergy(0.0),
99 theGroundStateMass(0.0),
100 theMomentum(aMomentum),
101 thePolarization(nullptr),
106 numberOfChargedHoles(0),
107 numberOfShellElectrons(0),
108 theParticleDefinition(nullptr),
123 theExcitationEnergy(0.0),
124 theMomentum(aMomentum),
125 thePolarization(nullptr),
130 numberOfChargedHoles(0),
131 numberOfShellElectrons(0),
132 theParticleDefinition(aParticleDefinition),
138 G4String text =
"G4Fragment::G4Fragment constructor for gamma used for "
147 if (
this != &right) {
184 out <<
"Fragment: null pointer ";
188 std::ios::fmtflags old_floatfield = out.flags();
189 out.setf(std::ios::floatfield);
191 out <<
"Fragment: A = " << std::setw(3) << theFragment->
theA
192 <<
", Z = " << std::setw(3) << theFragment->
theZ ;
193 out.setf(std::ios::scientific,std::ios::floatfield);
196 std::streamsize floatPrec = out.precision();
198 out << std::setprecision(3)
226 <<
", #spin= " << theFragment->
GetSpin()
229 out.setf(old_floatfield,std::ios::floatfield);
230 out.precision(floatPrec);
247 G4cout <<
"G4Fragment::CalculateExcitationEnergy(): WARNING "<<
G4endl;
251 #ifdef debug_G4Fragment
254 G4Exception(
"G4Fragment::ExcitationEnergyWarning()",
"had777",
263 G4cout <<
"G4Fragment::"<< value <<
" ERROR "
266 G4String text =
"G4Fragment::G4Fragment wrong exciton number ";
G4double theGroundStateMass
static int numberOfParticles
G4NuclearPolarization * thePolarization
std::ostringstream G4ExceptionDescription
CLHEP::Hep3Vector G4ThreeVector
void ExcitationEnergyWarning()
G4int GetNumberOfParticles() const
G4int GetPDGEncoding() const
G4ThreeVector GetAngularMomentum() const
const G4String & GetParticleName() const
G4ThreadLocal G4Allocator< G4Fragment > * pFragmentAllocator
G4int numberOfShellElectrons
G4int GetNumberOfHoles() const
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
G4bool operator==(const G4Fragment &right) const
G4double GetCreationTime() const
const G4LorentzVector & GetMomentum() const
void CalculateExcitationEnergy()
G4LorentzVector theMomentum
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
std::ostream & operator<<(std::ostream &out, const G4Fragment *theFragment)
G4double GetPDGMass() const
G4int GetNumberOfExcitons() const
G4bool operator!=(const G4Fragment &right) const
void SetAngularMomentum(G4ThreeVector &)
void NumberOfExitationWarning(const G4String &)
G4int GetNumberOfChargedHoles() const
void CalculateGroundStateMass()
G4Fragment & operator=(const G4Fragment &right)
G4int GetCreatorModelType() const
G4int GetNumberOfCharged() const
G4int numberOfChargedHoles
G4double GetExcitationEnergy() const
G4NuclearPolarization * GetNuclearPolarization() const
const G4ParticleDefinition * theParticleDefinition
G4double theExcitationEnergy
CLHEP::HepLorentzVector G4LorentzVector