#include <G4INCLNSToNSChannel.hh>
Definition at line 47 of file G4INCLNSToNSChannel.hh.
◆ NSToNSChannel()
◆ ~NSToNSChannel()
G4INCL::NSToNSChannel::~NSToNSChannel |
( |
| ) |
|
|
virtual |
◆ fillFinalState()
void G4INCL::NSToNSChannel::fillFinalState |
( |
FinalState * |
fs | ) |
|
|
virtual |
Implements G4INCL::IChannel.
Definition at line 55 of file G4INCLNSToNSChannel.cc.
55 {
56
58 Particle *sigma;
59
63 }
64 else{
67 }
68
71
72
76 }
77 else{
80 }
81
84
85 G4double ey=(sqrtS*sqrtS+my*my-mn*mn)/(2*sqrtS);
86 G4double en=std::sqrt(ey*ey-my*my+mn*mn);
88 sigma->setEnergy(ey);
90
92
93 sigma->setMomentum(mom_hyperon);
94 nucleon->setMomentum(-mom_hyperon);
95
96 sigma->adjustEnergyFromMomentum();
97 nucleon->adjustEnergyFromMomentum();
98
99 fs->addModifiedParticle(
nucleon);
100 fs->addModifiedParticle(sigma);
101
102 }
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
ParticleType getSigmaType(const G4int isosp)
Get the type of sigma.
G4int getIsospin(const ParticleType t)
Get the isospin of a particle.
ParticleType getNucleonType(const G4int isosp)
Get the type of nucleon.
ThreeVector normVector(G4double norm=1.)
G4bool nucleon(G4int ityp)
References G4INCL::FinalState::addModifiedParticle(), G4INCL::Particle::adjustEnergyFromMomentum(), G4INCL::ParticleTable::getIsospin(), G4INCL::Particle::getMass(), G4INCL::ParticleTable::getNucleonType(), G4INCL::ParticleTable::getSigmaType(), G4INCL::Particle::getType(), G4INCL::Particle::isNucleon(), G4INCL::Random::normVector(), G4InuclParticleNames::nucleon(), particle1, particle2, G4INCL::Particle::setEnergy(), G4INCL::Particle::setMomentum(), G4INCL::Particle::setType(), G4INCL::SigmaZero, and G4INCL::KinematicsUtils::totalEnergyInCM().
◆ getFinalState()
◆ INCL_DECLARE_ALLOCATION_POOL()
G4INCL::NSToNSChannel::INCL_DECLARE_ALLOCATION_POOL |
( |
NSToNSChannel |
| ) |
|
|
private |
◆ particle1
Particle* G4INCL::NSToNSChannel::particle1 |
|
private |
◆ particle2
Particle * G4INCL::NSToNSChannel::particle2 |
|
private |
The documentation for this class was generated from the following files: