Changeset 1315 for trunk/source/processes/hadronic/models/cascade/cascade/src/G4CascadeKminusNChannel.cc
- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/cascade/cascade/src/G4CascadeKminusNChannel.cc
r962 r1315 28 28 29 29 namespace { 30 31 // Total cross section as a function of kinetic energy32 G4double kmntot[31];33 34 // Multiplicities as a function of kinetic energy35 G4double kmnMultiplicities[6][31];36 37 38 const G4int kmnindex[6][2] =39 {{0, 5}, {5, 20}, {20, 48}, {48, 90}, {90, 110}, {110, 121}};40 41 30 // Outgoing particle types of a given multiplicity 42 31 43 const G4int kmn2bfs[5][2] =32 static const G4int kmn2bfs[5][2] = 44 33 {{2, 13}, {5, 21}, {5, 25}, {7, 27}, {15, 31} }; 45 34 46 const G4int kmn3bfs[15][3] =35 static const G4int kmn3bfs[15][3] = 47 36 {{1,5,13}, {2,7,13}, {2,5,17}, {5,7,21}, {5,5,23}, 48 37 {5,7,25}, {7,7,27}, {3,5,27}, {13,15,21}, {13,15,25}, 49 38 {15,17,27}, {11,13,27}, {5,15,29}, {7,15,31}, {5,11,31} }; 50 39 51 const G4int kmn4bfs[28][4] =40 static const G4int kmn4bfs[28][4] = 52 41 {{1,5,7,13}, {1,5,5,17}, {2,7,7,13}, {2,3,5,13}, 53 42 {2,5,7,17}, {5,7,7,21}, {3,5,5,21}, {5,5,7,23}, … … 58 47 {5,5,11,29}, {7,7,15,31}, {3,5,15,31}, {5,7,11,31} }; 59 48 60 const G4int kmn5bfs[42][5] =49 static const G4int kmn5bfs[42][5] = 61 50 {{1,5,7,7,13}, {1,3,5,5,13}, {1,5,5,7,17}, {2,7,7,7,13}, 62 51 {2,3,5,7,13}, {2,5,7,7,17}, {2,3,5,5,17}, {5,7,7,7,21}, … … 71 60 {5,7,7,11,31}, {3,5,5,11,31} }; 72 61 73 const G4int kmn6bfs[20][6] =62 static const G4int kmn6bfs[20][6] = 74 63 {{1,5,7,7,7,13}, {1,3,5,5,7,13}, {1,5,5,7,7,17}, {1,3,5,5,5,17}, 75 64 {2,7,7,7,7,13}, {2,3,5,7,7,13}, {2,3,3,5,5,13}, {2,5,7,7,7,17}, … … 78 67 {3,3,5,5,5,25}, {7,7,7,7,7,27}, {3,5,7,7,7,27}, {3,3,5,5,7,27} }; 79 68 80 const G4int kmn7bfs[11][7] =69 static const G4int kmn7bfs[11][7] = 81 70 {{1,5,7,7,7,7,13}, {1,3,5,5,7,7,13}, {1,3,3,5,5,5,13}, 82 71 {1,5,5,7,7,7,17}, {1,3,5,5,5,7,17}, {2,7,7,7,7,7,13}, … … 95 84 // second index: kinetic energy 96 85 // 97 const G4floatkmnCrossSections[121][31] = {86 static const G4double kmnCrossSections[121][31] = { 98 87 // 99 88 // multiplicity 2 (5 channels) … … 721 710 722 711 G4CascadeKminusNChannelData::data_t 723 G4CascadeKminusNChannelData::data = { kmntot, 724 kmnMultiplicities, 725 kmnindex, 726 kmn2bfs, 727 kmn3bfs, 728 kmn4bfs, 729 kmn5bfs, 730 kmn6bfs, 731 kmn7bfs, 732 kmnCrossSections }; 733 namespace { 734 struct initializer 735 { 736 initializer() { G4CascadeKminusNChannelData::data.initialize(); } 737 }; 738 739 initializer init; 740 } 741 712 G4CascadeKminusNChannelData::data(kmn2bfs, kmn3bfs, kmn4bfs, 713 kmn5bfs, kmn6bfs, kmn7bfs, 714 kmnCrossSections);
Note: See TracChangeset
for help on using the changeset viewer.