#include <G4INCLNKToNKChannel.hh>
Definition at line 47 of file G4INCLNKToNKChannel.hh.
◆ NKToNKChannel()
◆ ~NKToNKChannel()
G4INCL::NKToNKChannel::~NKToNKChannel |
( |
| ) |
|
|
virtual |
◆ fillFinalState()
void G4INCL::NKToNKChannel::fillFinalState |
( |
FinalState * |
fs | ) |
|
|
virtual |
Implements G4INCL::IChannel.
Definition at line 55 of file G4INCLNKToNKChannel.cc.
55 {
56
58 Particle *kaon;
59
63 }
64 else{
67 }
68
69
70
71 if(kaon->getType() ==
KZero){
74 }
75 else{
78 }
79
80 ThreeVector mom_kaon;
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
110
112
113 kaon->setMomentum(mom_kaon*norm);
114 nucleon->setMomentum(-mom_kaon*norm);
115
116 kaon->adjustEnergyFromMomentum();
117 nucleon->adjustEnergyFromMomentum();
118
119 fs->addModifiedParticle(
nucleon);
120 fs->addModifiedParticle(kaon);
121
122 }
G4double momentumInCM(Particle const *const p1, Particle const *const p2)
gives the momentum in the CM frame of two particles.
ThreeVector normVector(G4double norm=1.)
G4bool nucleon(G4int ityp)
References G4INCL::FinalState::addModifiedParticle(), G4INCL::Particle::adjustEnergyFromMomentum(), G4INCL::Particle::getType(), G4INCL::Particle::isNucleon(), G4INCL::KPlus, G4INCL::KZero, G4INCL::KinematicsUtils::momentumInCM(), G4INCL::Neutron, G4INCL::Random::normVector(), G4InuclParticleNames::nucleon(), particle1, particle2, G4INCL::Proton, G4INCL::Particle::setMomentum(), and G4INCL::Particle::setType().
◆ getFinalState()
◆ INCL_DECLARE_ALLOCATION_POOL()
G4INCL::NKToNKChannel::INCL_DECLARE_ALLOCATION_POOL |
( |
NKToNKChannel |
| ) |
|
|
private |
◆ particle1
Particle* G4INCL::NKToNKChannel::particle1 |
|
private |
◆ particle2
Particle * G4INCL::NKToNKChannel::particle2 |
|
private |
The documentation for this class was generated from the following files: