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/G4CascadeKminusNChannel.cc

    r962 r1315  
    2828
    2929namespace {
    30 
    31   // Total cross section as a function of kinetic energy
    32   G4double kmntot[31];
    33  
    34   // Multiplicities as a function of kinetic energy
    35   G4double kmnMultiplicities[6][31];
    36 
    37 
    38   const G4int kmnindex[6][2] =
    39     {{0, 5}, {5, 20}, {20, 48}, {48, 90}, {90, 110}, {110, 121}};
    40 
    4130  // Outgoing particle types of a given multiplicity
    4231
    43   const G4int kmn2bfs[5][2] =
     32  static const G4int kmn2bfs[5][2] =
    4433    {{2, 13}, {5, 21}, {5, 25}, {7, 27}, {15, 31} };
    4534
    46   const G4int kmn3bfs[15][3] =
     35  static const G4int kmn3bfs[15][3] =
    4736    {{1,5,13},   {2,7,13},   {2,5,17},   {5,7,21},   {5,5,23},
    4837     {5,7,25},   {7,7,27},   {3,5,27},   {13,15,21}, {13,15,25},
    4938     {15,17,27}, {11,13,27}, {5,15,29},  {7,15,31},  {5,11,31} };
    5039
    51   const G4int kmn4bfs[28][4] =
     40  static const G4int kmn4bfs[28][4] =
    5241    {{1,5,7,13},   {1,5,5,17},   {2,7,7,13},   {2,3,5,13},
    5342     {2,5,7,17},   {5,7,7,21},   {3,5,5,21},   {5,5,7,23},
     
    5847     {5,5,11,29},  {7,7,15,31},  {3,5,15,31},  {5,7,11,31} };
    5948
    60   const G4int kmn5bfs[42][5] =
     49  static const G4int kmn5bfs[42][5] =
    6150    {{1,5,7,7,13},   {1,3,5,5,13},   {1,5,5,7,17},   {2,7,7,7,13},
    6251     {2,3,5,7,13},   {2,5,7,7,17},   {2,3,5,5,17},   {5,7,7,7,21},
     
    7160     {5,7,7,11,31},  {3,5,5,11,31} };
    7261
    73   const G4int kmn6bfs[20][6] =
     62  static const G4int kmn6bfs[20][6] =
    7463    {{1,5,7,7,7,13}, {1,3,5,5,7,13}, {1,5,5,7,7,17}, {1,3,5,5,5,17},
    7564     {2,7,7,7,7,13}, {2,3,5,7,7,13}, {2,3,3,5,5,13}, {2,5,7,7,7,17},
     
    7867     {3,3,5,5,5,25}, {7,7,7,7,7,27}, {3,5,7,7,7,27}, {3,3,5,5,7,27} };
    7968
    80   const G4int kmn7bfs[11][7] =
     69  static const G4int kmn7bfs[11][7] =
    8170    {{1,5,7,7,7,7,13}, {1,3,5,5,7,7,13}, {1,3,3,5,5,5,13},
    8271     {1,5,5,7,7,7,17}, {1,3,5,5,5,7,17}, {2,7,7,7,7,7,13},
     
    9584  // second index: kinetic energy
    9685  //
    97   const G4float kmnCrossSections[121][31] = {
     86  static const G4double kmnCrossSections[121][31] = {
    9887    //
    9988    // multiplicity 2 (5 channels)
     
    721710
    722711G4CascadeKminusNChannelData::data_t
    723 G4CascadeKminusNChannelData::data = { kmntot,
    724                                       kmnMultiplicities,
    725                                       kmnindex,
    726                                       kmn2bfs,
    727                                       kmn3bfs,
    728                                       kmn4bfs,
    729                                       kmn5bfs,
    730                                       kmn6bfs,
    731                                       kmn7bfs,
    732                                       kmnCrossSections };
    733 namespace {
    734   struct initializer
    735   {
    736     initializer() { G4CascadeKminusNChannelData::data.initialize(); }
    737   };
    738  
    739   initializer init;
    740 }
    741 
     712G4CascadeKminusNChannelData::data(kmn2bfs, kmn3bfs, kmn4bfs,
     713                                  kmn5bfs, kmn6bfs, kmn7bfs,
     714                                  kmnCrossSections);
Note: See TracChangeset for help on using the changeset viewer.