55 theExcitationEnergy(0.0),
56 theGroundStateMass(0.0),
63 numberOfChargedHoles(0),
64 numberOfShellElectrons(0),
65 theParticleDefinition(0),
73 theExcitationEnergy(right.theExcitationEnergy),
74 theGroundStateMass(right.theGroundStateMass),
75 theMomentum(right.theMomentum),
77 creatorModel(right.creatorModel),
79 numberOfCharged(right.numberOfCharged),
80 numberOfHoles(right.numberOfHoles),
81 numberOfChargedHoles(right.numberOfChargedHoles),
82 numberOfShellElectrons(right.numberOfShellElectrons),
83 theParticleDefinition(right.theParticleDefinition),
84 theCreationTime(right.theCreationTime)
97 theExcitationEnergy(0.0),
98 theGroundStateMass(0.0),
99 theMomentum(aMomentum),
105 numberOfChargedHoles(0),
106 numberOfShellElectrons(0),
107 theParticleDefinition(0),
121 theExcitationEnergy(0.0),
122 theMomentum(aMomentum),
128 numberOfChargedHoles(0),
129 numberOfShellElectrons(0),
130 theParticleDefinition(aParticleDefinition),
135 G4String text =
"G4Fragment::G4Fragment constructor for gamma used for "
144 if (
this != &right) {
179 out <<
"Fragment: null pointer ";
183 std::ios::fmtflags old_floatfield = out.flags();
184 out.setf(std::ios::floatfield);
186 out <<
"Fragment: A = " << std::setw(3) << theFragment->
theA
187 <<
", Z = " << std::setw(3) << theFragment->
theZ ;
188 out.setf(std::ios::scientific,std::ios::floatfield);
191 std::streamsize floatPrec = out.precision();
193 out << std::setprecision(3)
220 out.setf(old_floatfield,std::ios::floatfield);
221 out.precision(floatPrec);
237 G4cout <<
"G4Fragment::CalculateExcitationEnergy(): WARNING "<<
G4endl;
241 #ifdef debug_G4Fragment
244 G4Exception(
"G4Fragment::ExcitationEnergyWarning()",
"had777",
253 G4cout <<
"G4Fragment::"<< value <<
" ERROR "
256 G4String text =
"G4Fragment::G4Fragment wrong exciton number ";
262 std::vector< std::vector<G4complex> > pol;
264 pol[0].assign(1,
G4complex(v.mag(),0.0));
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
std::complex< G4double > G4complex
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
G4bool operator==(const G4Fragment &right) const
std::vector< std::vector< G4complex > > & GetPolarization()
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
void SetPolarization(std::vector< std::vector< G4complex > > &p)