#include <G4INCLRecombinationChannel.hh>
◆ RecombinationChannel()
Definition at line 57 of file G4INCLRecombinationChannel.cc.
58 :theNucleus(n)
59 {
60 if(p1->isDelta()) {
61
62 theDelta = p1;
63 theNucleon = p2;
64 } else {
65
66 theDelta = p2;
67 theNucleon = p1;
68 }
69 }
◆ ~RecombinationChannel()
G4INCL::RecombinationChannel::~RecombinationChannel |
( |
| ) |
|
|
virtual |
◆ getFinalState()
FinalState * G4INCL::RecombinationChannel::getFinalState |
( |
| ) |
|
|
virtual |
Implements G4INCL::IChannel.
Definition at line 75 of file G4INCLRecombinationChannel.cc.
76 {
77
79
80
83
86 break;
89 break;
92 break;
94
97 break;
98 default:
99 ERROR(
"Unknown particle type in RecombinationChannel" << std::endl);
100 break;
101 }
102
103
105
106
108
109
112
113
116
117
118 FinalState *fs = new FinalState();
119 fs->addModifiedParticle(theDelta);
120 fs->addModifiedParticle(theNucleon);
121
122 return fs;
123
124 }
static G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
static G4double momentumInCM(Particle const *const p1, Particle const *const p2)
gives the momentum in the CM frame of two particles.
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.
static ThreeVector normVector(G4double norm=1.)
The documentation for this class was generated from the following files: