56 theExcitationEnergy(0.0),
57 theGroundStateMass(0.0),
64 numberOfChargedHoles(0),
65 numberOfShellElectrons(0),
66 theParticleDefinition(0),
97 theMomentum(aMomentum),
103 numberOfChargedHoles(0),
104 numberOfShellElectrons(0),
105 theParticleDefinition(0),
106 theCreationTime(0.0),
126 theMomentum(aMomentum),
132 numberOfChargedHoles(0),
133 numberOfShellElectrons(0),
134 theParticleDefinition(aParticleDefinition),
135 theCreationTime(0.0),
141 G4String text =
"G4Fragment::G4Fragment constructor for gamma used for "
150 if (
this != &right) {
183 out <<
"Fragment: null pointer ";
187 std::ios::fmtflags old_floatfield = out.flags();
188 out.setf(std::ios::floatfield);
190 out <<
"Fragment: A = " << std::setw(3) << theFragment->
theA
191 <<
", Z = " << std::setw(3) << theFragment->
theZ ;
192 out.setf(std::ios::scientific,std::ios::floatfield);
195 std::streamsize floatPrec = out.precision();
197 out << std::setprecision(3)
199 <<
" MeV IsStable= " << theFragment->
IsStable();
201 out <<
" creatorModelType= " << theFragment->
creatorModel;
221 out.setf(old_floatfield,std::ios::floatfield);
222 out.precision(floatPrec);
238 G4cout <<
"G4Fragment::CalculateExcitationEnergy(): WARNING "<<
G4endl;
242 #ifdef debug_G4Fragment
245 G4Exception(
"G4Fragment::ExcitationEnergyWarning()",
"had777",
254 G4cout <<
"G4Fragment::"<< value <<
" ERROR "
257 G4String text =
"G4Fragment::G4Fragment wrong exciton number ";
G4double theGroundStateMass
std::ostringstream G4ExceptionDescription
CLHEP::Hep3Vector G4ThreeVector
void ExcitationEnergyWarning()
G4int GetPDGEncoding() const
G4bool isStable(Cluster const *const c)
True if the cluster is stable.
const G4String & GetParticleName() const
G4ThreadLocal G4Allocator< G4Fragment > * pFragmentAllocator
G4int numberOfShellElectrons
G4GLOB_DLL std::ostream G4cout
G4bool operator==(const G4Fragment &right) const
static G4ThreadLocal int numberOfParticles
void CalculateExcitationEnergy()
G4ThreeVector theAngularMomentum
static const G4double A[nN]
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 NumberOfExitationWarning(const G4String &)
void CalculateGroundStateMass()
G4Fragment & operator=(const G4Fragment &right)
G4int numberOfChargedHoles
G4double GetExcitationEnergy() const
const G4ParticleDefinition * theParticleDefinition
G4double theExcitationEnergy
CLHEP::HepLorentzVector G4LorentzVector