Geant4  10.02.p02
G4Fragment Class Reference

#include <G4Fragment.hh>

+ Collaboration diagram for G4Fragment:

Public Member Functions

 G4Fragment ()
 
 ~G4Fragment ()
 
 G4Fragment (const G4Fragment &right)
 
 G4Fragment (G4int A, G4int Z, const G4LorentzVector &aMomentum)
 
 G4Fragment (const G4LorentzVector &aMomentum, const G4ParticleDefinition *aParticleDefinition)
 
G4Fragmentoperator= (const G4Fragment &right)
 
G4bool operator== (const G4Fragment &right) const
 
G4bool operator!= (const G4Fragment &right) const
 
void * operator new (size_t)
 
void operator delete (void *aFragment)
 
G4int GetZ_asInt () const
 
G4int GetA_asInt () const
 
void SetZandA_asInt (G4int Znew, G4int Anew)
 
G4double GetExcitationEnergy () const
 
G4double GetGroundStateMass () const
 
G4double GetBindingEnergy () const
 
const G4LorentzVectorGetMomentum () const
 
void SetMomentum (const G4LorentzVector &value)
 
G4double ComputeGroundStateMass (G4int Z, G4int A) const
 
G4double GetSpin () const
 
void SetSpin (G4double value)
 
G4int GetCreatorModelType () const
 
void SetCreatorModelType (G4int value)
 
G4double GetZ () const
 
G4double GetA () const
 
void SetZ (G4double value)
 
void SetA (G4double value)
 
G4int GetNumberOfExcitons () const
 
G4int GetNumberOfParticles () const
 
G4int GetNumberOfCharged () const
 
void SetNumberOfExcitedParticle (G4int valueTot, G4int valueP)
 
G4int GetNumberOfHoles () const
 
G4int GetNumberOfChargedHoles () const
 
void SetNumberOfHoles (G4int valueTot, G4int valueP=0)
 
void SetNumberOfParticles (G4int value)
 
void SetNumberOfCharged (G4int value)
 
G4int GetNumberOfElectrons () const
 
void SetNumberOfElectrons (G4int value)
 
const G4ParticleDefinitionGetParticleDefinition () const
 
void SetParticleDefinition (const G4ParticleDefinition *p)
 
G4double GetCreationTime () const
 
void SetCreationTime (G4double time)
 
G4NuclearPolarizationGetNuclearPolarization () const
 
void SetNuclearPolarization (G4NuclearPolarization *)
 
void SetAngularMomentum (G4ThreeVector &)
 
G4ThreeVector GetAngularMomentum () const
 

Private Member Functions

void ExcitationEnergyWarning ()
 
void NumberOfExitationWarning (const G4String &)
 
void CalculateExcitationEnergy ()
 
void CalculateGroundStateMass ()
 

Private Attributes

G4int theA
 
G4int theZ
 
G4double theExcitationEnergy
 
G4double theGroundStateMass
 
G4LorentzVector theMomentum
 
G4NuclearPolarizationthePolarization
 
G4int creatorModel
 
G4int numberOfParticles
 
G4int numberOfCharged
 
G4int numberOfHoles
 
G4int numberOfChargedHoles
 
G4int numberOfShellElectrons
 
const G4ParticleDefinitiontheParticleDefinition
 
G4double spin
 
G4double theCreationTime
 

Friends

std::ostream & operator<< (std::ostream &, const G4Fragment *)
 
std::ostream & operator<< (std::ostream &, const G4Fragment &)
 

Detailed Description

Definition at line 66 of file G4Fragment.hh.

Constructor & Destructor Documentation

G4Fragment::G4Fragment ( )

Definition at line 51 of file G4Fragment.cc.

G4Fragment::~G4Fragment ( )

Definition at line 92 of file G4Fragment.cc.

G4Fragment::G4Fragment ( const G4Fragment right)

Definition at line 70 of file G4Fragment.cc.

References thePolarization.

G4Fragment::G4Fragment ( G4int  A,
G4int  Z,
const G4LorentzVector aMomentum 
)

Definition at line 95 of file G4Fragment.cc.

References CalculateExcitationEnergy(), CalculateGroundStateMass(), and theA.

+ Here is the call graph for this function:

G4Fragment::G4Fragment ( const G4LorentzVector aMomentum,
const G4ParticleDefinition aParticleDefinition 
)

Definition at line 119 of file G4Fragment.cc.

References G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGEncoding(), G4ParticleDefinition::GetPDGMass(), and theGroundStateMass.

+ Here is the call graph for this function:

Member Function Documentation

void G4Fragment::CalculateExcitationEnergy ( )
inlineprivate

Definition at line 239 of file G4Fragment.hh.

References ExcitationEnergyWarning(), theExcitationEnergy, theGroundStateMass, and theMomentum.

Referenced by G4Fragment(), and SetMomentum().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Fragment::CalculateGroundStateMass ( )
inlineprivate

Definition at line 251 of file G4Fragment.hh.

References G4NucleiProperties::GetNuclearMass(), theA, theGroundStateMass, and theZ.

Referenced by G4Fragment(), SetA(), SetZ(), and SetZandA_asInt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4Fragment::ComputeGroundStateMass ( G4int  Z,
G4int  A 
) const
inline

Definition at line 246 of file G4Fragment.hh.

References G4NucleiProperties::GetNuclearMass().

Referenced by G4GEMProbability::CalcProbability(), and G4PhotonEvaporation::GetEmissionProbability().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Fragment::ExcitationEnergyWarning ( )
private

Definition at line 241 of file G4Fragment.cc.

References eV, FatalException, G4cout, G4endl, G4Exception(), and theExcitationEnergy.

Referenced by CalculateExcitationEnergy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4Fragment::GetA ( void  ) const
inline

Definition at line 305 of file G4Fragment.hh.

References theA.

G4int G4Fragment::GetA_asInt ( void  ) const
inline

Definition at line 256 of file G4Fragment.hh.

References theA.

Referenced by G4PreCompoundEmission::AngularDistribution(), G4NeutronRadCapture::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4FermiBreakUp::BreakFragment(), G4Evaporation::BreakFragment(), G4InuclEvaporation::BreakItUp(), G4StatMF::BreakItUp(), G4ExcitationHandler::BreakItUp(), G4WilsonAblationModel::BreakItUp(), G4UnstableFragmentBreakUp::BreakUpChain(), G4NeutronEvaporationProbability::CalcAlphaParam(), G4GEMProbability::CalcAlphaParam(), G4NeutronEvaporationProbability::CalcBetaParam(), G4GEMProbability::CalcBetaParam(), G4StatMFMicroCanonical::CalcEntropyOfCompoundNucleus(), G4StatMFMicroCanonical::CalcFreeInternalEnergy(), G4GEMProbability::CalcProbability(), G4GNASHTransitions::CalculateProbability(), G4PreCompoundTransitions::CalculateProbability(), G4StatMFMacroCanonical::CalculateTemperature(), G4ContinuumGammaDeexcitation::CanDoTransition(), G4DiscreteGammaDeexcitation::CanDoTransition(), G4StatMFMicroCanonical::ChooseAandZ(), G4StatMFMacroCanonical::ChooseAandZ(), G4CascadeCheckBalance::collide(), G4InuclNuclei::copy(), G4AblaInterface::DeExcite(), G4PreCompoundModel::DeExcite(), G4InuclCollider::deexcite(), G4BinaryCascade::DeExcite(), G4FissionProbability::EmissionProbability(), G4E1Probability::EmissionProbDensity(), G4CompetitiveFission::EmittedFragment(), G4CascadeDeexciteBase::explosion(), G4StatMF::FindTemperatureOfBreakingChannel(), G4StatMFMacroCanonical::G4StatMFMacroCanonical(), G4PhotonEvaporation::GenerateGamma(), G4GEMProbability::GetCoulombBarrier(), G4CompetitiveFission::GetEmissionProbability(), G4EvaporationChannel::GetEmissionProbability(), G4GEMChannel::GetEmissionProbability(), G4PhotonEvaporation::GetEmissionProbability(), G4PhotonEvaporationOLD::GetEmissionProbability(), G4CascadeDeexciteBase::getTargetData(), G4VPreCompoundFragment::Initialize(), G4StatMFMacroCanonical::Initialize(), G4StatMFMicroCanonical::Initialize(), G4StatMFMicroManager::Initialize(), G4GNASHTransitions::PerformTransition(), G4PreCompoundTransitions::PerformTransition(), G4GEMChannel::SampleKineticEnergy(), and G4EvaporationProbability::TotalProbability().

G4ThreeVector G4Fragment::GetAngularMomentum ( ) const

Definition at line 275 of file G4Fragment.cc.

References spin.

Referenced by G4AblaInterface::DeExcite().

+ Here is the caller graph for this function:

G4double G4Fragment::GetBindingEnergy ( ) const
inline

Definition at line 283 of file G4Fragment.hh.

References theA, theGroundStateMass, and theZ.

G4double G4Fragment::GetCreationTime ( ) const
inline

Definition at line 420 of file G4Fragment.hh.

References theCreationTime.

Referenced by G4NeutronRadCapture::ApplyYourself(), G4ExcitationHandler::BreakItUp(), G4UnstableFragmentBreakUp::BreakUpChain(), G4ITDecay::DecayIt(), G4NuclearDecayChannel::DecayIt(), G4VGammaDeexcitation::GenerateGamma(), G4PhotonEvaporation::GenerateGamma(), and operator<<().

+ Here is the caller graph for this function:

G4int G4Fragment::GetCreatorModelType ( ) const
inline

Definition at line 389 of file G4Fragment.hh.

References creatorModel.

Referenced by operator<<().

+ Here is the caller graph for this function:

G4double G4Fragment::GetExcitationEnergy ( void  ) const
inline

Definition at line 273 of file G4Fragment.hh.

References theExcitationEnergy.

Referenced by G4PreCompoundEmission::AngularDistribution(), G4ParaFissionModel::ApplyYourself(), G4NeutronRadCapture::ApplyYourself(), G4Evaporation::BreakFragment(), G4InuclEvaporation::BreakItUp(), G4StatMF::BreakItUp(), G4ExcitationHandler::BreakItUp(), G4WilsonAblationModel::BreakItUp(), G4StatMFMicroCanonical::CalcEntropyOfCompoundNucleus(), G4GEMProbability::CalcProbability(), G4GNASHTransitions::CalculateProbability(), G4PreCompoundTransitions::CalculateProbability(), G4StatMFMacroCanonical::CalculateTemperature(), G4ContinuumGammaDeexcitation::CanDoTransition(), G4DiscreteGammaDeexcitation::CanDoTransition(), G4InuclNuclei::copy(), G4ITDecay::DecayIt(), G4AblaInterface::DeExcite(), G4PreCompoundModel::DeExcite(), G4VGammaDeexcitation::DoChain(), G4FissionProbability::EmissionProbability(), G4GEMProbability::EmissionProbability(), G4E1Probability::EmissionProbDensity(), G4CompetitiveFission::EmittedFragment(), G4CascadeDeexciteBase::explosion(), G4StatMF::FindTemperatureOfBreakingChannel(), G4VGammaDeexcitation::GenerateGamma(), G4PhotonEvaporation::GenerateGamma(), G4GEMProbability::GetCoulombBarrier(), G4CompetitiveFission::GetEmissionProbability(), G4EvaporationChannel::GetEmissionProbability(), G4GEMChannel::GetEmissionProbability(), G4PhotonEvaporation::GetEmissionProbability(), G4PhotonEvaporationOLD::GetEmissionProbability(), G4CascadeDeexciteBase::getTargetData(), G4VPreCompoundFragment::Initialize(), G4StatMFMicroCanonical::Initialize(), G4StatMFMicroManager::Initialize(), G4HETCFragment::IntegrateEmissionProbability(), operator<<(), G4PreCompoundNucleon::ProbabilityDistributionFunction(), G4PreCompoundIon::ProbabilityDistributionFunction(), G4GEMChannel::SampleKineticEnergy(), G4GammaTransition::SampleTransition(), G4PolarizedGammaTransition::SampleTransition(), and G4EvaporationProbability::TotalProbability().

+ Here is the caller graph for this function:

G4NuclearPolarization * G4Fragment::GetNuclearPolarization ( ) const
inline

Definition at line 430 of file G4Fragment.hh.

References thePolarization.

Referenced by operator<<(), and G4PolarizationTransition::UpdatePolarizationToFinalState().

+ Here is the caller graph for this function:

G4int G4Fragment::GetNumberOfCharged ( ) const
inline
G4int G4Fragment::GetNumberOfChargedHoles ( ) const
inline

Definition at line 352 of file G4Fragment.hh.

References numberOfChargedHoles.

Referenced by G4InuclNuclei::copy(), G4ExitonConfiguration::fill(), and operator<<().

+ Here is the caller graph for this function:

G4int G4Fragment::GetNumberOfElectrons ( ) const
inline

Definition at line 379 of file G4Fragment.hh.

References numberOfShellElectrons.

Referenced by G4GammaTransition::SampleTransition(), and G4PolarizedGammaTransition::SampleTransition().

+ Here is the caller graph for this function:

G4int G4Fragment::GetNumberOfExcitons ( ) const
inline

Definition at line 322 of file G4Fragment.hh.

References numberOfHoles, and numberOfParticles.

Referenced by G4PreCompoundEmission::AngularDistribution(), G4PreCompoundModel::DeExcite(), and operator<<().

+ Here is the caller graph for this function:

const G4ParticleDefinition * G4Fragment::GetParticleDefinition ( void  ) const
inline

Definition at line 410 of file G4Fragment.hh.

References theParticleDefinition.

Referenced by G4ParaFissionModel::ApplyYourself(), G4NeutronRadCapture::ApplyYourself(), G4ExcitationHandler::BreakItUp(), G4ITDecay::DecayIt(), and G4NuclearDecayChannel::DecayIt().

+ Here is the caller graph for this function:

G4double G4Fragment::GetSpin ( void  ) const
inline

Definition at line 399 of file G4Fragment.hh.

References spin.

Referenced by operator<<().

+ Here is the caller graph for this function:

G4double G4Fragment::GetZ ( void  ) const
inline

Definition at line 300 of file G4Fragment.hh.

References theZ.

G4int G4Fragment::GetZ_asInt ( void  ) const
inline

Definition at line 261 of file G4Fragment.hh.

References theZ.

Referenced by G4NeutronRadCapture::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4FermiBreakUp::BreakFragment(), G4Evaporation::BreakFragment(), G4InuclEvaporation::BreakItUp(), G4StatMF::BreakItUp(), G4ExcitationHandler::BreakItUp(), G4WilsonAblationModel::BreakItUp(), G4UnstableFragmentBreakUp::BreakUpChain(), G4AlphaEvaporationProbability::CalcAlphaParam(), G4He3EvaporationProbability::CalcAlphaParam(), G4ProtonEvaporationProbability::CalcAlphaParam(), G4TritonEvaporationProbability::CalcAlphaParam(), G4DeuteronEvaporationProbability::CalcAlphaParam(), G4GEMProbability::CalcAlphaParam(), G4StatMFMicroCanonical::CalcFreeInternalEnergy(), G4GEMProbability::CalcProbability(), G4PreCompoundTransitions::CalculateProbability(), G4StatMFMacroCanonical::CalculateTemperature(), G4ContinuumGammaDeexcitation::CanDoTransition(), G4DiscreteGammaDeexcitation::CanDoTransition(), G4StatMFMicroCanonical::ChooseAandZ(), G4StatMFMacroCanonical::ChooseAandZ(), G4CascadeCheckBalance::collide(), G4InuclNuclei::copy(), G4AblaInterface::DeExcite(), G4PreCompoundModel::DeExcite(), G4FissionProbability::EmissionProbability(), G4CompetitiveFission::EmittedFragment(), G4CascadeDeexciteBase::explosion(), G4StatMF::FindTemperatureOfBreakingChannel(), G4PhotonEvaporation::GenerateGamma(), G4GEMProbability::GetCoulombBarrier(), G4CompetitiveFission::GetEmissionProbability(), G4EvaporationChannel::GetEmissionProbability(), G4GEMChannel::GetEmissionProbability(), G4PhotonEvaporation::GetEmissionProbability(), G4PhotonEvaporationOLD::GetEmissionProbability(), G4CascadeDeexciteBase::getTargetData(), G4VPreCompoundFragment::Initialize(), G4StatMFMacroCanonical::Initialize(), G4StatMFMicroCanonical::Initialize(), G4StatMFMicroManager::Initialize(), G4GNASHTransitions::PerformTransition(), G4PreCompoundTransitions::PerformTransition(), G4GEMChannel::SampleKineticEnergy(), G4GammaTransition::SampleTransition(), G4PolarizedGammaTransition::SampleTransition(), and G4EvaporationProbability::TotalProbability().

+ Here is the caller graph for this function:

void G4Fragment::NumberOfExitationWarning ( const G4String value)
private

Definition at line 261 of file G4Fragment.cc.

References G4cout, and G4endl.

Referenced by SetNumberOfCharged(), SetNumberOfExcitedParticle(), and SetNumberOfHoles().

+ Here is the caller graph for this function:

void G4Fragment::operator delete ( void *  aFragment)
inline

Definition at line 233 of file G4Fragment.hh.

References pFragmentAllocator.

void * G4Fragment::operator new ( size_t  )
inline

Definition at line 227 of file G4Fragment.hh.

References pFragmentAllocator.

G4bool G4Fragment::operator!= ( const G4Fragment right) const

Definition at line 176 of file G4Fragment.cc.

G4bool G4Fragment::operator== ( const G4Fragment right) const

Definition at line 171 of file G4Fragment.cc.

void G4Fragment::SetA ( G4double  value)
inline

Definition at line 316 of file G4Fragment.hh.

References CalculateGroundStateMass(), G4lrint(), and theA.

+ Here is the call graph for this function:

void G4Fragment::SetAngularMomentum ( G4ThreeVector v)

Definition at line 270 of file G4Fragment.cc.

References spin.

Referenced by G4INCLXXInterface::ApplyYourself().

+ Here is the caller graph for this function:

void G4Fragment::SetCreationTime ( G4double  time)
inline

Definition at line 425 of file G4Fragment.hh.

References theCreationTime.

Referenced by G4LowEIonFragmentation::ApplyYourself(), G4PreCompoundModel::ApplyYourself(), G4UnstableFragmentBreakUp::BreakUpChain(), G4VGammaDeexcitation::GenerateGamma(), and G4PhotonEvaporation::GenerateGamma().

+ Here is the caller graph for this function:

void G4Fragment::SetCreatorModelType ( G4int  value)
inline

Definition at line 394 of file G4Fragment.hh.

References creatorModel.

void G4Fragment::SetMomentum ( const G4LorentzVector value)
inline
void G4Fragment::SetNuclearPolarization ( G4NuclearPolarization p)
inline

Definition at line 213 of file G4Fragment.hh.

References thePolarization.

Referenced by G4PolarizationTransition::UpdatePolarizationToFinalState().

+ Here is the caller graph for this function:

void G4Fragment::SetNumberOfCharged ( G4int  value)
inline

Definition at line 371 of file G4Fragment.hh.

References numberOfCharged, NumberOfExitationWarning(), and numberOfParticles.

Referenced by G4BinaryLightIonReaction::DeExciteSpectatorNucleus(), G4BinaryCascade::FindFragments(), G4BinaryLightIonReaction::FuseNucleiAndPrompound(), G4PreCompoundEmission::PerformEmission(), G4GNASHTransitions::PerformTransition(), G4PreCompoundTransitions::PerformTransition(), G4GeneratorPrecompoundInterface::Propagate(), and G4GeneratorPrecompoundInterface::PropagateNuclNucl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Fragment::SetNumberOfElectrons ( G4int  value)
inline

Definition at line 384 of file G4Fragment.hh.

References numberOfShellElectrons.

Referenced by G4GammaTransition::SampleTransition(), and G4PolarizedGammaTransition::SampleTransition().

+ Here is the caller graph for this function:

void G4Fragment::SetNumberOfExcitedParticle ( G4int  valueTot,
G4int  valueP 
)
inline

Definition at line 338 of file G4Fragment.hh.

References numberOfCharged, NumberOfExitationWarning(), and numberOfParticles.

Referenced by G4ParaFissionModel::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4PreCompoundModel::ApplyYourself(), G4CascadeDeexciteBase::makeFragment(), G4InuclNuclei::makeG4Fragment(), and G4CascadeRecoilMaker::makeRecoilFragment().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Fragment::SetNumberOfHoles ( G4int  valueTot,
G4int  valueP = 0 
)
inline
void G4Fragment::SetNumberOfParticles ( G4int  value)
inline
void G4Fragment::SetParticleDefinition ( const G4ParticleDefinition p)
inline

Definition at line 415 of file G4Fragment.hh.

References theParticleDefinition.

void G4Fragment::SetSpin ( G4double  value)
inline

Definition at line 404 of file G4Fragment.hh.

References spin.

void G4Fragment::SetZ ( G4double  value)
inline

Definition at line 310 of file G4Fragment.hh.

References CalculateGroundStateMass(), G4lrint(), and theZ.

+ Here is the call graph for this function:

void G4Fragment::SetZandA_asInt ( G4int  Znew,
G4int  Anew 
)
inline

Definition at line 266 of file G4Fragment.hh.

References CalculateGroundStateMass(), theA, and theZ.

Referenced by G4UnstableFragmentBreakUp::BreakUpChain(), G4BinaryLightIonReaction::DeExciteSpectatorNucleus(), G4CompetitiveFission::EmittedFragment(), G4EvaporationChannel::EmittedFragment(), G4GEMChannel::EmittedFragment(), G4BinaryLightIonReaction::FuseNucleiAndPrompound(), G4CascadeDeexciteBase::makeFragment(), G4CascadeRecoilMaker::makeRecoilFragment(), and G4PreCompoundEmission::PerformEmission().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const G4Fragment theFragment 
)
friend

Definition at line 181 of file G4Fragment.cc.

std::ostream& operator<< ( std::ostream &  out,
const G4Fragment theFragment 
)
friend

Definition at line 235 of file G4Fragment.cc.

Member Data Documentation

G4int G4Fragment::creatorModel
private

Definition at line 194 of file G4Fragment.hh.

Referenced by GetCreatorModelType(), operator=(), and SetCreatorModelType().

G4int G4Fragment::numberOfCharged
private
G4int G4Fragment::numberOfChargedHoles
private

Definition at line 200 of file G4Fragment.hh.

Referenced by GetNumberOfChargedHoles(), operator=(), and SetNumberOfHoles().

G4int G4Fragment::numberOfHoles
private

Definition at line 199 of file G4Fragment.hh.

Referenced by GetNumberOfExcitons(), GetNumberOfHoles(), operator=(), and SetNumberOfHoles().

G4int G4Fragment::numberOfParticles
private
G4int G4Fragment::numberOfShellElectrons
private

Definition at line 203 of file G4Fragment.hh.

Referenced by GetNumberOfElectrons(), operator=(), and SetNumberOfElectrons().

G4double G4Fragment::spin
private

Definition at line 207 of file G4Fragment.hh.

Referenced by GetAngularMomentum(), GetSpin(), operator=(), SetAngularMomentum(), and SetSpin().

G4double G4Fragment::theCreationTime
private

Definition at line 208 of file G4Fragment.hh.

Referenced by GetCreationTime(), operator=(), and SetCreationTime().

G4double G4Fragment::theExcitationEnergy
private
G4double G4Fragment::theGroundStateMass
private
G4LorentzVector G4Fragment::theMomentum
private

Definition at line 188 of file G4Fragment.hh.

Referenced by CalculateExcitationEnergy(), GetMomentum(), operator=(), and SetMomentum().

const G4ParticleDefinition* G4Fragment::theParticleDefinition
private

Definition at line 205 of file G4Fragment.hh.

Referenced by GetParticleDefinition(), operator=(), and SetParticleDefinition().

G4NuclearPolarization* G4Fragment::thePolarization
private
G4int G4Fragment::theZ
private

The documentation for this class was generated from the following files: