34#define INCLXX_IN_GEANT4_MODE 1
49 const G4double NNToNSKpiChannel::angularSlope = 2.;
52 : particle1(p1), particle2(p2)
91 else if(rdm * 36. < 18.){
96 else if(rdm * 36. < 22.){
101 else if(rdm * 36. < 24.){
107 else if(rdm * 36. < 28.){
112 else if(rdm * 36. < 30.){
118 else if(rdm * 36. < 32.){
137 else if(rdm * 36. < 18.){
142 else if(rdm * 36. < 22.){
147 else if(rdm * 36. < 24.){
153 else if(rdm * 36. < 28.){
158 else if(rdm * 36. < 30.){
164 else if(rdm * 36. < 32.){
177 else if(rdm*36. < 4.){
183 else if(rdm*36. < 6.){
189 else if(rdm*36. < 8.){
195 else if(rdm*36. < 9.){
201 else if(rdm*36. < 18.){
207 else if(rdm*36. < 27.){
213 else if(rdm*36. < 28.){
219 else if(rdm*36. < 30.){
225 else if(rdm*36. < 32.){
239 list.push_back(particle1);
240 list.push_back(particle2);
246 list.push_back(kaon);
247 list.push_back(pion);
void addModifiedParticle(Particle *p)
void addCreatedParticle(Particle *p)
virtual ~NNToNSKpiChannel()
NNToNSKpiChannel(Particle *, Particle *)
void fillFinalState(FinalState *fs)
const G4INCL::ThreeVector & getPosition() const
const G4INCL::ThreeVector & getMomentum() 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.