34#define INCLXX_IN_GEANT4_MODE 1
49 const G4double NpiToLK2piChannel::angularSlope = 6.;
52 : particle1(p1), particle2(p2)
90 if(iso == 3 || iso == -3){
100 else if(pion->getType() ==
PiZero){
105 else if(rdm*7. < 5.){
120 else if(rdm*5. < 4.){
134 nucleon->setParentResonancePDGCode(0);
135 nucleon->setParentResonanceID(0);
136 pion->setParentResonancePDGCode(0);
137 pion->setParentResonanceID(0);
140 list.push_back(nucleon);
141 list.push_back(pion);
147 list.push_back(kaon);
148 list.push_back(pion2);
void addModifiedParticle(Particle *p)
void addCreatedParticle(Particle *p)
virtual ~NpiToLK2piChannel()
NpiToLK2piChannel(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.
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.