56 theExcitationEnergy(0.0),
57 theGroundStateMass(0.0),
63 numberOfChargedHoles(0),
64 numberOfShellElectrons(0),
65 theParticleDefinition(0),
95 theMomentum(aMomentum),
100 numberOfChargedHoles(0),
101 numberOfShellElectrons(0),
102 theParticleDefinition(0),
103 theCreationTime(0.0),
123 theMomentum(aMomentum),
128 numberOfChargedHoles(0),
129 numberOfShellElectrons(0),
130 theParticleDefinition(aParticleDefinition),
131 theCreationTime(0.0),
137 G4String text =
"G4Fragment::G4Fragment constructor for gamma used for "
146 if (
this != &right) {
178 out <<
"Fragment: null pointer ";
182 std::ios::fmtflags old_floatfield = out.flags();
183 out.setf(std::ios::floatfield);
185 out <<
"Fragment: A = " << std::setw(3) << theFragment->
theA
186 <<
", Z = " << std::setw(3) << theFragment->
theZ ;
187 out.setf(std::ios::scientific,std::ios::floatfield);
190 std::streamsize floatPrec = out.precision();
192 out << std::setprecision(3)
213 out.setf(old_floatfield,std::ios::floatfield);
214 out.precision(floatPrec);
230 G4cout <<
"G4Fragment::CalculateExcitationEnergy(): WARNING "<<
G4endl;
234 #ifdef debug_G4Fragment
237 G4Exception(
"G4Fragment::ExcitationEnergyWarning()",
"had777",
246 G4cout <<
"G4Fragment::"<< value <<
" ERROR "
249 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
G4ParticleDefinition * theParticleDefinition
G4bool operator!=(const G4Fragment &right) const
void NumberOfExitationWarning(const G4String &)
void CalculateGroundStateMass()
G4Fragment & operator=(const G4Fragment &right)
G4int numberOfChargedHoles
G4double GetExcitationEnergy() const
G4double theExcitationEnergy
CLHEP::HepLorentzVector G4LorentzVector