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

    r962 r1315  
    2828
    2929namespace {
    30 
    31   // Total cross section as a function of kinetic energy
    32   G4double kpptot[31];
    33  
    34   // Multiplicities as a function of kinetic energy
    35   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 
    4030  // Outgoing particle types of a given multiplicity
    4131
    42   const G4int kpp2bfs[1][2] =
     32  static const G4int kpp2bfs[1][2] =
    4333    {{1, 11}};
    4434
    45   const G4int kpp3bfs[4][3] =
     35  static const G4int kpp3bfs[4][3] =
    4636    {{1,7,11}, {2,3,11}, {1,3,15}, {11,11,21}};
    4737 
    48   const G4int kpp4bfs[10][4] =
     38  static const G4int kpp4bfs[10][4] =
    4939    {{1,7,7,11},  {1,3,5,11},  {2,3,7,11},  {1,3,7,15},  {2,3,3,15},
    5040     {1,11,15,17},{1,11,11,13},{2,11,11,17},{7,11,11,21},{3,11,15,21}};
    5141
    52   const G4int kpp5bfs[19][5] =
     42  static const G4int kpp5bfs[19][5] =
    5343    {{1,7,7,7,11},   {1,3,5,7,11},   {2,3,7,7,11},   {2,3,3,5,11},
    5444     {1,3,7,7,15},   {1,3,3,5,15},   {2,3,3,7,15},   {1,7,11,15,17},
     
    5747     {3,5,11,11,21}, {3,7,11,15,21}, {3,3,15,15,21}};
    5848 
    59   const G4int kpp6bfs[28][6] =
     49  static const G4int kpp6bfs[28][6] =
    6050    {{1,7,7,7,7,11},   {1,3,5,7,7,11},   {1,3,3,5,5,11},
    6151     {2,3,7,7,7,11},   {2,3,3,5,7,11},   {1,3,7,7,7,15},
     
    6959     {3,3,7,15,15,21}};
    7060 
    71   const G4int kpp7bfs[38][7] =
     61  static const G4int kpp7bfs[38][7] =
    7262    {{1,7,7,7,7,7,11},   {1,3,5,7,7,7,11},   {1,3,3,5,5,7,11},
    7363     {2,3,7,7,7,7,11},   {2,3,3,5,7,7,11},   {2,3,3,3,5,5,11},
     
    9585  // second index: kinetic energy
    9686  //
    97   const G4float kppCrossSections[100][31] = {
     87  static const G4double kppCrossSections[100][31] = {
    9888    //
    9989    // multiplicity 2 (1 channel)
     
    613603
    614604G4CascadeKplusPChannelData::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 }
     605G4CascadeKplusPChannelData::data(kpp2bfs, kpp3bfs, kpp4bfs,
     606                                 kpp5bfs, kpp6bfs, kpp7bfs,
     607                                 kppCrossSections);
Note: See TracChangeset for help on using the changeset viewer.