Geant4
10.03
|
#include <G4HadronBuilder.hh>
Public Member Functions | |
G4ParticleDefinition * | Build (G4ParticleDefinition *black, G4ParticleDefinition *white) |
G4ParticleDefinition * | BuildLowSpin (G4ParticleDefinition *black, G4ParticleDefinition *white) |
G4ParticleDefinition * | BuildHighSpin (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 () | |
G4ParticleDefinition * | Meson (G4ParticleDefinition *black, G4ParticleDefinition *white, Spin spin) |
G4ParticleDefinition * | Barion (G4ParticleDefinition *black, G4ParticleDefinition *white, Spin spin) |
Private Attributes | |
G4double | mesonSpinMix |
G4double | barionSpinMix |
std::vector< double > | scalarMesonMixings |
std::vector< double > | vectorMesonMixings |
Definition at line 46 of file G4HadronBuilder.hh.
|
private |
Enumerator | |
---|---|
SpinZero | |
SpinHalf | |
SpinOne | |
SpinThreeHalf |
Definition at line 63 of file G4HadronBuilder.hh.
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.
|
private |
|
private |
Definition at line 171 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().
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(), G4QGSMFragmentation::SplitEandP(), and G4QGSMFragmentation::SplitLast().
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::StopFragmenting().
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().
|
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().
|
private |
Definition at line 70 of file G4HadronBuilder.hh.
Referenced by Build(), and G4HadronBuilder().
|
private |
Definition at line 69 of file G4HadronBuilder.hh.
Referenced by Build(), and G4HadronBuilder().
|
private |
Definition at line 71 of file G4HadronBuilder.hh.
Referenced by G4HadronBuilder(), and Meson().
|
private |
Definition at line 72 of file G4HadronBuilder.hh.
Referenced by G4HadronBuilder(), and Meson().