Changeset 1315 for trunk/source/processes/hadronic/models/cascade/cascade/src/G4CascadeXiMinusNChannel.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/G4CascadeXiMinusNChannel.cc
r962 r1315 28 28 29 29 namespace { 30 // Total cross section as a function of kinetic energy31 G4double xmntot[31];32 33 // Multiplicities as a function of kinetic energy34 G4double xmnMultiplicities[6][31];35 36 const G4int xmnindex[6][2] =37 {{0, 3}, {3, 21}, {21,74}, {74,76}, {76,78}, {78,80}};38 39 30 // Outgoing particle types of a given multiplicity 40 31 41 const G4int xmn2bfs[3][2] =32 static const G4int xmn2bfs[3][2] = 42 33 {{2, 31}, {21,27}, {25,27}}; 43 34 44 const G4int xmn3bfs[18][3] =35 static const G4int xmn3bfs[18][3] = 45 36 {{2,13,21}, {5,21,21}, {1,13,27}, {2,13,25}, {7,21,27}, {5,23,27}, 46 37 {7,25,27}, {3,27,27}, {2,17,27}, {5,21,25}, {5,25,25}, {2,5,29}, 47 38 {2,7,31}, {15,21,31},{11,27,31},{15,27,29},{1,5,31}, {15,25,31}}; 48 39 49 const G4int xmn4bfs[53][4] =40 static const G4int xmn4bfs[53][4] = 50 41 {{1,2,13,13}, {1,5,13,21}, {1,5,13,25}, {1,7,13,27}, {1,5,17,27}, 51 42 {1,5,5,29}, {1,5,7,31}, {1,13,15,31}, {2,2,13,17}, {2,7,13,21}, … … 60 51 {3,15,27,31}, {7,11,27,31}, {7,15,27,29}}; 61 52 62 const G4int xmn5bfs[2][5] =53 static const G4int xmn5bfs[2][5] = 63 54 {{2,7,7,7,31}, {2,3,5,7,31}}; 64 55 65 const G4int xmn6bfs[2][6] =56 static const G4int xmn6bfs[2][6] = 66 57 {{2,7,7,7,7,31}, {2,3,5,7,7,31}}; 67 58 68 const G4int xmn7bfs[2][7] =59 static const G4int xmn7bfs[2][7] = 69 60 {{2,7,7,7,7,7,31}, {2,3,5,7,7,7,31}}; 70 61 … … 80 71 // second index: kinetic energy 81 72 // 82 const G4floatxmnCrossSections[80][31] = {73 static const G4double xmnCrossSections[80][31] = { 83 74 // 84 75 // multiplicity 2 (3 channels) … … 501 492 502 493 G4CascadeXiMinusNChannelData::data_t 503 G4CascadeXiMinusNChannelData::data = { xmntot, 504 xmnMultiplicities, 505 xmnindex, 506 xmn2bfs, 507 xmn3bfs, 508 xmn4bfs, 509 xmn5bfs, 510 xmn6bfs, 511 xmn7bfs, 512 xmnCrossSections }; 513 namespace { 514 struct initializer 515 { 516 initializer() { G4CascadeXiMinusNChannelData::data.initialize(); } 517 }; 518 519 initializer init; 520 } 494 G4CascadeXiMinusNChannelData::data(xmn2bfs, xmn3bfs, xmn4bfs, 495 xmn5bfs, xmn6bfs, xmn7bfs, 496 xmnCrossSections);
Note: See TracChangeset
for help on using the changeset viewer.