Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/cascade/cascade/src/G4CascadeXiZeroNChannel.cc

    r962 r1315  
    2828
    2929namespace {
    30 
    31   // Total cross section as a function of kinetic energy
    32   G4double x0ntot[31];
    33  
    34   // Multiplicities as a function of kinetic energy
    35   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 
    4030  // Outgoing particle types of a given multiplicity
    4131
    42   const G4int x0n2bfs[6][2] =
     32  static const G4int x0n2bfs[6][2] =
    4333    {{2,29}, {1,31}, {21,21}, {21,25}, {25,25}, {23,27}};
    4434
    45   const G4int x0n3bfs[24][3] =
     35  static const G4int x0n3bfs[24][3] =
    4636    {{1,13,21},  {1,13,25}, {1,17,27}, {1,5,29},   {1,7,31},   {2,17,21},
    4737     {2,17,25},  {2,13,23}, {2,7,29},  {2,3,31},   {7,21,21},  {7,21,25},
     
    4939     {15,23,31}, {7,25,25}, {3,25,27}, {15,25,29}, {11,25,31}, {11,27,29}};
    5040
    51   const G4int x0n4bfs[4][4] =
     41  static const G4int x0n4bfs[4][4] =
    5242    {{1,7,13,21}, {2,7,17,21}, {1,3,5,31}, {2,3,5,29}};
    5343
    54   const G4int x0n5bfs[4][5] =
     44  static const G4int x0n5bfs[4][5] =
    5545    {{1,3,5,13,21}, {2,3,5,17,21}, {1,3,5,7,31}, {2,3,5,7,29}};
    5646
    57   const G4int x0n6bfs[4][6] =
     47  static const G4int x0n6bfs[4][6] =
    5848    {{1,3,5,7,13,21}, {2,3,5,7,17,21}, {1,3,3,5,5,31}, {2,3,3,5,5,29}};
    5949
    60   const G4int x0n7bfs[4][7] =
     50  static const G4int x0n7bfs[4][7] =
    6151    {{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}};
    6252
     
    7262  // second index: kinetic energy
    7363  //
    74   const G4float x0nCrossSections[46][31] = {
     64  static const G4double x0nCrossSections[46][31] = {
    7565    //
    7666    // multiplicity 2 (6 channels)
     
    324314
    325315G4CascadeXiZeroNChannelData::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 }
     316G4CascadeXiZeroNChannelData::data(x0n2bfs, x0n3bfs, x0n4bfs,
     317                                  x0n5bfs, x0n6bfs, x0n7bfs,
     318                                  x0nCrossSections);
Note: See TracChangeset for help on using the changeset viewer.