Geant4  10.01.p02
G4HadronBuilder Class Reference

#include <G4HadronBuilder.hh>

Public Member Functions

G4ParticleDefinitionBuild (G4ParticleDefinition *black, G4ParticleDefinition *white)
 
G4ParticleDefinitionBuildLowSpin (G4ParticleDefinition *black, G4ParticleDefinition *white)
 
G4ParticleDefinitionBuildHighSpin (G4ParticleDefinition *black, G4ParticleDefinition *white)
 
 G4HadronBuilder (G4double mesonMix, G4double barionMix, std::vector< double > scalarMesonMix, std::vector< double > vectorMesonMix)
 

Private Types

enum  Spin { SpinZero =1, SpinHalf =2, SpinOne =3, SpinThreeHalf =4 }
 

Private Member Functions

 G4HadronBuilder ()
 
G4ParticleDefinitionMeson (G4ParticleDefinition *black, G4ParticleDefinition *white, Spin spin)
 
G4ParticleDefinitionBarion (G4ParticleDefinition *black, G4ParticleDefinition *white, Spin spin)
 

Private Attributes

G4double mesonSpinMix
 
G4double barionSpinMix
 
std::vector< double > scalarMesonMixings
 
std::vector< double > vectorMesonMixings
 

Detailed Description

Definition at line 46 of file G4HadronBuilder.hh.

Member Enumeration Documentation

enum G4HadronBuilder::Spin
private
Enumerator
SpinZero 
SpinHalf 
SpinOne 
SpinThreeHalf 

Definition at line 64 of file G4HadronBuilder.hh.

Constructor & Destructor Documentation

G4HadronBuilder::G4HadronBuilder ( G4double  mesonMix,
G4double  barionMix,
std::vector< double >  scalarMesonMix,
std::vector< double >  vectorMesonMix 
)

Definition at line 43 of file G4HadronBuilder.cc.

References barionSpinMix, mesonSpinMix, scalarMesonMixings, and vectorMesonMixings.

G4HadronBuilder::G4HadronBuilder ( )
private

Member Function Documentation

G4ParticleDefinition * G4HadronBuilder::Barion ( G4ParticleDefinition black,
G4ParticleDefinition white,
Spin  spin 
)
private

Definition at line 173 of file G4HadronBuilder.cc.

References G4ParticleTable::FindParticle(), G4cerr, G4endl, G4UniformRand, G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGEncoding(), G4INCL::Math::max(), G4INCL::Math::min(), perCent, SpinHalf, and SpinThreeHalf.

Referenced by Build(), BuildHighSpin(), and BuildLowSpin().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ParticleDefinition * G4HadronBuilder::Build ( G4ParticleDefinition black,
G4ParticleDefinition white 
)

Definition at line 53 of file G4HadronBuilder.cc.

References Barion(), barionSpinMix, G4UniformRand, G4ParticleDefinition::GetParticleSubType(), Meson(), mesonSpinMix, SpinHalf, SpinOne, SpinThreeHalf, and SpinZero.

Referenced by G4LundStringFragmentation::Diquark_AntiDiquark_belowThreshold_lastSplitting(), G4QGSMFragmentation::DiQuarkSplitup(), G4LundStringFragmentation::DiQuarkSplitup(), G4VLongitudinalStringDecay::QuarkSplitup(), and G4QGSMFragmentation::SplitLast().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ParticleDefinition * G4HadronBuilder::BuildHighSpin ( G4ParticleDefinition black,
G4ParticleDefinition white 
)

Definition at line 85 of file G4HadronBuilder.cc.

References Barion(), G4ParticleDefinition::GetParticleSubType(), Meson(), SpinOne, and SpinThreeHalf.

Referenced by G4QGSMFragmentation::SplitEandP(), and G4QGSMFragmentation::StopFragmenting().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ParticleDefinition * G4HadronBuilder::BuildLowSpin ( G4ParticleDefinition black,
G4ParticleDefinition white 
)

Definition at line 73 of file G4HadronBuilder.cc.

References Barion(), G4ParticleDefinition::GetParticleSubType(), Meson(), SpinHalf, and SpinZero.

Referenced by G4VLongitudinalStringDecay::FragmentationMass().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ParticleDefinition * G4HadronBuilder::Meson ( G4ParticleDefinition black,
G4ParticleDefinition white,
Spin  spin 
)
private

Definition at line 96 of file G4HadronBuilder.cc.

References G4ParticleTable::FindParticle(), G4cerr, G4endl, G4UniformRand, G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGEncoding(), perCent, scalarMesonMixings, SpinZero, and vectorMesonMixings.

Referenced by Build(), BuildHighSpin(), and BuildLowSpin().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4HadronBuilder::barionSpinMix
private

Definition at line 71 of file G4HadronBuilder.hh.

Referenced by Build(), and G4HadronBuilder().

G4double G4HadronBuilder::mesonSpinMix
private

Definition at line 70 of file G4HadronBuilder.hh.

Referenced by Build(), and G4HadronBuilder().

std::vector<double> G4HadronBuilder::scalarMesonMixings
private

Definition at line 72 of file G4HadronBuilder.hh.

Referenced by G4HadronBuilder(), and Meson().

std::vector<double> G4HadronBuilder::vectorMesonMixings
private

Definition at line 73 of file G4HadronBuilder.hh.

Referenced by G4HadronBuilder(), and Meson().


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