Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Fragment Class Reference

#include <G4Fragment.hh>

Public Member Functions

 G4Fragment ()
 
 ~G4Fragment ()
 
 G4Fragment (const G4Fragment &right)
 
 G4Fragment (G4int A, G4int Z, const G4LorentzVector &aMomentum, G4bool warning=true)
 
 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
 
void SetExcEnergyAndMomentum (G4double eexc, const G4LorentzVector &)
 
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)
 
G4int GetFloatingLevelNumber () const
 
void SetFloatingLevelNumber (G4int value)
 
const G4ParticleDefinitionGetParticleDefinition () const
 
void SetParticleDefinition (const G4ParticleDefinition *p)
 
G4double GetCreationTime () const
 
void SetCreationTime (G4double time)
 
G4NuclearPolarizationNuclearPolarization ()
 
G4NuclearPolarizationGetNuclearPolarization () const
 
void SetNuclearPolarization (G4NuclearPolarization *)
 
void SetAngularMomentum (const G4ThreeVector &)
 
G4ThreeVector GetAngularMomentum () const
 

Friends

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

Detailed Description

Definition at line 65 of file G4Fragment.hh.

Constructor & Destructor Documentation

◆ G4Fragment() [1/4]

G4Fragment::G4Fragment ( )

Definition at line 54 of file G4Fragment.cc.

54 :
55 theA(0),
56 theZ(0),
57 theExcitationEnergy(0.0),
58 theGroundStateMass(0.0),
59 theMomentum(G4LorentzVector(0,0,0,0)),
60 thePolarization(nullptr),
61 creatorModel(-1),
62 numberOfParticles(0),
63 numberOfCharged(0),
64 numberOfHoles(0),
65 numberOfChargedHoles(0),
66 numberOfShellElectrons(0),
67 xLevel(0),
68 theParticleDefinition(nullptr),
69 spin(0.0),
70 theCreationTime(0.0)
71{}
CLHEP::HepLorentzVector G4LorentzVector

◆ ~G4Fragment()

G4Fragment::~G4Fragment ( )

Definition at line 93 of file G4Fragment.cc.

94{}

◆ G4Fragment() [2/4]

G4Fragment::G4Fragment ( const G4Fragment right)

Definition at line 74 of file G4Fragment.cc.

74 :
75 theA(right.theA),
76 theZ(right.theZ),
77 theExcitationEnergy(right.theExcitationEnergy),
78 theGroundStateMass(right.theGroundStateMass),
79 theMomentum(right.theMomentum),
80 thePolarization(right.thePolarization),
81 creatorModel(right.creatorModel),
82 numberOfParticles(right.numberOfParticles),
83 numberOfCharged(right.numberOfCharged),
84 numberOfHoles(right.numberOfHoles),
85 numberOfChargedHoles(right.numberOfChargedHoles),
86 numberOfShellElectrons(right.numberOfShellElectrons),
87 xLevel(right.xLevel),
88 theParticleDefinition(right.theParticleDefinition),
89 spin(right.spin),
90 theCreationTime(right.theCreationTime)
91{}

◆ G4Fragment() [3/4]

G4Fragment::G4Fragment ( G4int  A,
G4int  Z,
const G4LorentzVector aMomentum,
G4bool  warning = true 
)

Definition at line 96 of file G4Fragment.cc.

96 :
97 theA(A),
98 theZ(Z),
99 theExcitationEnergy(0.0),
100 theGroundStateMass(0.0),
101 theMomentum(aMomentum),
102 thePolarization(nullptr),
103 creatorModel(-1),
104 numberOfParticles(0),
105 numberOfCharged(0),
106 numberOfHoles(0),
107 numberOfChargedHoles(0),
108 numberOfShellElectrons(0),
109 xLevel(0),
110 theParticleDefinition(nullptr),
111 spin(0.0),
112 theCreationTime(0.0)
113{
114 if(theA > 0) {
115 CalculateGroundStateMass();
116 CalculateExcitationEnergy(warning);
117 }
118}

◆ G4Fragment() [4/4]

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

Definition at line 121 of file G4Fragment.cc.

122 :
123 theA(0),
124 theZ(0),
125 theExcitationEnergy(0.0),
126 theMomentum(aMomentum),
127 thePolarization(nullptr),
128 creatorModel(-1),
129 numberOfParticles(0),
130 numberOfCharged(0),
131 numberOfHoles(0),
132 numberOfChargedHoles(0),
133 numberOfShellElectrons(0),
134 xLevel(0),
135 theParticleDefinition(aParticleDefinition),
136 spin(0.0),
137 theCreationTime(0.0)
138{
139 if(aParticleDefinition->GetPDGEncoding() != 22 &&
140 aParticleDefinition->GetPDGEncoding() != 11) {
141 G4String text = "G4Fragment::G4Fragment constructor for gamma used for "
142 + aParticleDefinition->GetParticleName();
143 throw G4HadronicException(__FILE__, __LINE__, text);
144 }
145 theGroundStateMass = aParticleDefinition->GetPDGMass();
146}
const G4String & GetParticleName() const

Member Function Documentation

◆ ComputeGroundStateMass()

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

Definition at line 248 of file G4Fragment.hh.

249{
251}
static G4double GetNuclearMass(const G4double A, const G4double Z)

Referenced by G4PhotonEvaporation::GetEmissionProbability().

◆ GetA()

G4double G4Fragment::GetA ( ) const
inline

Definition at line 315 of file G4Fragment.hh.

316{
317 return G4double(theA);
318}
double G4double
Definition: G4Types.hh:83

◆ GetA_asInt()

G4int G4Fragment::GetA_asInt ( ) const
inline

Definition at line 258 of file G4Fragment.hh.

259{
260 return theA;
261}

Referenced by G4NeutronRadCapture::ApplyYourself(), G4Evaporation::BreakFragment(), G4FermiBreakUpVI::BreakFragment(), G4ExcitationHandler::BreakItUp(), G4InuclEvaporation::BreakItUp(), G4WilsonAblationModel::BreakItUp(), G4StatMF::BreakItUp(), G4UnstableFragmentBreakUp::BreakUpChain(), G4PhotonEvaporation::BreakUpChain(), G4GEMProbability::CalcAlphaParam(), G4NeutronEvaporationProbability::CalcAlphaParam(), G4GEMProbability::CalcBetaParam(), G4NeutronEvaporationProbability::CalcBetaParam(), G4GNASHTransitions::CalculateProbability(), G4PreCompoundTransitions::CalculateProbability(), G4StatMFMacroCanonical::ChooseAandZ(), G4StatMFMicroCanonical::ChooseAandZ(), G4CascadeCheckBalance::collide(), G4GEMProbabilityVI::ComputeTotalProbability(), G4InuclNuclei::copy(), G4InuclCollider::deexcite(), G4AblaInterface::DeExcite(), G4PreCompoundModel::DeExcite(), G4FissionProbability::EmissionProbability(), G4PhotonEvaporation::EmittedFragment(), G4CompetitiveFission::EmittedFragment(), G4CascadeDeexciteBase::explosion(), G4StatMFMacroCanonical::G4StatMFMacroCanonical(), G4GEMProbability::GetCoulombBarrier(), G4EvaporationChannel::GetEmissionProbability(), G4GEMChannel::GetEmissionProbability(), G4GEMChannelVI::GetEmissionProbability(), G4PhotonEvaporation::GetEmissionProbability(), G4CompetitiveFission::GetEmissionProbability(), G4CascadeDeexciteBase::getTargetData(), G4VPreCompoundFragment::Initialize(), G4GNASHTransitions::PerformTransition(), G4PreCompoundTransitions::PerformTransition(), and G4EvaporationProbability::TotalProbability().

◆ GetAngularMomentum()

G4ThreeVector G4Fragment::GetAngularMomentum ( ) const

Definition at line 254 of file G4Fragment.cc.

255{
256 G4ThreeVector v(0.0,0.0,spin);
257 return v;
258}

Referenced by G4AblaInterface::DeExcite().

◆ GetBindingEnergy()

G4double G4Fragment::GetBindingEnergy ( ) const
inline

Definition at line 293 of file G4Fragment.hh.

294{
295 return (theA-theZ)*CLHEP::neutron_mass_c2 + theZ*CLHEP::proton_mass_c2
296 - theGroundStateMass;
297}

◆ GetCreationTime()

G4double G4Fragment::GetCreationTime ( ) const
inline

◆ GetCreatorModelType()

G4int G4Fragment::GetCreatorModelType ( ) const
inline

Definition at line 399 of file G4Fragment.hh.

400{
401 return creatorModel;
402}

◆ GetExcitationEnergy()

G4double G4Fragment::GetExcitationEnergy ( ) const
inline

Definition at line 275 of file G4Fragment.hh.

276{
277 return theExcitationEnergy;
278}

Referenced by G4NeutronRadCapture::ApplyYourself(), G4ParaFissionModel::ApplyYourself(), G4Evaporation::BreakFragment(), G4FermiBreakUpVI::BreakFragment(), G4ExcitationHandler::BreakItUp(), G4InuclEvaporation::BreakItUp(), G4WilsonAblationModel::BreakItUp(), G4StatMF::BreakItUp(), G4UnstableFragmentBreakUp::BreakUpChain(), G4PhotonEvaporation::BreakUpChain(), G4GNASHTransitions::CalculateProbability(), G4PreCompoundTransitions::CalculateProbability(), G4GEMProbabilityVI::ComputeTotalProbability(), G4InuclNuclei::copy(), G4ITDecay::DecayIt(), G4AblaInterface::DeExcite(), G4PreCompoundModel::DeExcite(), G4FissionProbability::EmissionProbability(), G4GEMProbability::EmissionProbability(), G4PhotonEvaporation::EmittedFragment(), G4CompetitiveFission::EmittedFragment(), G4CascadeDeexciteBase::explosion(), G4GEMProbability::GetCoulombBarrier(), G4EvaporationChannel::GetEmissionProbability(), G4GEMChannel::GetEmissionProbability(), G4GEMChannelVI::GetEmissionProbability(), G4PhotonEvaporation::GetEmissionProbability(), G4CompetitiveFission::GetEmissionProbability(), G4CascadeDeexciteBase::getTargetData(), G4VPreCompoundFragment::Initialize(), G4PreCompoundIon::ProbabilityDistributionFunction(), G4PreCompoundNucleon::ProbabilityDistributionFunction(), G4HETCChargedFragment::SampleKineticEnergy(), G4HETCNeutron::SampleKineticEnergy(), G4GammaTransition::SampleTransition(), and G4EvaporationProbability::TotalProbability().

◆ GetFloatingLevelNumber()

G4int G4Fragment::GetFloatingLevelNumber ( ) const
inline

Definition at line 419 of file G4Fragment.hh.

420{
421 return xLevel;
422}

Referenced by G4ITDecay::DecayIt().

◆ GetGroundStateMass()

◆ GetMomentum()

◆ GetNuclearPolarization()

G4NuclearPolarization * G4Fragment::GetNuclearPolarization ( ) const
inline

Definition at line 455 of file G4Fragment.hh.

456{
457 return thePolarization;
458}

Referenced by G4PhotonEvaporation::EmittedFragment().

◆ GetNumberOfCharged()

◆ GetNumberOfChargedHoles()

G4int G4Fragment::GetNumberOfChargedHoles ( ) const
inline

Definition at line 362 of file G4Fragment.hh.

363{
364 return numberOfChargedHoles;
365}

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

◆ GetNumberOfElectrons()

G4int G4Fragment::GetNumberOfElectrons ( ) const
inline

Definition at line 389 of file G4Fragment.hh.

390{
391 return numberOfShellElectrons;
392}

Referenced by G4GammaTransition::SampleTransition().

◆ GetNumberOfExcitons()

G4int G4Fragment::GetNumberOfExcitons ( ) const
inline

Definition at line 332 of file G4Fragment.hh.

333{
334 return numberOfParticles + numberOfHoles;
335}

Referenced by G4PreCompoundModel::DeExcite().

◆ GetNumberOfHoles()

◆ GetNumberOfParticles()

◆ GetParticleDefinition()

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

Definition at line 430 of file G4Fragment.hh.

431{
432 return theParticleDefinition;
433}

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

◆ GetSpin()

G4double G4Fragment::GetSpin ( ) const
inline

Definition at line 409 of file G4Fragment.hh.

410{
411 return spin;
412}

◆ GetZ()

G4double G4Fragment::GetZ ( ) const
inline

Definition at line 310 of file G4Fragment.hh.

311{
312 return G4double(theZ);
313}

◆ GetZ_asInt()

G4int G4Fragment::GetZ_asInt ( ) const
inline

Definition at line 263 of file G4Fragment.hh.

264{
265 return theZ;
266}

Referenced by G4NeutronRadCapture::ApplyYourself(), G4Evaporation::BreakFragment(), G4FermiBreakUpVI::BreakFragment(), G4ExcitationHandler::BreakItUp(), G4InuclEvaporation::BreakItUp(), G4WilsonAblationModel::BreakItUp(), G4StatMF::BreakItUp(), G4UnstableFragmentBreakUp::BreakUpChain(), G4PhotonEvaporation::BreakUpChain(), G4GEMProbability::CalcAlphaParam(), G4TritonEvaporationProbability::CalcAlphaParam(), G4AlphaEvaporationProbability::CalcAlphaParam(), G4DeuteronEvaporationProbability::CalcAlphaParam(), G4He3EvaporationProbability::CalcAlphaParam(), G4ProtonEvaporationProbability::CalcAlphaParam(), G4GNASHTransitions::CalculateProbability(), G4PreCompoundTransitions::CalculateProbability(), G4StatMFMacroCanonical::ChooseAandZ(), G4StatMFMicroCanonical::ChooseAandZ(), G4CascadeCheckBalance::collide(), G4GEMProbabilityVI::ComputeTotalProbability(), G4InuclNuclei::copy(), G4AblaInterface::DeExcite(), G4PreCompoundModel::DeExcite(), G4FissionProbability::EmissionProbability(), G4PhotonEvaporation::EmittedFragment(), G4CompetitiveFission::EmittedFragment(), G4CascadeDeexciteBase::explosion(), G4GEMProbability::GetCoulombBarrier(), G4EvaporationChannel::GetEmissionProbability(), G4GEMChannel::GetEmissionProbability(), G4GEMChannelVI::GetEmissionProbability(), G4PhotonEvaporation::GetEmissionProbability(), G4CompetitiveFission::GetEmissionProbability(), G4CascadeDeexciteBase::getTargetData(), G4VPreCompoundFragment::Initialize(), G4GNASHTransitions::PerformTransition(), G4PreCompoundTransitions::PerformTransition(), G4GammaTransition::SampleTransition(), and G4EvaporationProbability::TotalProbability().

◆ NuclearPolarization()

G4NuclearPolarization * G4Fragment::NuclearPolarization ( )
inline

Definition at line 450 of file G4Fragment.hh.

451{
452 return thePolarization;
453}

◆ operator delete()

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

Definition at line 233 of file G4Fragment.hh.

234{
235 pFragmentAllocator()->FreeSingle((G4Fragment *) aFragment);
236}
G4DLLIMPORT G4Allocator< G4Fragment > *& pFragmentAllocator()
Definition: G4Fragment.cc:45

◆ operator new()

void * G4Fragment::operator new ( size_t  )
inline

Definition at line 227 of file G4Fragment.hh.

228{
230 return (void*) pFragmentAllocator()->MallocSingle();
231}

◆ operator!=()

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

Definition at line 176 of file G4Fragment.cc.

177{
178 return (this != (G4Fragment *) &right);
179}

◆ operator=()

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

Definition at line 148 of file G4Fragment.cc.

149{
150 if (this != &right) {
151 theA = right.theA;
152 theZ = right.theZ;
153 theExcitationEnergy = right.theExcitationEnergy;
154 theGroundStateMass = right.theGroundStateMass;
155 theMomentum = right.theMomentum;
156 thePolarization = right.thePolarization;
157 creatorModel = right.creatorModel;
158 numberOfParticles = right.numberOfParticles;
159 numberOfCharged = right.numberOfCharged;
160 numberOfHoles = right.numberOfHoles;
161 numberOfChargedHoles = right.numberOfChargedHoles;
162 numberOfShellElectrons = right.numberOfShellElectrons;
163 xLevel = right.xLevel;
164 theParticleDefinition = right.theParticleDefinition;
165 spin = right.spin;
166 theCreationTime = right.theCreationTime;
167 }
168 return *this;
169}

◆ operator==()

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

Definition at line 171 of file G4Fragment.cc.

172{
173 return (this == (G4Fragment *) &right);
174}

◆ SetA()

void G4Fragment::SetA ( G4double  value)
inline

Definition at line 326 of file G4Fragment.hh.

327{
328 theA = G4lrint(value);
329 CalculateGroundStateMass();
330}
int G4lrint(double ad)
Definition: templates.hh:134

◆ SetAngularMomentum()

void G4Fragment::SetAngularMomentum ( const G4ThreeVector v)

Definition at line 249 of file G4Fragment.cc.

250{
251 spin = v.mag();
252}
double mag() const

Referenced by G4INCLXXInterface::ApplyYourself().

◆ SetCreationTime()

void G4Fragment::SetCreationTime ( G4double  time)
inline

◆ SetCreatorModelType()

void G4Fragment::SetCreatorModelType ( G4int  value)
inline

Definition at line 404 of file G4Fragment.hh.

405{
406 creatorModel = value;
407}

◆ SetExcEnergyAndMomentum()

void G4Fragment::SetExcEnergyAndMomentum ( G4double  eexc,
const G4LorentzVector v 
)
inline

Definition at line 285 of file G4Fragment.hh.

287{
288 theExcitationEnergy = eexc;
289 theMomentum.set(0.0, 0.0, 0.0, theGroundStateMass + eexc);
290 theMomentum.boost(v.boostVector());
291}
Hep3Vector boostVector() const
HepLorentzVector & boost(double, double, double)
void set(double x, double y, double z, double t)

Referenced by G4NeutrinoNucleusModel::CoherentPion(), G4NeutrinoNucleusModel::FinalBarion(), and G4GammaTransition::SampleTransition().

◆ SetFloatingLevelNumber()

void G4Fragment::SetFloatingLevelNumber ( G4int  value)
inline

Definition at line 424 of file G4Fragment.hh.

425{
426 xLevel = value;
427}

◆ SetMomentum()

◆ SetNuclearPolarization()

void G4Fragment::SetNuclearPolarization ( G4NuclearPolarization p)
inline

Definition at line 460 of file G4Fragment.hh.

461{
462 thePolarization = p;
463}

Referenced by G4PhotonEvaporation::BreakUpChain(), and G4PhotonEvaporation::EmittedFragment().

◆ SetNumberOfCharged()

void G4Fragment::SetNumberOfCharged ( G4int  value)
inline

Definition at line 381 of file G4Fragment.hh.

382{
383 numberOfCharged = value;
384 if(value > numberOfParticles) {
385 NumberOfExitationWarning("SetNumberOfCharged");
386 }
387}

Referenced by G4PreCompoundEmission::PerformEmission(), G4GNASHTransitions::PerformTransition(), G4PreCompoundTransitions::PerformTransition(), G4GeneratorPrecompoundInterface::Propagate(), and G4GeneratorPrecompoundInterface::PropagateNuclNucl().

◆ SetNumberOfElectrons()

void G4Fragment::SetNumberOfElectrons ( G4int  value)
inline

Definition at line 394 of file G4Fragment.hh.

395{
396 numberOfShellElectrons = value;
397}

Referenced by G4GammaTransition::SampleTransition().

◆ SetNumberOfExcitedParticle()

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

Definition at line 348 of file G4Fragment.hh.

349{
350 numberOfParticles = valueTot;
351 numberOfCharged = valueP;
352 if(valueTot < valueP) {
353 NumberOfExitationWarning("SetNumberOfExcitedParticle");
354 }
355}

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

◆ SetNumberOfHoles()

◆ SetNumberOfParticles()

◆ SetParticleDefinition()

void G4Fragment::SetParticleDefinition ( const G4ParticleDefinition p)
inline

Definition at line 435 of file G4Fragment.hh.

436{
437 theParticleDefinition = p;
438}

◆ SetSpin()

void G4Fragment::SetSpin ( G4double  value)
inline

Definition at line 414 of file G4Fragment.hh.

415{
416 spin = value;
417}

Referenced by G4FermiBreakUpVI::BreakFragment().

◆ SetZ()

void G4Fragment::SetZ ( G4double  value)
inline

Definition at line 320 of file G4Fragment.hh.

321{
322 theZ = G4lrint(value);
323 CalculateGroundStateMass();
324}

◆ SetZandA_asInt()

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 181 of file G4Fragment.cc.

182{
183 std::ios::fmtflags old_floatfield = out.flags();
184 out.setf(std::ios::floatfield);
185
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);
189
190 // Store user's precision setting and reset to (3) here: back-compatibility
191 std::streamsize floatPrec = out.precision();
192
193 out << std::setprecision(3)
194 << ", U = " << theFragment.GetExcitationEnergy()/CLHEP::MeV
195 << " MeV ";
196 if(theFragment.GetCreatorModelType() >= 0) {
197 out << " creatorModelType= " << theFragment.GetCreatorModelType();
198 }
199 if(theFragment.GetCreationTime() > 0.0) {
200 out << " Time= " << theFragment.GetCreationTime()/CLHEP::ns << " ns";
201 }
202 out << G4endl
203 << " P = ("
204 << theFragment.GetMomentum().x()/CLHEP::MeV << ","
205 << theFragment.GetMomentum().y()/CLHEP::MeV << ","
206 << theFragment.GetMomentum().z()/CLHEP::MeV
207 << ") MeV E = "
208 << theFragment.GetMomentum().t()/CLHEP::MeV << " MeV"
209 << G4endl;
210
211 out << " #spin= " << theFragment.GetSpin()
212 << " #floatLevelNo= " << theFragment.GetFloatingLevelNumber() << " ";
213
214 if (theFragment.GetNumberOfExcitons() != 0) {
215 out << " "
216 << "#Particles= " << theFragment.GetNumberOfParticles()
217 << ", #Charged= " << theFragment.GetNumberOfCharged()
218 << ", #Holes= " << theFragment.GetNumberOfHoles()
219 << ", #ChargedHoles= " << theFragment.GetNumberOfChargedHoles();
220 }
221 out << G4endl;
222 if(theFragment.GetNuclearPolarization()) {
223 out << *(theFragment.GetNuclearPolarization());
224 }
225 //out << G4endl;
226 out.setf(old_floatfield,std::ios::floatfield);
227 out.precision(floatPrec);
228
229 return out;
230}
#define G4endl
Definition: G4ios.hh:57
G4int GetNumberOfParticles() const
Definition: G4Fragment.hh:337
G4int GetNumberOfHoles() const
Definition: G4Fragment.hh:357
G4NuclearPolarization * GetNuclearPolarization() const
Definition: G4Fragment.hh:455
G4int GetNumberOfChargedHoles() const
Definition: G4Fragment.hh:362
G4double GetExcitationEnergy() const
Definition: G4Fragment.hh:275
const G4LorentzVector & GetMomentum() const
Definition: G4Fragment.hh:299
G4double GetCreationTime() const
Definition: G4Fragment.hh:440
G4double GetSpin() const
Definition: G4Fragment.hh:409
G4int GetFloatingLevelNumber() const
Definition: G4Fragment.hh:419
G4int GetNumberOfExcitons() const
Definition: G4Fragment.hh:332
G4int GetCreatorModelType() const
Definition: G4Fragment.hh:399
G4int GetNumberOfCharged() const
Definition: G4Fragment.hh:342

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