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

    r962 r1315  
    2828
    2929namespace {
    30 
    31   // Total cross section as a function of kinetic energy
    32   G4double s0ptot[31];
    33 
    34   // Multiplicities as a function of kinetic energy
    35   G4double s0pMultiplicities[6][31];
    36 
    37   const G4int s0pindex[6][2] =
    38     {{0, 3}, {3, 15}, {15,48}, {48,107}, {107,137}, {137,157}};
    39 
    4030  // Outgoing particle types of a given multiplicity
    4131
    42   const G4int s0p2bfs[3][2] =
     32  static const G4int s0p2bfs[3][2] =
    4333    {{1, 25}, {1,21}, {2,23}};
    4434
    45   const G4int s0p3bfs[12][3] =
     35  static const G4int s0p3bfs[12][3] =
    4636    {{1,1,13}, {1,2,17}, {1,7,25}, {2,3,25},  {1,5,23},  {2,7,23},
    4737     {1,7,21}, {2,3,21}, {1,3,27}, {1,15,29}, {2,11,29}, {1,11,31}}; 
    4838
    49   const G4int s0p4bfs[33][4] =
     39  static const G4int s0p4bfs[33][4] =
    5040    {{1,1,7,13},   {1,1,5,17},   {1,2,7,17},   {1,2,3,13},   {2,2,3,17},
    5141     {1,7,7,25},   {1,3,5,25},   {2,3,7,25},   {1,15,17,25}, {1,11,13,25},
     
    5646     {1,7,11,31},  {1,3,15,31},  {2,3,11,31}};       
    5747
    58   const G4int s0p5bfs[59][5] =
     48  static const G4int s0p5bfs[59][5] =
    5949    {{1,1,7,7,13},   {1,1,3,5,13},   {1,1,5,7,17},   {1,2,7,7,17},
    6050     {1,2,3,5,17},   {1,2,3,7,13},   {2,2,3,7,17},   {2,2,3,3,13},
     
    7363     {1,3,7,15,31},  {2,3,7,11,31},  {2,3,3,15,31}};
    7464
    75   const G4int s0p6bfs[30][6] =
     65  static const G4int s0p6bfs[30][6] =
    7666    {{1,1,7,7,7,13},   {1,1,3,5,7,13},   {1,1,5,7,7,17},
    7767     {1,1,3,5,5,17},   {1,2,7,7,7,17},   {1,2,3,5,7,17},
     
    8575     {1,3,3,5,7,27},   {2,3,3,7,7,27},   {2,3,3,3,5,27}};
    8676
    87   const G4int s0p7bfs[20][7] =
     77  static const G4int s0p7bfs[20][7] =
    8878    {{1,1,7,7,7,7,13},  {1,1,3,5,7,7,13},  {1,1,3,3,5,5,13},
    8979     {1,1,5,7,7,7,17},  {1,1,3,5,5,7,17},  {1,2,7,7,7,7,17},
     
    10595  // second index: kinetic energy
    10696  //
    107   const G4float s0pCrossSections[157][31] = {
     97  static const G4double s0pCrossSections[157][31] = {
    10898    //
    10999    // multiplicity 2 (3 channels)
     
    912902
    913903G4CascadeSigmaZeroPChannelData::data_t
    914 G4CascadeSigmaZeroPChannelData::data = { s0ptot,
    915                                          s0pMultiplicities,
    916                                          s0pindex,
    917                                          s0p2bfs,
    918                                          s0p3bfs,
    919                                          s0p4bfs,
    920                                          s0p5bfs,
    921                                          s0p6bfs,
    922                                          s0p7bfs,
    923                                          s0pCrossSections };
    924 namespace {
    925   struct initializer {
    926     initializer() { G4CascadeSigmaZeroPChannelData::data.initialize(); }
    927   };
    928 
    929   initializer init;
    930 }
     904G4CascadeSigmaZeroPChannelData::data(s0p2bfs, s0p3bfs, s0p4bfs,
     905                                     s0p5bfs, s0p6bfs, s0p7bfs,
     906                                     s0pCrossSections);
Note: See TracChangeset for help on using the changeset viewer.