#include <G4INCLRecombinationChannel.hh>
◆ RecombinationChannel()
G4INCL::RecombinationChannel::RecombinationChannel |
( |
Particle * | p1, |
|
|
Particle * | p2 ) |
Definition at line 56 of file G4INCLRecombinationChannel.cc.
57 {
58 if(p1->isDelta()) {
59
60 theDelta = p1;
61 theNucleon = p2;
62 } else {
63
64 theDelta = p2;
65 theNucleon = p1;
66 }
67 }
◆ ~RecombinationChannel()
G4INCL::RecombinationChannel::~RecombinationChannel |
( |
| ) |
|
|
virtual |
◆ fillFinalState()
void G4INCL::RecombinationChannel::fillFinalState |
( |
FinalState * | fs | ) |
|
|
virtual |
Implements G4INCL::IChannel.
Definition at line 73 of file G4INCLRecombinationChannel.cc.
74 {
75
77
78
81
84 break;
87 break;
90 break;
92
95 break;
96 default:
97 INCL_ERROR(
"Unknown particle type in RecombinationChannel" <<
'\n');
98 break;
99 }
100
101
103
104
106
107
110
111
114
115
116 fs->addModifiedParticle(theDelta);
117 fs->addModifiedParticle(theNucleon);
118
119 }
G4double adjustEnergyFromMomentum()
Recompute the energy to match the momentum.
virtual void setMomentum(const G4INCL::ThreeVector &momentum)
G4INCL::ParticleType getType() const
void setType(ParticleType t)
G4double getMass() const
Get the cached particle mass.
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
G4double momentumInCM(Particle const *const p1, Particle const *const p2)
gives the momentum in the CM frame of two particles.
ThreeVector normVector(G4double norm=1.)
The documentation for this class was generated from the following files: