#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
62 sigma = particle2;
63 }
64 else{
66 sigma = particle1;
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)
The documentation for this class was generated from the following files: