Changeset 1315 for trunk/source/processes/hadronic/models/cascade/cascade/src/G4CascadeKplusPChannel.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/G4CascadeKplusPChannel.cc
r962 r1315 28 28 29 29 namespace { 30 31 // Total cross section as a function of kinetic energy32 G4double kpptot[31];33 34 // Multiplicities as a function of kinetic energy35 G4double kppMultiplicities[6][31];36 37 const G4int kppindex[6][2] =38 {{0, 1}, {1, 5}, {5,15}, {15,34}, {34,62}, {62,100}};39 40 30 // Outgoing particle types of a given multiplicity 41 31 42 const G4int kpp2bfs[1][2] =32 static const G4int kpp2bfs[1][2] = 43 33 {{1, 11}}; 44 34 45 const G4int kpp3bfs[4][3] =35 static const G4int kpp3bfs[4][3] = 46 36 {{1,7,11}, {2,3,11}, {1,3,15}, {11,11,21}}; 47 37 48 const G4int kpp4bfs[10][4] =38 static const G4int kpp4bfs[10][4] = 49 39 {{1,7,7,11}, {1,3,5,11}, {2,3,7,11}, {1,3,7,15}, {2,3,3,15}, 50 40 {1,11,15,17},{1,11,11,13},{2,11,11,17},{7,11,11,21},{3,11,15,21}}; 51 41 52 const G4int kpp5bfs[19][5] =42 static const G4int kpp5bfs[19][5] = 53 43 {{1,7,7,7,11}, {1,3,5,7,11}, {2,3,7,7,11}, {2,3,3,5,11}, 54 44 {1,3,7,7,15}, {1,3,3,5,15}, {2,3,3,7,15}, {1,7,11,15,17}, … … 57 47 {3,5,11,11,21}, {3,7,11,15,21}, {3,3,15,15,21}}; 58 48 59 const G4int kpp6bfs[28][6] =49 static const G4int kpp6bfs[28][6] = 60 50 {{1,7,7,7,7,11}, {1,3,5,7,7,11}, {1,3,3,5,5,11}, 61 51 {2,3,7,7,7,11}, {2,3,3,5,7,11}, {1,3,7,7,7,15}, … … 69 59 {3,3,7,15,15,21}}; 70 60 71 const G4int kpp7bfs[38][7] =61 static const G4int kpp7bfs[38][7] = 72 62 {{1,7,7,7,7,7,11}, {1,3,5,7,7,7,11}, {1,3,3,5,5,7,11}, 73 63 {2,3,7,7,7,7,11}, {2,3,3,5,7,7,11}, {2,3,3,3,5,5,11}, … … 95 85 // second index: kinetic energy 96 86 // 97 const G4floatkppCrossSections[100][31] = {87 static const G4double kppCrossSections[100][31] = { 98 88 // 99 89 // multiplicity 2 (1 channel) … … 613 603 614 604 G4CascadeKplusPChannelData::data_t 615 G4CascadeKplusPChannelData::data = { kpptot, 616 kppMultiplicities, 617 kppindex, 618 kpp2bfs, 619 kpp3bfs, 620 kpp4bfs, 621 kpp5bfs, 622 kpp6bfs, 623 kpp7bfs, 624 kppCrossSections }; 625 626 namespace { 627 struct initializer 628 { 629 initializer() { G4CascadeKplusPChannelData::data.initialize(); } 630 }; 631 632 initializer init; 633 } 605 G4CascadeKplusPChannelData::data(kpp2bfs, kpp3bfs, kpp4bfs, 606 kpp5bfs, kpp6bfs, kpp7bfs, 607 kppCrossSections);
Note: See TracChangeset
for help on using the changeset viewer.