#include <G4INCLNNToNNOmegaChannel.hh>
Definition at line 47 of file G4INCLNNToNNOmegaChannel.hh.
G4INCL::NNToNNOmegaChannel::~NNToNNOmegaChannel |
( |
| ) |
|
|
virtual |
Implements G4INCL::IChannel.
Definition at line 62 of file G4INCLNNToNNOmegaChannel.cc.
68 list.push_back(particle1);
69 list.push_back(particle2);
70 fs->addModifiedParticle(particle1);
71 fs->addModifiedParticle(particle2);
79 const ThreeVector &rcolnucleon1 = particle1->
getPosition();
80 const ThreeVector &rcolnucleon2 = particle2->
getPosition();
81 const ThreeVector rcol = (rcolnucleon1+rcolnucleon2)*0.5;
82 const ThreeVector zero;
84 Particle *omegaCreated =
new Particle(omegaType,zero,rcol);
85 list.push_back(omegaCreated);
86 fs->addCreatedParticle(omegaCreated);
ParticleType getNucleonType(const G4int isosp)
Get the type of nucleon.
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: