Implements G4INCL::IChannel.
Definition at line 57 of file G4INCLNNToNLKpiChannel.cc.
57 {
58
59
60
61
62
63
64
66
68
71
74
75 if(iso == 2){
76 if(rdm*4. < 3.){
79 }
80 else if(rdm*12. < 11.){
83 }
84 else{
88 }
89 }
90 else if(iso == -2){
91 if(rdm*4. < 3.){
94 }
95 else if(rdm*12. < 11.){
98 }
99 else{
103 }
104 }
105 else if(rdm*6. < 2.){
109 }
110 else if(rdm*6. < 4.){
114 }
115 else if(rdm*6. < 5.){
119 }
120 else{
124 }
125
126 ParticleList list;
131 const ThreeVector
zero;
132 Particle *
pion =
new Particle(PionType,
zero,rcol1);
133 Particle *kaon =
new Particle(KaonType,
zero,rcol2);
134 list.push_back(kaon);
135 list.push_back(
pion);
136
139
142 fs->addCreatedParticle(kaon);
143 fs->addCreatedParticle(
pion);
144
145 }
static const G4double angularSlope
const G4INCL::ThreeVector & getPosition() const
G4INCL::ParticleType getType() const
void setType(ParticleType t)
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
G4int getIsospin(const ParticleType t)
Get the isospin of a particle.
void generateBiased(const G4double sqrtS, ParticleList &particles, const size_t index, const G4double slope)
Generate a biased event in the CM system.
static const G4LorentzVector zero(0., 0., 0., 0.)
References G4INCL::FinalState::addCreatedParticle(), G4INCL::FinalState::addModifiedParticle(), angularSlope, G4INCL::PhaseSpaceGenerator::generateBiased(), G4INCL::ParticleTable::getIsospin(), G4INCL::Particle::getPosition(), G4INCL::Particle::getType(), G4INCL::KPlus, G4INCL::KZero, G4INCL::Lambda, G4INCL::Neutron, particle1, particle2, G4INCL::PiMinus, G4InuclParticleNames::pion(), G4INCL::PiPlus, G4INCL::PiZero, G4INCL::Proton, G4INCL::Particle::setType(), G4INCL::Random::shoot(), G4INCL::KinematicsUtils::totalEnergyInCM(), and anonymous_namespace{G4CascadeDeexciteBase.cc}::zero.