34#define INCLXX_IN_GEANT4_MODE 1
49 const G4double NpiToSKpiChannel::angularSlope = 6.;
52 : particle1(p1), particle2(p2)
95 if(iso == 3 || iso == -3){
100 else if(rdm*9. < 8.){
110 else if(pion->getType() ==
PiZero){
115 else if(rdm*21. < 8.){
120 else if(rdm*21. < 14.){
125 else if(rdm*21. < 17.){
140 else if(rdm*24. < 8.){
145 else if(rdm*24. < 13.){
149 else if(rdm*24. < 21.){
162 nucleon->setParentResonancePDGCode(0);
163 nucleon->setParentResonanceID(0);
164 pion->setParentResonancePDGCode(0);
165 pion->setParentResonanceID(0);
168 list.push_back(nucleon);
169 list.push_back(pion);
173 list.push_back(kaon);
void addModifiedParticle(Particle *p)
void addCreatedParticle(Particle *p)
NpiToSKpiChannel(Particle *, Particle *)
virtual ~NpiToSKpiChannel()
void fillFinalState(FinalState *fs)
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.
ParticleType getSigmaType(const G4int isosp)
Get the type of sigma.
G4int getIsospin(const ParticleType t)
Get the isospin of a particle.
ParticleType getPionType(const G4int isosp)
Get the type of pion.
void generateBiased(const G4double sqrtS, ParticleList &particles, const size_t index, const G4double slope)
Generate a biased event in the CM system.