34#define INCLXX_IN_GEANT4_MODE 1
49 const G4double NpiToNKKbChannel::angularSlope = 6.;
52 : particle1(p1), particle2(p2)
89 if(iso == 3 || iso == -3){
93 else if(pion->getType() ==
PiZero){
113 else if(rdm*5. < 3.){
126 nucleon->setParentResonancePDGCode(0);
127 nucleon->setParentResonanceID(0);
128 pion->setParentResonancePDGCode(0);
129 pion->setParentResonanceID(0);
132 list.push_back(nucleon);
133 list.push_back(pion);
137 list.push_back(kaon);
void addModifiedParticle(Particle *p)
void addCreatedParticle(Particle *p)
NpiToNKKbChannel(Particle *, Particle *)
void fillFinalState(FinalState *fs)
virtual ~NpiToNKKbChannel()
const G4INCL::ThreeVector & getMomentum() const
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
ParticleType getKaonType(const G4int isosp)
Get the type of kaon.
G4int getIsospin(const ParticleType t)
Get the isospin of a particle.
ParticleType getNucleonType(const G4int isosp)
Get the type of nucleon.
ParticleType getAntiKaonType(const G4int isosp)
Get the type of antikaon.
void generateBiased(const G4double sqrtS, ParticleList &particles, const size_t index, const G4double slope)
Generate a biased event in the CM system.