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