Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4SPBaryon Class Reference

#include <G4SPBaryon.hh>

Public Member Functions

 G4SPBaryon (G4Proton *aProton)
 
 G4SPBaryon (G4Neutron *aNeutron)
 
 G4SPBaryon (G4Lambda *aLambda)
 
 G4SPBaryon (G4SigmaPlus *aSigmaPlus)
 
 G4SPBaryon (G4SigmaZero *aSigmaZero)
 
 G4SPBaryon (G4SigmaMinus *aSigmaMinus)
 
 G4SPBaryon (G4XiMinus *aXiMinus)
 
 G4SPBaryon (G4XiZero *aXiZero)
 
 G4SPBaryon (G4OmegaMinus *anOmegaMinus)
 
 G4SPBaryon (G4AntiProton *aAntiProton)
 
 G4SPBaryon (G4AntiNeutron *aAntiNeutron)
 
 G4SPBaryon (G4AntiLambda *aAntiLambda)
 
 G4SPBaryon (G4AntiSigmaPlus *aAntiSigmaPlus)
 
 G4SPBaryon (G4AntiSigmaZero *aAntiSigmaZero)
 
 G4SPBaryon (G4AntiSigmaMinus *aAntiSigmaMinus)
 
 G4SPBaryon (G4AntiXiMinus *aAntiXiMinus)
 
 G4SPBaryon (G4AntiXiZero *aAntiXiZero)
 
 G4SPBaryon (G4AntiOmegaMinus *anAntiOmegaMinus)
 
 G4SPBaryon (G4ParticleDefinition *aDefinition)
 
 ~G4SPBaryon ()
 
 G4SPBaryon (G4LambdacPlus *aLambdacPlus)
 
 G4SPBaryon (G4AntiLambdacPlus *aAntiLambdacPlus)
 
 G4SPBaryon (G4SigmacPlusPlus *aSigmacPlusPlus)
 
 G4SPBaryon (G4AntiSigmacPlusPlus *aAntiSigmacPlusPlus)
 
 G4SPBaryon (G4SigmacPlus *aSigmacPlus)
 
 G4SPBaryon (G4AntiSigmacPlus *aAntiSigmacPlus)
 
 G4SPBaryon (G4SigmacZero *aSigmacZero)
 
 G4SPBaryon (G4AntiSigmacZero *aAntiSigmacZero)
 
 G4SPBaryon (G4XicPlus *aXicPlus)
 
 G4SPBaryon (G4AntiXicPlus *aAntiXicPlus)
 
 G4SPBaryon (G4XicZero *aXicZero)
 
 G4SPBaryon (G4AntiXicZero *aAntiXicZero)
 
 G4SPBaryon (G4OmegacZero *aOmegacZero)
 
 G4SPBaryon (G4AntiOmegacZero *aAntiOmegacZero)
 
 G4SPBaryon (G4Lambdab *aLambdab)
 
 G4SPBaryon (G4AntiLambdab *aAntiLambdab)
 
 G4SPBaryon (G4SigmabPlus *aSigmabPlus)
 
 G4SPBaryon (G4AntiSigmabPlus *aAntiSigmabPlus)
 
 G4SPBaryon (G4SigmabZero *aSigmabZero)
 
 G4SPBaryon (G4AntiSigmabZero *aAntiSigmabZero)
 
 G4SPBaryon (G4SigmabMinus *aSigmabMinus)
 
 G4SPBaryon (G4AntiSigmabMinus *aAntiSigmabMinus)
 
 G4SPBaryon (G4XibZero *aXibZero)
 
 G4SPBaryon (G4AntiXibZero *aAntiXibZero)
 
 G4SPBaryon (G4XibMinus *aXibMinus)
 
 G4SPBaryon (G4AntiXibMinus *aAntiXibMinus)
 
 G4SPBaryon (G4OmegabMinus *aOmegabMinus)
 
 G4SPBaryon (G4AntiOmegabMinus *aAntiOmegabMinus)
 
G4ParticleDefinitionGetDefinition ()
 
void SampleQuarkAndDiquark (G4int &quark, G4int &diQuark) const
 
void FindDiquark (G4int quark, G4int &diQuark) const
 
G4int FindQuark (G4int diQuark) const
 
G4double GetProbability (G4int diQuark) const
 
G4int MatchDiQuarkAndGetQuark (const G4SPBaryon &aBaryon, G4int &aDiQuark) const
 

Detailed Description

Definition at line 85 of file G4SPBaryon.hh.

Constructor & Destructor Documentation

◆ G4SPBaryon() [1/47]

G4SPBaryon::G4SPBaryon ( G4Proton aProton)

Definition at line 158 of file G4SPBaryon.cc.

160{
161 theDefinition = aProton;
162 thePartonInfo.push_back(new G4SPPartonInfo(2203, 1, 1./3./2.)); // uu_1, d
163 thePartonInfo.push_back(new G4SPPartonInfo(2103, 2, 1./6.*2.)); // ud_1, u
164 thePartonInfo.push_back(new G4SPPartonInfo(2101, 2, 1./2.)); // ud_0, u
165}

◆ G4SPBaryon() [2/47]

G4SPBaryon::G4SPBaryon ( G4Neutron aNeutron)

Definition at line 177 of file G4SPBaryon.cc.

179{
180 theDefinition = aNeutron;
181 thePartonInfo.push_back(new G4SPPartonInfo(2103, 1, 1./6.*2.)); // ud_1, d
182 thePartonInfo.push_back(new G4SPPartonInfo(2101, 1, 1./2. )); // ud_0, d
183 thePartonInfo.push_back(new G4SPPartonInfo(1103, 2, 1./3./2 )); // dd_1, u
184}

◆ G4SPBaryon() [3/47]

G4SPBaryon::G4SPBaryon ( G4Lambda aLambda)

Definition at line 196 of file G4SPBaryon.cc.

198{
199 theDefinition = aLambda;
200 thePartonInfo.push_back(new G4SPPartonInfo(2103, 3, 1./3.)); // ud_1, s
201 thePartonInfo.push_back(new G4SPPartonInfo(3203, 1, 1./4.)); // su_1, d
202 thePartonInfo.push_back(new G4SPPartonInfo(3201, 1, 1./12.)); // su_0, d
203 thePartonInfo.push_back(new G4SPPartonInfo(3103, 2, 1./4.)); // sd_1, u
204 thePartonInfo.push_back(new G4SPPartonInfo(3101, 2, 1./12.)); // sd_0, u
205}

◆ G4SPBaryon() [4/47]

G4SPBaryon::G4SPBaryon ( G4SigmaPlus aSigmaPlus)

Definition at line 219 of file G4SPBaryon.cc.

221{
222 theDefinition = aSigmaPlus;
223 thePartonInfo.push_back(new G4SPPartonInfo(2203, 3, 1./3.)); // uu_1, s
224 thePartonInfo.push_back(new G4SPPartonInfo(3203, 2, 1./6.)); // su_1, u
225 thePartonInfo.push_back(new G4SPPartonInfo(3201, 2, 1./2.)); // su_0, u
226}

◆ G4SPBaryon() [5/47]

G4SPBaryon::G4SPBaryon ( G4SigmaZero aSigmaZero)

Definition at line 238 of file G4SPBaryon.cc.

240{
241 theDefinition = aSigmaZero;
242 thePartonInfo.push_back(new G4SPPartonInfo(2103, 3, 1./3.)); // ud_1, s
243 thePartonInfo.push_back(new G4SPPartonInfo(3203, 1, 1./12.)); // su_1, d
244 thePartonInfo.push_back(new G4SPPartonInfo(3201, 1, 1./4.)); // su_0, d
245 thePartonInfo.push_back(new G4SPPartonInfo(3103, 2, 1./12.)); // sd_1, u
246 thePartonInfo.push_back(new G4SPPartonInfo(3101, 2, 1./4.)); // sd_0, u
247}

◆ G4SPBaryon() [6/47]

G4SPBaryon::G4SPBaryon ( G4SigmaMinus aSigmaMinus)

Definition at line 261 of file G4SPBaryon.cc.

263{
264 theDefinition = aSigmaMinus;
265 thePartonInfo.push_back(new G4SPPartonInfo(1103, 3, 1./3.)); // dd_1, s
266 thePartonInfo.push_back(new G4SPPartonInfo(3103, 1, 1./6.)); // sd_1, d
267 thePartonInfo.push_back(new G4SPPartonInfo(3101, 1, 1./2.)); // sd_0, d
268}

◆ G4SPBaryon() [7/47]

G4SPBaryon::G4SPBaryon ( G4XiMinus aXiMinus)

Definition at line 299 of file G4SPBaryon.cc.

301{
302 theDefinition = aXiMinus;
303 thePartonInfo.push_back(new G4SPPartonInfo(3103, 3, 1./6.)); // sd_1, s
304 thePartonInfo.push_back(new G4SPPartonInfo(3101, 3, 1./2.)); // sd_0, s
305 thePartonInfo.push_back(new G4SPPartonInfo(3303, 1, 1./3.)); // ss_1, d
306}

◆ G4SPBaryon() [8/47]

G4SPBaryon::G4SPBaryon ( G4XiZero aXiZero)

Definition at line 280 of file G4SPBaryon.cc.

282{
283 theDefinition = aXiZero;
284 thePartonInfo.push_back(new G4SPPartonInfo(3203, 3, 1./6.)); // su_1, s
285 thePartonInfo.push_back(new G4SPPartonInfo(3201, 3, 1./2.)); // su_0, s
286 thePartonInfo.push_back(new G4SPPartonInfo(3303, 2, 1./3.)); // ss_1, u
287}

◆ G4SPBaryon() [9/47]

G4SPBaryon::G4SPBaryon ( G4OmegaMinus anOmegaMinus)

Definition at line 318 of file G4SPBaryon.cc.

320{
321 theDefinition = anOmegaMinus;
322 thePartonInfo.push_back(new G4SPPartonInfo(3303, 3, 1.)); // ss_1, s
323}

◆ G4SPBaryon() [10/47]

G4SPBaryon::G4SPBaryon ( G4AntiProton aAntiProton)

Definition at line 167 of file G4SPBaryon.cc.

169{
170 theDefinition = aAntiProton;
171 thePartonInfo.push_back(new G4SPPartonInfo(-2203, -1, 1./3.));
172 thePartonInfo.push_back(new G4SPPartonInfo(-2103, -2, 1./6.));
173 thePartonInfo.push_back(new G4SPPartonInfo(-2101, -2, 1./2.));
174}

◆ G4SPBaryon() [11/47]

G4SPBaryon::G4SPBaryon ( G4AntiNeutron aAntiNeutron)

Definition at line 186 of file G4SPBaryon.cc.

188{
189 theDefinition = aAntiNeutron;
190 thePartonInfo.push_back(new G4SPPartonInfo(-2103, -1, 1./6.));
191 thePartonInfo.push_back(new G4SPPartonInfo(-2101, -1, 1./2.));
192 thePartonInfo.push_back(new G4SPPartonInfo(-1103, -2, 1./3.));
193}

◆ G4SPBaryon() [12/47]

G4SPBaryon::G4SPBaryon ( G4AntiLambda aAntiLambda)

Definition at line 207 of file G4SPBaryon.cc.

209{
210 theDefinition = aAntiLambda;
211 thePartonInfo.push_back(new G4SPPartonInfo(-2103, -3, 1./3.));
212 thePartonInfo.push_back(new G4SPPartonInfo(-3203, -1, 1./4.));
213 thePartonInfo.push_back(new G4SPPartonInfo(-3201, -1, 1./12.));
214 thePartonInfo.push_back(new G4SPPartonInfo(-3103, -2, 1./4.));
215 thePartonInfo.push_back(new G4SPPartonInfo(-3101, -2, 1./12.));
216}

◆ G4SPBaryon() [13/47]

G4SPBaryon::G4SPBaryon ( G4AntiSigmaPlus aAntiSigmaPlus)

Definition at line 228 of file G4SPBaryon.cc.

230{
231 theDefinition = aAntiSigmaPlus;
232 thePartonInfo.push_back(new G4SPPartonInfo(-2203, -3, 1./3.));
233 thePartonInfo.push_back(new G4SPPartonInfo(-3203, -2, 1./6.));
234 thePartonInfo.push_back(new G4SPPartonInfo(-3201, -2, 1./2.));
235}

◆ G4SPBaryon() [14/47]

G4SPBaryon::G4SPBaryon ( G4AntiSigmaZero aAntiSigmaZero)

Definition at line 249 of file G4SPBaryon.cc.

251{
252 theDefinition = aAntiSigmaZero;
253 thePartonInfo.push_back(new G4SPPartonInfo(-2103, -3, 1./3.));
254 thePartonInfo.push_back(new G4SPPartonInfo(-3203, -1, 1./12.));
255 thePartonInfo.push_back(new G4SPPartonInfo(-3201, -1, 1./4.));
256 thePartonInfo.push_back(new G4SPPartonInfo(-3103, -2, 1./12.));
257 thePartonInfo.push_back(new G4SPPartonInfo(-3101, -2, 1./4.));
258}

◆ G4SPBaryon() [15/47]

G4SPBaryon::G4SPBaryon ( G4AntiSigmaMinus aAntiSigmaMinus)

Definition at line 270 of file G4SPBaryon.cc.

272{
273 theDefinition = aAntiSigmaMinus;
274 thePartonInfo.push_back(new G4SPPartonInfo(-1103, -3, 1./3.));
275 thePartonInfo.push_back(new G4SPPartonInfo(-3103, -1, 1./6.));
276 thePartonInfo.push_back(new G4SPPartonInfo(-3101, -1, 1./2.));
277}

◆ G4SPBaryon() [16/47]

G4SPBaryon::G4SPBaryon ( G4AntiXiMinus aAntiXiMinus)

Definition at line 308 of file G4SPBaryon.cc.

310{
311 theDefinition = aAntiXiMinus;
312 thePartonInfo.push_back(new G4SPPartonInfo(-3103, -3, 1./6.));
313 thePartonInfo.push_back(new G4SPPartonInfo(-3101, -3, 1./2.));
314 thePartonInfo.push_back(new G4SPPartonInfo(-3303, -1, 1./3.));
315}

◆ G4SPBaryon() [17/47]

G4SPBaryon::G4SPBaryon ( G4AntiXiZero aAntiXiZero)

Definition at line 289 of file G4SPBaryon.cc.

291{
292 theDefinition = aAntiXiZero;
293 thePartonInfo.push_back(new G4SPPartonInfo(-3203, -3, 1./6.));
294 thePartonInfo.push_back(new G4SPPartonInfo(-3201, -3, 1./2.));
295 thePartonInfo.push_back(new G4SPPartonInfo(-3303, -2, 1./3.));
296}

◆ G4SPBaryon() [18/47]

G4SPBaryon::G4SPBaryon ( G4AntiOmegaMinus anAntiOmegaMinus)

Definition at line 325 of file G4SPBaryon.cc.

327{
328 theDefinition = anAntiOmegaMinus;
329 thePartonInfo.push_back(new G4SPPartonInfo(-3303, -3, 1.));
330}

◆ G4SPBaryon() [19/47]

G4SPBaryon::G4SPBaryon ( G4ParticleDefinition aDefinition)

Definition at line 334 of file G4SPBaryon.cc.

336{
337 theDefinition = aDefinition;
338 if (theDefinition == G4ParticleTable::GetParticleTable()->FindParticle(2224)) // Delta++
339 {
340 thePartonInfo.push_back(new G4SPPartonInfo(2203, 2, 1.)); // uu_1, u
341 }
342 else if (theDefinition == G4ParticleTable::GetParticleTable()->FindParticle(-2224)) // anti Delta++
343 {
344 thePartonInfo.push_back(new G4SPPartonInfo(-2203, -2, 1.));
345 }
346 else if (theDefinition == G4ParticleTable::GetParticleTable()->FindParticle(2214)) // Delta+
347 {
348 thePartonInfo.push_back(new G4SPPartonInfo(2203, 1, 1./3.)); // uu_1, d
349 thePartonInfo.push_back(new G4SPPartonInfo(2103, 2, 2./3.)); // ud_1, u
350 }
351 else if (theDefinition == G4ParticleTable::GetParticleTable()->FindParticle(-2214)) // anti Delta+
352 {
353 thePartonInfo.push_back(new G4SPPartonInfo(-2203, -1, 1./3.));
354 thePartonInfo.push_back(new G4SPPartonInfo(-2103, -2, 2./3.));
355 }
356 else if (theDefinition == G4ParticleTable::GetParticleTable()->FindParticle(2114)) // Delta0
357 {
358 thePartonInfo.push_back(new G4SPPartonInfo(2103, 1, 2./3.)); // ud_1, d
359 thePartonInfo.push_back(new G4SPPartonInfo(1103, 2, 1./3.)); // dd_1, u
360 }
361 else if (theDefinition == G4ParticleTable::GetParticleTable()->FindParticle(-2114)) // anti Delta0
362 {
363 thePartonInfo.push_back(new G4SPPartonInfo(-2103, -1, 2./3.));
364 thePartonInfo.push_back(new G4SPPartonInfo(-2103, -2, 1./3.));
365 }
366 else if (theDefinition == G4ParticleTable::GetParticleTable()->FindParticle(1114)) // Delta-
367 {
368 thePartonInfo.push_back(new G4SPPartonInfo(1103, 1, 1.)); // dd_1, d
369 }
370 else if (theDefinition == G4ParticleTable::GetParticleTable()->FindParticle(-1114)) // anti Delta-
371 {
372 thePartonInfo.push_back(new G4SPPartonInfo(-1103, -1, 1.));
373 }
374}
static G4ParticleTable * GetParticleTable()

◆ ~G4SPBaryon()

G4SPBaryon::~G4SPBaryon ( )

Definition at line 377 of file G4SPBaryon.cc.

378{
379 for (unsigned int i=0;i<thePartonInfo.size(); i++) delete thePartonInfo[i];
380}

◆ G4SPBaryon() [20/47]

G4SPBaryon::G4SPBaryon ( G4LambdacPlus aLambdacPlus)

Definition at line 386 of file G4SPBaryon.cc.

386 {
387 // lambda_c+(udc) treated as lambda(uds) with s replaced by c.
388 theDefinition = aLambdacPlus;
389 thePartonInfo.push_back(new G4SPPartonInfo(2103, 4, 1./3.)); // ud_1, c
390 thePartonInfo.push_back(new G4SPPartonInfo(4203, 1, 1./4.)); // cu_1, d
391 thePartonInfo.push_back(new G4SPPartonInfo(4201, 1, 1./12.)); // cu_0, d
392 thePartonInfo.push_back(new G4SPPartonInfo(4103, 2, 1./4.)); // cd_1, u
393 thePartonInfo.push_back(new G4SPPartonInfo(4101, 2, 1./12.)); // cd_0, u
394}

◆ G4SPBaryon() [21/47]

G4SPBaryon::G4SPBaryon ( G4AntiLambdacPlus aAntiLambdacPlus)

Definition at line 396 of file G4SPBaryon.cc.

396 {
397 theDefinition = aAntiLambdacPlus;
398 thePartonInfo.push_back(new G4SPPartonInfo(-2103, -4, 1./3.));
399 thePartonInfo.push_back(new G4SPPartonInfo(-4203, -1, 1./4.));
400 thePartonInfo.push_back(new G4SPPartonInfo(-4201, -1, 1./12.));
401 thePartonInfo.push_back(new G4SPPartonInfo(-4103, -2, 1./4.));
402 thePartonInfo.push_back(new G4SPPartonInfo(-4101, -2, 1./12.));
403}

◆ G4SPBaryon() [22/47]

G4SPBaryon::G4SPBaryon ( G4SigmacPlusPlus aSigmacPlusPlus)

Definition at line 406 of file G4SPBaryon.cc.

406 {
407 // sigma_c++(uuc) treated as sigma+(uus) with s replaced by c.
408 theDefinition = aSigmacPlusPlus;
409 thePartonInfo.push_back(new G4SPPartonInfo(2203, 4, 1./3.)); // uu_1, c
410 thePartonInfo.push_back(new G4SPPartonInfo(4203, 2, 1./6.)); // cu_1, u
411 thePartonInfo.push_back(new G4SPPartonInfo(4201, 2, 1./2.)); // cu_0, u
412}

◆ G4SPBaryon() [23/47]

G4SPBaryon::G4SPBaryon ( G4AntiSigmacPlusPlus aAntiSigmacPlusPlus)

Definition at line 414 of file G4SPBaryon.cc.

414 {
415 theDefinition = aAntiSigmacPlusPlus;
416 thePartonInfo.push_back(new G4SPPartonInfo(-2203, -4, 1./3.));
417 thePartonInfo.push_back(new G4SPPartonInfo(-4203, -2, 1./6.));
418 thePartonInfo.push_back(new G4SPPartonInfo(-4201, -2, 1./2.));
419}

◆ G4SPBaryon() [24/47]

G4SPBaryon::G4SPBaryon ( G4SigmacPlus aSigmacPlus)

Definition at line 422 of file G4SPBaryon.cc.

422 {
423 // sigma_c+(udc) treated as sigma0(uds) with s replaced by c.
424 theDefinition = aSigmacPlus;
425 thePartonInfo.push_back(new G4SPPartonInfo(2103, 4, 1./3.)); // ud_1, c
426 thePartonInfo.push_back(new G4SPPartonInfo(4203, 1, 1./12.)); // cu_1, d
427 thePartonInfo.push_back(new G4SPPartonInfo(4201, 1, 1./4.)); // cu_0, d
428 thePartonInfo.push_back(new G4SPPartonInfo(4103, 2, 1./12.)); // cd_1, u
429 thePartonInfo.push_back(new G4SPPartonInfo(4101, 2, 1./4.)); // cd_0, u
430}

◆ G4SPBaryon() [25/47]

G4SPBaryon::G4SPBaryon ( G4AntiSigmacPlus aAntiSigmacPlus)

Definition at line 432 of file G4SPBaryon.cc.

432 {
433 theDefinition = aAntiSigmacPlus;
434 thePartonInfo.push_back(new G4SPPartonInfo(-2103, -4, 1./3.));
435 thePartonInfo.push_back(new G4SPPartonInfo(-4203, -1, 1./12.));
436 thePartonInfo.push_back(new G4SPPartonInfo(-4201, -1, 1./4.));
437 thePartonInfo.push_back(new G4SPPartonInfo(-4103, -2, 1./12.));
438 thePartonInfo.push_back(new G4SPPartonInfo(-4101, -2, 1./4.));
439}

◆ G4SPBaryon() [26/47]

G4SPBaryon::G4SPBaryon ( G4SigmacZero aSigmacZero)

Definition at line 442 of file G4SPBaryon.cc.

442 {
443 // sigma_c0(ddc) treated as sigma-(dds) replacing s with c.
444 theDefinition = aSigmacZero;
445 thePartonInfo.push_back(new G4SPPartonInfo(1103, 4, 1./3.)); // dd_1, c
446 thePartonInfo.push_back(new G4SPPartonInfo(4103, 1, 1./6.)); // cd_1, d
447 thePartonInfo.push_back(new G4SPPartonInfo(4101, 1, 1./2.)); // cd_0, d
448}

◆ G4SPBaryon() [27/47]

G4SPBaryon::G4SPBaryon ( G4AntiSigmacZero aAntiSigmacZero)

Definition at line 450 of file G4SPBaryon.cc.

450 {
451 theDefinition = aAntiSigmacZero;
452 thePartonInfo.push_back(new G4SPPartonInfo(-1103, -4, 1./3.));
453 thePartonInfo.push_back(new G4SPPartonInfo(-4103, -1, 1./6.));
454 thePartonInfo.push_back(new G4SPPartonInfo(-4101, -1, 1./2.));
455}

◆ G4SPBaryon() [28/47]

G4SPBaryon::G4SPBaryon ( G4XicPlus aXicPlus)

Definition at line 458 of file G4SPBaryon.cc.

458 {
459 // xi_c+(usc) treated as xi0(uss) replacing s with c.
460 theDefinition = aXicPlus;
461 thePartonInfo.push_back(new G4SPPartonInfo(3203, 4, 1./6.)); // su_1, c
462 thePartonInfo.push_back(new G4SPPartonInfo(3201, 4, 1./2.)); // su_0, c
463 thePartonInfo.push_back(new G4SPPartonInfo(4303, 2, 1./3.)); // cs_1, u
464}

◆ G4SPBaryon() [29/47]

G4SPBaryon::G4SPBaryon ( G4AntiXicPlus aAntiXicPlus)

Definition at line 466 of file G4SPBaryon.cc.

466 {
467 theDefinition = aAntiXicPlus;
468 thePartonInfo.push_back(new G4SPPartonInfo(-3203, -4, 1./6.));
469 thePartonInfo.push_back(new G4SPPartonInfo(-3201, -4, 1./2.));
470 thePartonInfo.push_back(new G4SPPartonInfo(-4303, -2, 1./3.));
471}

◆ G4SPBaryon() [30/47]

G4SPBaryon::G4SPBaryon ( G4XicZero aXicZero)

Definition at line 474 of file G4SPBaryon.cc.

474 {
475 // xi_c0(dsc) treated as xi-(dss) replacing s with c.
476 theDefinition = aXicZero;
477 thePartonInfo.push_back(new G4SPPartonInfo(3103, 4, 1./6.)); // sd_1, c
478 thePartonInfo.push_back(new G4SPPartonInfo(3101, 4, 1./2.)); // sd_0, c
479 thePartonInfo.push_back(new G4SPPartonInfo(4303, 1, 1./3.)); // cs_1, d
480}

◆ G4SPBaryon() [31/47]

G4SPBaryon::G4SPBaryon ( G4AntiXicZero aAntiXicZero)

Definition at line 482 of file G4SPBaryon.cc.

482 {
483 theDefinition = aAntiXicZero;
484 thePartonInfo.push_back(new G4SPPartonInfo(-3103, -4, 1./6.));
485 thePartonInfo.push_back(new G4SPPartonInfo(-3101, -4, 1./2.));
486 thePartonInfo.push_back(new G4SPPartonInfo(-4303, -1, 1./3.));
487}

◆ G4SPBaryon() [32/47]

G4SPBaryon::G4SPBaryon ( G4OmegacZero aOmegacZero)

Definition at line 490 of file G4SPBaryon.cc.

490 {
491 // omega_c0(ssc) treated as omega-(sss) with s replaced by c.
492 theDefinition = aOmegacZero;
493 thePartonInfo.push_back(new G4SPPartonInfo(3303, 4, 1.)); // ss_1, c
494}

◆ G4SPBaryon() [33/47]

G4SPBaryon::G4SPBaryon ( G4AntiOmegacZero aAntiOmegacZero)

Definition at line 496 of file G4SPBaryon.cc.

496 {
497 theDefinition = aAntiOmegacZero;
498 thePartonInfo.push_back(new G4SPPartonInfo(-3303, -4, 1.));
499}

◆ G4SPBaryon() [34/47]

G4SPBaryon::G4SPBaryon ( G4Lambdab aLambdab)

Definition at line 502 of file G4SPBaryon.cc.

502 {
503 // lambda_b(udb) treated as lambda-(uds) replacing s with b.
504 theDefinition = aLambdab;
505 thePartonInfo.push_back(new G4SPPartonInfo(2103, 5, 1./3.)); // ud_1, b
506 thePartonInfo.push_back(new G4SPPartonInfo(5203, 1, 1./4.)); // bu_1, d
507 thePartonInfo.push_back(new G4SPPartonInfo(5201, 1, 1./12.)); // bu_0, d
508 thePartonInfo.push_back(new G4SPPartonInfo(5103, 2, 1./4.)); // bd_1, u
509 thePartonInfo.push_back(new G4SPPartonInfo(5101, 2, 1./12.)); // bd_0, u
510}

◆ G4SPBaryon() [35/47]

G4SPBaryon::G4SPBaryon ( G4AntiLambdab aAntiLambdab)

Definition at line 512 of file G4SPBaryon.cc.

512 {
513 theDefinition = aAntiLambdab;
514 thePartonInfo.push_back(new G4SPPartonInfo(-2103, -5, 1./3.));
515 thePartonInfo.push_back(new G4SPPartonInfo(-5203, -1, 1./4.));
516 thePartonInfo.push_back(new G4SPPartonInfo(-5201, -1, 1./12.));
517 thePartonInfo.push_back(new G4SPPartonInfo(-5103, -2, 1./4.));
518 thePartonInfo.push_back(new G4SPPartonInfo(-5101, -2, 1./12.));
519}

◆ G4SPBaryon() [36/47]

G4SPBaryon::G4SPBaryon ( G4SigmabPlus aSigmabPlus)

Definition at line 522 of file G4SPBaryon.cc.

522 {
523 // sigma_b+(uub) treated as sigma+(uus) replacing s with b.
524 theDefinition = aSigmabPlus;
525 thePartonInfo.push_back(new G4SPPartonInfo(2203, 5, 1./3.)); // uu_1, b
526 thePartonInfo.push_back(new G4SPPartonInfo(5203, 2, 1./6.)); // bu_1, u
527 thePartonInfo.push_back(new G4SPPartonInfo(5201, 2, 1./2.)); // bu_0, u
528}

◆ G4SPBaryon() [37/47]

G4SPBaryon::G4SPBaryon ( G4AntiSigmabPlus aAntiSigmabPlus)

Definition at line 530 of file G4SPBaryon.cc.

530 {
531 theDefinition = aAntiSigmabPlus;
532 thePartonInfo.push_back(new G4SPPartonInfo(-2203, -5, 1./3.));
533 thePartonInfo.push_back(new G4SPPartonInfo(-5203, -2, 1./6.));
534 thePartonInfo.push_back(new G4SPPartonInfo(-5201, -2, 1./2.));
535}

◆ G4SPBaryon() [38/47]

G4SPBaryon::G4SPBaryon ( G4SigmabZero aSigmabZero)

Definition at line 538 of file G4SPBaryon.cc.

538 {
539 // sigma_b0(udb) treated as sigma0(uds) replacing s with b.
540 theDefinition = aSigmabZero;
541 thePartonInfo.push_back(new G4SPPartonInfo(2103, 5, 1./3.)); // ud_1, b
542 thePartonInfo.push_back(new G4SPPartonInfo(5203, 1, 1./12.)); // bu_1, d
543 thePartonInfo.push_back(new G4SPPartonInfo(5201, 1, 1./4.)); // bu_0, d
544 thePartonInfo.push_back(new G4SPPartonInfo(5103, 2, 1./12.)); // bd_1, u
545 thePartonInfo.push_back(new G4SPPartonInfo(5101, 2, 1./4.)); // bd_0, u
546}

◆ G4SPBaryon() [39/47]

G4SPBaryon::G4SPBaryon ( G4AntiSigmabZero aAntiSigmabZero)

Definition at line 548 of file G4SPBaryon.cc.

548 {
549 theDefinition = aAntiSigmabZero;
550 thePartonInfo.push_back(new G4SPPartonInfo(-2103, -5, 1./3.));
551 thePartonInfo.push_back(new G4SPPartonInfo(-5203, -1, 1./12.));
552 thePartonInfo.push_back(new G4SPPartonInfo(-5201, -1, 1./4.));
553 thePartonInfo.push_back(new G4SPPartonInfo(-5103, -2, 1./12.));
554 thePartonInfo.push_back(new G4SPPartonInfo(-5101, -2, 1./4.));
555}

◆ G4SPBaryon() [40/47]

G4SPBaryon::G4SPBaryon ( G4SigmabMinus aSigmabMinus)

Definition at line 558 of file G4SPBaryon.cc.

558 {
559 // sigma_b-(ddb) treated as sigma-(dds) replacing s with b.
560 theDefinition = aSigmabMinus;
561 thePartonInfo.push_back(new G4SPPartonInfo(1103, 5, 1./3.)); // dd_1, b
562 thePartonInfo.push_back(new G4SPPartonInfo(5103, 1, 1./6.)); // bd_1, d
563 thePartonInfo.push_back(new G4SPPartonInfo(5101, 1, 1./2.)); // bd_0, d
564}

◆ G4SPBaryon() [41/47]

G4SPBaryon::G4SPBaryon ( G4AntiSigmabMinus aAntiSigmabMinus)

Definition at line 566 of file G4SPBaryon.cc.

566 {
567 theDefinition = aAntiSigmabMinus;
568 thePartonInfo.push_back(new G4SPPartonInfo(-1103, -5, 1./3.));
569 thePartonInfo.push_back(new G4SPPartonInfo(-5103, -1, 1./6.));
570 thePartonInfo.push_back(new G4SPPartonInfo(-5101, -1, 1./2.));
571}

◆ G4SPBaryon() [42/47]

G4SPBaryon::G4SPBaryon ( G4XibZero aXibZero)

Definition at line 574 of file G4SPBaryon.cc.

574 {
575 // xi_b0(usb) treated as xi0(uss) replacing s with b.
576 theDefinition = aXibZero;
577 thePartonInfo.push_back(new G4SPPartonInfo(3203, 5, 1./6.)); // su_1, b
578 thePartonInfo.push_back(new G4SPPartonInfo(3201, 5, 1./2.)); // su_0, b
579 thePartonInfo.push_back(new G4SPPartonInfo(5303, 2, 1./3.)); // bs_1, u
580}

◆ G4SPBaryon() [43/47]

G4SPBaryon::G4SPBaryon ( G4AntiXibZero aAntiXibZero)

Definition at line 582 of file G4SPBaryon.cc.

582 {
583 theDefinition = aAntiXibZero;
584 thePartonInfo.push_back(new G4SPPartonInfo(-3203, -5, 1./6.));
585 thePartonInfo.push_back(new G4SPPartonInfo(-3201, -5, 1./2.));
586 thePartonInfo.push_back(new G4SPPartonInfo(-5303, -2, 1./3.));
587}

◆ G4SPBaryon() [44/47]

G4SPBaryon::G4SPBaryon ( G4XibMinus aXibMinus)

Definition at line 590 of file G4SPBaryon.cc.

590 {
591 // xi_b-(dsb) treated as xi-(dss) replacing s with b.
592 theDefinition = aXibMinus;
593 thePartonInfo.push_back(new G4SPPartonInfo(3103, 5, 1./6.)); // sd_1, b
594 thePartonInfo.push_back(new G4SPPartonInfo(3101, 5, 1./2.)); // sd_0, b
595 thePartonInfo.push_back(new G4SPPartonInfo(5303, 1, 1./3.)); // bs_1, d
596}

◆ G4SPBaryon() [45/47]

G4SPBaryon::G4SPBaryon ( G4AntiXibMinus aAntiXibMinus)

Definition at line 598 of file G4SPBaryon.cc.

598 {
599 theDefinition = aAntiXibMinus;
600 thePartonInfo.push_back(new G4SPPartonInfo(-3103, -5, 1./6.));
601 thePartonInfo.push_back(new G4SPPartonInfo(-3101, -5, 1./2.));
602 thePartonInfo.push_back(new G4SPPartonInfo(-5303, -1, 1./3.));
603}

◆ G4SPBaryon() [46/47]

G4SPBaryon::G4SPBaryon ( G4OmegabMinus aOmegabMinus)

Definition at line 606 of file G4SPBaryon.cc.

606 {
607 // omega_b-(ssb) treated as omega-(sss) replacing s with b.
608 theDefinition = aOmegabMinus;
609 thePartonInfo.push_back(new G4SPPartonInfo(3303, 5, 1.)); // ss_1, b
610}

◆ G4SPBaryon() [47/47]

G4SPBaryon::G4SPBaryon ( G4AntiOmegabMinus aAntiOmegabMinus)

Definition at line 612 of file G4SPBaryon.cc.

612 {
613 theDefinition = aAntiOmegabMinus;
614 thePartonInfo.push_back(new G4SPPartonInfo(-3303, -5, 1.));
615}

Member Function Documentation

◆ FindDiquark()

void G4SPBaryon::FindDiquark ( G4int  quark,
G4int diQuark 
) const

Definition at line 129 of file G4SPBaryon.cc.

131{
132 typedef std::vector<G4SPPartonInfo *>::const_iterator iter;
133 G4double sum = 0;
134 iter i;
135 for (i=thePartonInfo.begin() ; i!=thePartonInfo.end(); i++)
136 {
137 if (std::abs((*i)->GetQuark()) == std::abs(quark))
138 {
139 sum += (*i)->GetProbability();
140 }
141 }
142 G4double random = G4UniformRand();
143 G4double running = 0;
144 for (i=thePartonInfo.begin() ; i!=thePartonInfo.end(); i++) {
145 if (std::abs((*i)->GetQuark()) == std::abs(quark))
146 {
147 running += (*i)->GetProbability();
148 if (running/sum >= random)
149 {
150 diQuark = (*i)->GetDiQuark();
151 break;
152 }
153 }
154 }
155}
double G4double
Definition: G4Types.hh:83
#define G4UniformRand()
Definition: Randomize.hh:52

Referenced by G4BaryonSplitter::FindDiquark().

◆ FindQuark()

G4int G4SPBaryon::FindQuark ( G4int  diQuark) const

Definition at line 32 of file G4SPBaryon.cc.

33{
34 G4double sum = GetProbability(diQuark);
35 G4double random = G4UniformRand();
36 G4double running = 0;
37 G4int Quark(0);
38 typedef std::vector<G4SPPartonInfo *>::const_iterator iter;
39 iter i;
40 for (i = thePartonInfo.begin(); i!=thePartonInfo.end(); i++)
41 {
42 if (std::abs((*i)->GetDiQuark()) == std::abs(diQuark))
43 {
44 running += (*i)->GetProbability();
45 if (running/sum >= random)
46 {
47 Quark = (*i)->GetQuark();
48 break;
49 }
50 }
51 }
52 return Quark;
53}
int G4int
Definition: G4Types.hh:85
G4double GetProbability(G4int diQuark) const
Definition: G4SPBaryon.cc:56

◆ GetDefinition()

G4ParticleDefinition * G4SPBaryon::GetDefinition ( )
inline

Definition at line 146 of file G4SPBaryon.hh.

146{return theDefinition;}

◆ GetProbability()

G4double G4SPBaryon::GetProbability ( G4int  diQuark) const

Definition at line 56 of file G4SPBaryon.cc.

57{
58 G4double sum = 0;
59 typedef std::vector<G4SPPartonInfo *>::const_iterator iter;
60 iter i;
61 for (i = thePartonInfo.begin(); i!=thePartonInfo.end(); i++)
62 {
63 if (std::abs((*i)->GetDiQuark()) == std::abs(diQuark))
64 {
65 sum += (*i)->GetProbability();
66 }
67 }
68 return sum;
69}

Referenced by FindQuark(), and MatchDiQuarkAndGetQuark().

◆ MatchDiQuarkAndGetQuark()

G4int G4SPBaryon::MatchDiQuarkAndGetQuark ( const G4SPBaryon aBaryon,
G4int aDiQuark 
) const

Definition at line 72 of file G4SPBaryon.cc.

74{
75 G4int result=0;
76 typedef std::vector<G4SPPartonInfo *>::const_iterator iter;
77 iter i;
78 G4double running = 0;
79 G4double total = 0;
80 for (i = thePartonInfo.begin(); i!=thePartonInfo.end(); i++)
81 {
82 total += aBaryon.GetProbability((*i)->GetDiQuark());
83 }
84 G4double random = G4UniformRand();
85 for(i = thePartonInfo.begin(); i!=thePartonInfo.end(); i++)
86 {
87 running += aBaryon.GetProbability((*i)->GetDiQuark());
88 if (random<running/total)
89 {
90 result = (*i)->GetQuark(); // (diquark annihilated)
91 aDiQuark = (*i)->GetDiQuark();
92 break;
93 }
94 }
95 return result;
96}
G4double total(Particle const *const p1, Particle const *const p2)

◆ SampleQuarkAndDiquark()

void G4SPBaryon::SampleQuarkAndDiquark ( G4int quark,
G4int diQuark 
) const

Definition at line 99 of file G4SPBaryon.cc.

101{
102 typedef std::vector<G4SPPartonInfo *>::const_iterator iter;
103
104 G4double random = G4UniformRand();
105 G4double sum = 0;
106 iter i;
107
108 for (i=thePartonInfo.begin() ; i!=thePartonInfo.end(); i++)
109 {
110 sum += (*i)->GetProbability();
111 if (sum > random)
112 {
113 if (theDefinition->GetPDGEncoding() < 0)
114 {
115 quark = (*i)->GetDiQuark();
116 diQuark = (*i)->GetQuark();
117 }
118 else
119 {
120 quark = (*i)->GetQuark();
121 diQuark = (*i)->GetDiQuark();
122 }
123 break;
124 }
125 }
126}

Referenced by G4BaryonSplitter::SplitBarion().


The documentation for this class was generated from the following files: