Implements G4INCL::IChannel.
Definition at line 61 of file G4INCLEtaNToPiPiNChannel.cc.
61 {
62
64 Particle * eta;
68 } else {
71 }
72
74
76
78
82 if (rs1*6. > 5.) pionType=
PiZero;
83 else if (rs1*6. > 3.) {
86 }
87 else {
90 }
91 }
92 else {
93 if (rs1*6. > 5.) pionType=
PiZero;
94 else if (rs1*6. > 3.) {
97 }
98 else {
101 }
102 }
103
104
107 ParticleList list;
109 list.push_back(eta);
110 const ThreeVector &rcolpion = eta->getPosition();
111 const ThreeVector
zero;
112 Particle *newPion =
new Particle(pionType,
zero,rcolpion);
113 list.push_back(newPion);
114 fs->addModifiedParticle(
nucleon);
115 fs->addModifiedParticle(eta);
116 fs->addCreatedParticle(newPion);
117
119
120 }
static const G4double angularSlope
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
G4int getIsospin(const ParticleType t)
Get the isospin of a particle.
ParticleType getNucleonType(const G4int isosp)
Get the type of nucleon.
void generateBiased(const G4double sqrtS, ParticleList &particles, const size_t index, const G4double slope)
Generate a biased event in the CM system.
G4bool nucleon(G4int ityp)
static const G4LorentzVector zero(0., 0., 0., 0.)
References G4INCL::FinalState::addCreatedParticle(), G4INCL::FinalState::addModifiedParticle(), angularSlope, G4INCL::PhaseSpaceGenerator::generateBiased(), G4INCL::ParticleTable::getIsospin(), G4INCL::ParticleTable::getNucleonType(), G4INCL::Particle::getPosition(), ind2, G4INCL::Particle::isNucleon(), G4InuclParticleNames::nucleon(), particle1, particle2, G4INCL::PiMinus, G4INCL::PiPlus, G4INCL::PiZero, G4INCL::Particle::setType(), G4INCL::Random::shoot(), G4INCL::KinematicsUtils::totalEnergyInCM(), and anonymous_namespace{G4CascadeDeexciteBase.cc}::zero.