34#define INCLXX_IN_GEANT4_MODE 1
49 const G4double PiNToMultiPionsChannel::angularSlope = 15.;
57 std::fill(isosp, isosp+4, 0);
81 list.push_back(nucleon);
86 isospinRepartition(ipi);
91 pion->setType(pionType);
94 for(
G4int i=1; i<npion; ++i) {
98 list.push_back(newPion);
107 void PiNToMultiPionsChannel::isospinRepartition(
G4int ipi) {
109 const G4int itot=ipi*ind2;
140 else if (itot == 0) {
162 else if (itot == -2) {
217 else if (itot == 0) {
248 else if (itot == 2) {
void addModifiedParticle(Particle *p)
void addCreatedParticle(Particle *p)
void setType(ParticleType t)
virtual ~PiNToMultiPionsChannel()
PiNToMultiPionsChannel(const G4int, Particle *, Particle *)
void fillFinalState(FinalState *fs)
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
G4int getIsospin(const ParticleType t)
Get the isospin of a particle.
ParticleType getNucleonType(const G4int isosp)
Get the type of nucleon.
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.
Adapter const & getAdapter()