Changeset 1315 for trunk/source/processes/hadronic/models/cascade/cascade/src/G4CascadeXiZeroNChannel.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/G4CascadeXiZeroNChannel.cc
r962 r1315 28 28 29 29 namespace { 30 31 // Total cross section as a function of kinetic energy32 G4double x0ntot[31];33 34 // Multiplicities as a function of kinetic energy35 G4double x0nMultiplicities[6][31];36 37 const G4int x0nindex[6][2] =38 {{0, 6}, {6,30}, {30,34}, {34,38}, {38,42}, {42,46}};39 40 30 // Outgoing particle types of a given multiplicity 41 31 42 const G4int x0n2bfs[6][2] =32 static const G4int x0n2bfs[6][2] = 43 33 {{2,29}, {1,31}, {21,21}, {21,25}, {25,25}, {23,27}}; 44 34 45 const G4int x0n3bfs[24][3] =35 static const G4int x0n3bfs[24][3] = 46 36 {{1,13,21}, {1,13,25}, {1,17,27}, {1,5,29}, {1,7,31}, {2,17,21}, 47 37 {2,17,25}, {2,13,23}, {2,7,29}, {2,3,31}, {7,21,21}, {7,21,25}, … … 49 39 {15,23,31}, {7,25,25}, {3,25,27}, {15,25,29}, {11,25,31}, {11,27,29}}; 50 40 51 const G4int x0n4bfs[4][4] =41 static const G4int x0n4bfs[4][4] = 52 42 {{1,7,13,21}, {2,7,17,21}, {1,3,5,31}, {2,3,5,29}}; 53 43 54 const G4int x0n5bfs[4][5] =44 static const G4int x0n5bfs[4][5] = 55 45 {{1,3,5,13,21}, {2,3,5,17,21}, {1,3,5,7,31}, {2,3,5,7,29}}; 56 46 57 const G4int x0n6bfs[4][6] =47 static const G4int x0n6bfs[4][6] = 58 48 {{1,3,5,7,13,21}, {2,3,5,7,17,21}, {1,3,3,5,5,31}, {2,3,3,5,5,29}}; 59 49 60 const G4int x0n7bfs[4][7] =50 static const G4int x0n7bfs[4][7] = 61 51 {{1,3,3,5,5,13,21}, {2,3,3,5,5,17,21}, {1,3,3,5,5,7,31}, {2,3,3,5,5,7,29}}; 62 52 … … 72 62 // second index: kinetic energy 73 63 // 74 const G4floatx0nCrossSections[46][31] = {64 static const G4double x0nCrossSections[46][31] = { 75 65 // 76 66 // multiplicity 2 (6 channels) … … 324 314 325 315 G4CascadeXiZeroNChannelData::data_t 326 G4CascadeXiZeroNChannelData::data = { x0ntot, 327 x0nMultiplicities, 328 x0nindex, 329 x0n2bfs, 330 x0n3bfs, 331 x0n4bfs, 332 x0n5bfs, 333 x0n6bfs, 334 x0n7bfs, 335 x0nCrossSections }; 336 337 namespace { 338 struct initializer 339 { 340 initializer() { G4CascadeXiZeroNChannelData::data.initialize(); } 341 }; 342 343 initializer init; 344 } 316 G4CascadeXiZeroNChannelData::data(x0n2bfs, x0n3bfs, x0n4bfs, 317 x0n5bfs, x0n6bfs, x0n7bfs, 318 x0nCrossSections);
Note: See TracChangeset
for help on using the changeset viewer.