34#define INCLXX_IN_GEANT4_MODE 1
49 const G4double NpiToSK2piChannel::angularSlope = 6.;
52 : particle1(p1), particle2(p2)
106 if(iso == 3 || iso == -3){
112 else if(rdm*13. < 5.){
118 else if(rdm*13. < 7.){
123 else if(rdm*13. < 8.){
128 else if(rdm*13. < 12.){
139 else if(pion->getType() ==
PiZero){
145 else if(rdm*14. < 4.){
151 else if(rdm*14. < 5.){
156 else if(rdm*14. < 6.){
161 else if(rdm*14. < 10.){
167 else if(rdm*14. < 11.){
172 else if(rdm*14. < 12.){
190 else if(rdm*15. < 3.){
195 else if(rdm*15. < 4.){
200 else if(rdm*15. < 5.){
206 else if(rdm*15. < 7.){
211 else if(rdm*15. < 11.){
216 else if(rdm*15. < 13.){
231 nucleon->setParentResonancePDGCode(0);
232 nucleon->setParentResonanceID(0);
233 pion->setParentResonancePDGCode(0);
234 pion->setParentResonanceID(0);
237 list.push_back(nucleon);
238 list.push_back(pion);
244 list.push_back(kaon);
245 list.push_back(pion2);
void addModifiedParticle(Particle *p)
void addCreatedParticle(Particle *p)
virtual ~NpiToSK2piChannel()
NpiToSK2piChannel(Particle *, Particle *)
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.