#include <G4INCLNNOmegaToMultiPionsChannel.hh>
G4INCL::NNOmegaToMultiPionsChannel::NNOmegaToMultiPionsChannel |
( |
const G4int |
npi, |
|
|
Particle * |
p1, |
|
|
Particle * |
p2 |
|
) |
| |
G4INCL::NNOmegaToMultiPionsChannel::~NNOmegaToMultiPionsChannel |
( |
| ) |
|
|
virtual |
void G4INCL::NNOmegaToMultiPionsChannel::fillFinalState |
( |
FinalState * |
fs | ) |
|
|
virtual |
Implements G4INCL::IChannel.
Definition at line 65 of file G4INCLNNOmegaToMultiPionsChannel.cc.
72 list.push_back(particle1);
73 list.push_back(particle2);
74 fs->addModifiedParticle(particle1);
75 fs->addModifiedParticle(particle2);
83 const ThreeVector &rcolnucleon1 = particle1->
getPosition();
84 const ThreeVector &rcolnucleon2 = particle2->
getPosition();
85 const ThreeVector rcol = (rcolnucleon1+rcolnucleon2)*0.5;
86 const ThreeVector zero;
87 for(
G4int i=0; i<npion; ++i) {
89 Particle *
pion =
new Particle(pionType,zero,rcol);
91 fs->addCreatedParticle(pion);
93 Particle *omega =
new Particle(
Omega,zero,rcol);
94 list.push_back(omega);
95 fs->addCreatedParticle(omega);
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.
G4int getIsospin(const ParticleType t)
Get the isospin of a particle.
G4INCL::ParticleType getType() const
const G4INCL::ThreeVector & getPosition() const
void setType(ParticleType t)
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
The documentation for this class was generated from the following files: