55 {
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
83
87 }
88 else{
91 }
92
96
97 const std::vector<G4double> BFMM185 = {-0.734, 0.841, 0.905, 3.415, -2.316, 0.775};
98
99
100 const std::vector<G4double> BFMM188 = { -0.442, 0.501, 0.002, 3.434, -1.201, 0.798};
101
102 const std::vector<G4double> BFMM199 = {-2.025, 2.055, -2.355, 6.064, -2.004, 0.798};
103
104 const std::vector<G4double> BFMM491 = {24.125, -20.669, -1.534, -19.573, 4.493, 0.787};
105
106 const std::vector<G4double> BFMM495 = {-0.650, -0.140, -0.058, 5.166, -1.705, 0.777};
107
108
109
110
113
114
116
117
122 if(rdm<0.5){
125 }
126 else{
129 }
130 }
133 if(rdm<0.5){
136 }
137 else{
140 }
141 }
142 else{
144 if(rdm<0.5){
147 }
148 else{
151 }
152 }
153 }
154 else{
157 if(rdm<0.5){
160 }
161 else{
164 }
165 }
168 if(rdm<0.5){
171 }
172 else{
175 }
176 }
177 else{
179 if(rdm<0.5){
182 }
183 else{
186 }
187 }
188 }
189 }
190 else{
194 if(rdm<0.5){
197 }
198 else{
201 }
202 }
205 if(rdm<0.5){
208 }
209 else{
212 }
213 }
214 else{
216 if(rdm<0.5){
219 }
220 else{
223 }
224 }
225 }
226 else{
229 if(rdm<0.5){
232 }
233 else{
236 }
237 }
240 if(rdm<0.5){
243 }
244 else{
247 }
248 }
249 else{
251 if(rdm<0.5){
254 }
255 else{
258 }
259 }
260 }
261 }
262
263 ParticleList list;
264 list.push_back(nucleon);
265 list.push_back(antinucleon);
266 const ThreeVector &rcol =
nucleon->getPosition();
267 const ThreeVector zero;
268 Particle *
pion =
new Particle(PionType,zero,rcol);
269 list.push_back(pion);
270
272
273 fs->addModifiedParticle(nucleon);
274 fs->addModifiedParticle(antinucleon);
275 fs->addCreatedParticle(pion);
276
277 }
G4double compute_xs(const std::vector< G4double > coefficients, const G4double pLab)
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
G4double momentumInLab(Particle const *const p1, Particle const *const p2)
gives the momentum in the lab frame of two particles.
void generate(const G4double sqrtS, ParticleList &particles)
Generate an event in the CM system.
G4bool antinucleon(G4int ityp)
G4bool nucleon(G4int ityp)