Changeset 1315 for trunk/source/processes/hadronic/models/cascade/cascade/src/G4CascadeSigmaZeroPChannel.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/G4CascadeSigmaZeroPChannel.cc
r962 r1315 28 28 29 29 namespace { 30 31 // Total cross section as a function of kinetic energy32 G4double s0ptot[31];33 34 // Multiplicities as a function of kinetic energy35 G4double s0pMultiplicities[6][31];36 37 const G4int s0pindex[6][2] =38 {{0, 3}, {3, 15}, {15,48}, {48,107}, {107,137}, {137,157}};39 40 30 // Outgoing particle types of a given multiplicity 41 31 42 const G4int s0p2bfs[3][2] =32 static const G4int s0p2bfs[3][2] = 43 33 {{1, 25}, {1,21}, {2,23}}; 44 34 45 const G4int s0p3bfs[12][3] =35 static const G4int s0p3bfs[12][3] = 46 36 {{1,1,13}, {1,2,17}, {1,7,25}, {2,3,25}, {1,5,23}, {2,7,23}, 47 37 {1,7,21}, {2,3,21}, {1,3,27}, {1,15,29}, {2,11,29}, {1,11,31}}; 48 38 49 const G4int s0p4bfs[33][4] =39 static const G4int s0p4bfs[33][4] = 50 40 {{1,1,7,13}, {1,1,5,17}, {1,2,7,17}, {1,2,3,13}, {2,2,3,17}, 51 41 {1,7,7,25}, {1,3,5,25}, {2,3,7,25}, {1,15,17,25}, {1,11,13,25}, … … 56 46 {1,7,11,31}, {1,3,15,31}, {2,3,11,31}}; 57 47 58 const G4int s0p5bfs[59][5] =48 static const G4int s0p5bfs[59][5] = 59 49 {{1,1,7,7,13}, {1,1,3,5,13}, {1,1,5,7,17}, {1,2,7,7,17}, 60 50 {1,2,3,5,17}, {1,2,3,7,13}, {2,2,3,7,17}, {2,2,3,3,13}, … … 73 63 {1,3,7,15,31}, {2,3,7,11,31}, {2,3,3,15,31}}; 74 64 75 const G4int s0p6bfs[30][6] =65 static const G4int s0p6bfs[30][6] = 76 66 {{1,1,7,7,7,13}, {1,1,3,5,7,13}, {1,1,5,7,7,17}, 77 67 {1,1,3,5,5,17}, {1,2,7,7,7,17}, {1,2,3,5,7,17}, … … 85 75 {1,3,3,5,7,27}, {2,3,3,7,7,27}, {2,3,3,3,5,27}}; 86 76 87 const G4int s0p7bfs[20][7] =77 static const G4int s0p7bfs[20][7] = 88 78 {{1,1,7,7,7,7,13}, {1,1,3,5,7,7,13}, {1,1,3,3,5,5,13}, 89 79 {1,1,5,7,7,7,17}, {1,1,3,5,5,7,17}, {1,2,7,7,7,7,17}, … … 105 95 // second index: kinetic energy 106 96 // 107 const G4floats0pCrossSections[157][31] = {97 static const G4double s0pCrossSections[157][31] = { 108 98 // 109 99 // multiplicity 2 (3 channels) … … 912 902 913 903 G4CascadeSigmaZeroPChannelData::data_t 914 G4CascadeSigmaZeroPChannelData::data = { s0ptot, 915 s0pMultiplicities, 916 s0pindex, 917 s0p2bfs, 918 s0p3bfs, 919 s0p4bfs, 920 s0p5bfs, 921 s0p6bfs, 922 s0p7bfs, 923 s0pCrossSections }; 924 namespace { 925 struct initializer { 926 initializer() { G4CascadeSigmaZeroPChannelData::data.initialize(); } 927 }; 928 929 initializer init; 930 } 904 G4CascadeSigmaZeroPChannelData::data(s0p2bfs, s0p3bfs, s0p4bfs, 905 s0p5bfs, s0p6bfs, s0p7bfs, 906 s0pCrossSections);
Note: See TracChangeset
for help on using the changeset viewer.