#include <G4LightMedia.hh>
|
| G4LightMedia () |
|
| G4LightMedia (const G4LightMedia &right) |
|
| ~G4LightMedia () |
|
G4LightMedia & | operator= (const G4LightMedia &) |
|
G4bool | operator== (const G4LightMedia &right) const |
|
G4bool | operator!= (const G4LightMedia &right) const |
|
G4DynamicParticle * | PionPlusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | PionMinusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | KaonPlusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | KaonZeroShortExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | KaonZeroLongExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | KaonMinusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | ProtonExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | AntiProtonExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | NeutronExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | AntiNeutronExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | LambdaExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | AntiLambdaExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | SigmaPlusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | SigmaMinusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | AntiSigmaPlusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | AntiSigmaMinusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | XiZeroExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | XiMinusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | AntiXiZeroExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | AntiXiMinusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | OmegaMinusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
G4DynamicParticle * | AntiOmegaMinusExchange (const G4HadProjectile *incidentParticle, const G4Nucleus &aNucleus) |
|
Definition at line 40 of file G4LightMedia.hh.
◆ G4LightMedia() [1/2]
G4LightMedia::G4LightMedia |
( |
| ) |
|
|
inline |
◆ G4LightMedia() [2/2]
◆ ~G4LightMedia()
G4LightMedia::~G4LightMedia |
( |
| ) |
|
|
inline |
◆ AntiLambdaExchange()
Definition at line 357 of file G4LightMedia.cc.
360 {
366
368
370
371 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
373 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
377
378
379
380
381 switch( irn ) {
382 case 0:
384
385 break;
386 case 1:
388 break;
389 case 2:
391
392 break;
393 case 3:
395
396 break;
397 default:
399
400 break;
401 }
402 } else {
403
404
405
406
407 switch( irn ) {
408 case 0:
410 break;
411 case 1:
413
414 break;
415 case 2:
417
418 break;
419 case 3:
421
422 break;
423 default:
425
426 break;
427 }
428 }
429 delete targetParticle;
430 return resultant;
431 }
432 delete targetParticle;
434 }
static G4AntiSigmaMinus * AntiSigmaMinus()
static G4AntiSigmaPlus * AntiSigmaPlus()
static G4AntiSigmaZero * AntiSigmaZero()
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
G4ParticleDefinition * GetDefinition() const
G4double GetTotalMomentum() const
static G4Neutron * Neutron()
static G4Proton * Proton()
Referenced by G4LElastic::ApplyYourself().
◆ AntiNeutronExchange()
Definition at line 252 of file G4LightMedia.cc.
255 {
258
260
262
264 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
266 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.75) ) {
269
270 delete targetParticle;
271 return resultant;
272 }
273 }
274 delete targetParticle;
276 }
static G4AntiProton * AntiProton()
Referenced by G4LElastic::ApplyYourself().
◆ AntiOmegaMinusExchange()
Definition at line 1123 of file G4LightMedia.cc.
1126 {
1127
1128
1129
1130
1139
1141
1143
1144 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
1146 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
1148
1149
1150
1153 switch( irn ) {
1154 case 0:
1156
1157 break;
1158 case 1:
1160
1161 break;
1162 case 2:
1164
1165 break;
1166 case 3:
1168
1169 break;
1170 case 4:
1172
1173 break;
1174 case 5:
1176
1177 break;
1178 default:
1180
1181 break;
1182 }
1183 } else {
1185 switch( irn ) {
1186 case 0:
1188
1189 break;
1190 case 1:
1192
1193 break;
1194 case 2:
1196
1197 break;
1198 case 3:
1200
1201 break;
1202 case 4:
1204
1205 break;
1206 case 5:
1208
1209 break;
1210 default:
1212
1213 break;
1214 }
1215 }
1216 delete targetParticle;
1217 return resultant;
1218 }
1219 delete targetParticle;
1221 }
static G4Lambda * Lambda()
static G4SigmaMinus * SigmaMinus()
static G4SigmaPlus * SigmaPlus()
static G4SigmaZero * SigmaZero()
static G4XiMinus * XiMinus()
static G4XiZero * XiZero()
Referenced by G4LElastic::ApplyYourself().
◆ AntiProtonExchange()
Definition at line 199 of file G4LightMedia.cc.
202 {
205
207
209
211 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.};
213 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.75) ) {
216
217 delete targetParticle;
218 return resultant;
219 }
220 }
221 delete targetParticle;
223 }
static G4AntiNeutron * AntiNeutron()
Referenced by G4LElastic::ApplyYourself().
◆ AntiSigmaMinusExchange()
Definition at line 620 of file G4LightMedia.cc.
623 {
628
630
632
633 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
635 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
639
640
641
642
643 switch( irn ) {
644 case 0:
646
647 break;
648 case 1:
650
651 break;
652 case 2:
654
655 break;
656 case 3:
658
659 break;
660 default:
662
663 break;
664 }
665 } else {
666
667
668
670
671 }
672 delete targetParticle;
673 return resultant;
674 }
675 delete targetParticle;
677 }
static G4AntiLambda * AntiLambda()
Referenced by G4LElastic::ApplyYourself().
◆ AntiSigmaPlusExchange()
Definition at line 561 of file G4LightMedia.cc.
564 {
569
571
573
574 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
576 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
580
581
582
584
585 } else {
586
587
588
589 switch( irn ) {
590 case 0:
592
593 break;
594 case 1:
596
597 break;
598 case 2:
600
601 break;
602 case 3:
604
605 break;
606 default:
608
609 break;
610 }
611 }
612 delete targetParticle;
613 return resultant;
614 }
615 delete targetParticle;
617 }
Referenced by G4LElastic::ApplyYourself().
◆ AntiXiMinusExchange()
Definition at line 938 of file G4LightMedia.cc.
941 {
942
943
944
945
952
954
956
957 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
959 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
963 switch( irn ) {
964 case 0:
966
967 break;
968 case 1:
970
971 break;
972 case 2:
974
975 break;
976 case 3:
978
979 break;
980 default:
982
983 break;
984 }
985 } else {
987 switch( irn ) {
988 case 0:
990
991 break;
992 case 1:
994
995 break;
996 case 2:
998
999 break;
1000 case 3:
1002
1003 break;
1004 case 4:
1006
1007 break;
1008 case 5:
1010
1011 break;
1012 default:
1014
1015 break;
1016 }
1017 }
1018 delete targetParticle;
1019 return resultant;
1020 }
1021 delete targetParticle;
1023 }
Referenced by G4LElastic::ApplyYourself().
◆ AntiXiZeroExchange()
Definition at line 849 of file G4LightMedia.cc.
852 {
853
854
855
856
864
866
868
869 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
871 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
875 switch( irn ) {
876 case 0:
878
879 break;
880 case 1:
882
883 break;
884 case 2:
886
887 break;
888 case 3:
890
891 break;
892 case 4:
894
895 break;
896 case 5:
898
899 break;
900 default:
902
903 break;
904 }
905 } else {
907 switch( irn ) {
908 case 0:
910
911 break;
912 case 1:
914
915 break;
916 case 2:
918
919 break;
920 case 3:
922
923 break;
924 default:
926
927 break;
928 }
929 }
930 delete targetParticle;
931 return resultant;
932 }
933 delete targetParticle;
935 }
Referenced by G4LElastic::ApplyYourself().
◆ KaonMinusExchange()
◆ KaonPlusExchange()
Definition at line 78 of file G4LightMedia.cc.
81 {
85
87
89
91
92
93
94 const G4double cech[] = {0.33,0.27,0.29,0.31,0.27,0.18,0.13,0.10,0.09,0.07};
96 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
100 else
102
103 delete targetParticle;
104 return resultant;
105 }
106 }
107 delete targetParticle;
109 }
static G4KaonZeroLong * KaonZeroLong()
static G4KaonZeroShort * KaonZeroShort()
Referenced by G4LElastic::ApplyYourself().
◆ KaonZeroLongExchange()
◆ KaonZeroShortExchange()
Definition at line 112 of file G4LightMedia.cc.
115 {
119
121
123
125
126
127
128 const G4double cech[] = {0.33,0.27,0.29,0.31,0.27,0.18,0.13,0.10,0.09,0.07};
130 if(
G4UniformRand() < cech[iplab]/std::pow(atomicNumber,0.42) ) {
133
134 delete targetParticle;
135 return resultant;
136 }
137 } else {
141 delete targetParticle;
142 return resultant;
143 }
144 }
145 delete targetParticle;
147 }
static G4KaonPlus * KaonPlus()
Referenced by G4LElastic::ApplyYourself().
◆ LambdaExchange()
Definition at line 279 of file G4LightMedia.cc.
282 {
288
290
292
293 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
295 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
299
300
301
302 switch( irn ) {
303 case 0:
305 break;
306 case 1:
308
309 break;
310 case 2:
312
313 break;
314 case 3:
316
317 break;
318 default:
320
321 break;
322 }
323 } else {
324
325
326
327 switch( irn ) {
328 case 0:
330
331 break;
332 case 1:
334 break;
335 case 2:
337
338 break;
339 case 3:
341
342 break;
343 default:
345
346 break;
347 }
348 }
349 delete targetParticle;
350 return resultant;
351 }
352 delete targetParticle;
354 }
Referenced by G4LElastic::ApplyYourself().
◆ NeutronExchange()
Definition at line 226 of file G4LightMedia.cc.
229 {
231
233
235
237 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.};
239 if(
G4UniformRand() < cech[iplab]/std::pow(atomicNumber,0.42) ) {
242
243 delete targetParticle;
244 return resultant;
245 }
246 }
247 delete targetParticle;
249 }
Referenced by G4LElastic::ApplyYourself().
◆ OmegaMinusExchange()
Definition at line 1026 of file G4LightMedia.cc.
1029 {
1038
1040
1042
1043 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
1045 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
1047
1048
1049
1052 switch( irn ) {
1053 case 0:
1055
1056 break;
1057 case 1:
1059
1060 break;
1061 case 2:
1063
1064 break;
1065 case 3:
1067
1068 break;
1069 case 4:
1071
1072 break;
1073 case 5:
1075
1076 break;
1077 default:
1079
1080 break;
1081 }
1082 } else {
1084 switch( irn ) {
1085 case 0:
1087
1088 break;
1089 case 1:
1091
1092 break;
1093 case 2:
1095
1096 break;
1097 case 3:
1099
1100 break;
1101 case 4:
1103
1104 break;
1105 case 5:
1107
1108 break;
1109 default:
1111
1112 break;
1113 }
1114 }
1115 delete targetParticle;
1116 return resultant;
1117 }
1118 delete targetParticle;
1120 }
Referenced by G4LElastic::ApplyYourself().
◆ operator!=()
◆ operator=()
◆ operator==()
◆ PionMinusExchange()
◆ PionPlusExchange()
Definition at line 40 of file G4LightMedia.cc.
43 {
46
48
50
52
53
54
55 const G4double cech[] = {0.33,0.27,0.29,0.31,0.27,0.18,0.13,0.10,0.09,0.07};
57 if(
G4UniformRand() < cech[iplab]/std::pow(atomicNumber,0.42) ) {
60
61 delete targetParticle;
62 return resultant;
63 }
64 }
65 delete targetParticle;
67 }
static G4PionZero * PionZero()
Referenced by G4LElastic::ApplyYourself().
◆ ProtonExchange()
Definition at line 173 of file G4LightMedia.cc.
176 {
178
180
182
184 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.};
186 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
189
190 delete targetParticle;
191 return resultant;
192 }
193 }
194 delete targetParticle;
196 }
Referenced by G4LElastic::ApplyYourself().
◆ SigmaMinusExchange()
Definition at line 499 of file G4LightMedia.cc.
502 {
507
509
511
512 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
514 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
516
517
518
521
522
523
525
526 } else {
527
528
529
530 switch( irn ) {
531 case 0:
533
534 break;
535 case 1:
537
538 break;
539 case 2:
541
542 break;
543 case 3:
545
546 break;
547 default:
549
550 break;
551 }
552 }
553 delete targetParticle;
554 return resultant;
555 }
556 delete targetParticle;
558 }
Referenced by G4LElastic::ApplyYourself().
◆ SigmaPlusExchange()
Definition at line 437 of file G4LightMedia.cc.
440 {
445
447
449
450 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
452 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
454
455
456
459
460
461
462 switch( irn ) {
463 case 0:
465
466 break;
467 case 1:
469
470 break;
471 case 2:
473
474 break;
475 case 3:
477
478 break;
479 default:
481
482 break;
483 }
484 } else {
485
486
487
489
490 }
491 delete targetParticle;
492 return resultant;
493 }
494 delete targetParticle;
496 }
Referenced by G4LElastic::ApplyYourself().
◆ XiMinusExchange()
Definition at line 765 of file G4LightMedia.cc.
768 {
775
777
779
780 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
782 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
786 switch( irn ) {
787 case 0:
789
790 break;
791 case 1:
793
794 break;
795 case 2:
797
798 break;
799 case 3:
801
802 break;
803 default:
805
806 break;
807 }
808 } else {
810 switch( irn ) {
811 case 0:
813
814 break;
815 case 1:
817
818 break;
819 case 2:
821
822 break;
823 case 3:
825
826 break;
827 case 4:
829
830 break;
831 case 5:
833
834 break;
835 default:
837
838 break;
839 }
840 }
841 delete targetParticle;
842 return resultant;
843 }
844 delete targetParticle;
846 }
Referenced by G4LElastic::ApplyYourself().
◆ XiZeroExchange()
Definition at line 680 of file G4LightMedia.cc.
683 {
691
693
695
696 const G4double cech[] = {0.50,0.45,0.40,0.35,0.30,0.25,0.06,0.04,0.005,0.0};
698 if(
G4UniformRand() <= cech[iplab]/std::pow(atomicNumber,0.42) ) {
702 switch( irn ) {
703 case 0:
705
706 break;
707 case 1:
709
710 break;
711 case 2:
713
714 break;
715 case 3:
717
718 break;
719 case 4:
721
722 break;
723 case 5:
725
726 break;
727 default:
729
730 break;
731 }
732 } else {
734 switch( irn ) {
735 case 0:
737
738 break;
739 case 1:
741
742 break;
743 case 2:
745
746 break;
747 case 3:
749
750 break;
751 default:
753
754 break;
755 }
756 }
757 delete targetParticle;
758 return resultant;
759 }
760 delete targetParticle;
762 }
Referenced by G4LElastic::ApplyYourself().
The documentation for this class was generated from the following files: