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

    r962 r1315  
    2828
    2929namespace {
    30 
    31   // Total cross section as a function of kinetic energy
    32   G4double x0ptot[31];
    33 
    34   // Multiplicities as a function of kinetic energy
    35   G4double x0pMultiplicities[6][31];
    36 
    37 
    38   const G4int x0pindex[6][2] =
    39     {{0, 3}, {3, 21}, {21,74}, {74,76}, {76,78}, {78,80}};
    40 
    4130  // Outgoing particle types of a given multiplicity
    4231
    43   const G4int x0p2bfs[3][2] =
     32  static const G4int x0p2bfs[3][2] =
    4433    {{1, 29}, {21,23}, {23,25}};
    4534
    46   const G4int x0p3bfs[18][3] =
     35  static const G4int x0p3bfs[18][3] =
    4736    {{1,17,21}, {3,21,21}, {1,13,23}, {2,17,23}, {7,21,23}, {5,23,23},
    4837     {7,23,25}, {3,23,27}, {1,17,25}, {3,21,25}, {3,25,25}, {1,7,29},
    4938     {2,3,29},  {11,21,29},{11,25,29},{15,23,29},{1,3,31},  {11,23,31}}; 
    5039
    51   const G4int x0p4bfs[53][4] =
     40  static const G4int x0p4bfs[53][4] =
    5241    {{1,1,13,17},  {1,2,17,17},  {1,7,17,21},  {1,3,13,21},  {1,7,17,25}, 
    5342     {1,3,13,25},  {1,7,13,23},  {1,5,17,23},  {1,3,17,27},  {1,7,7,29},
     
    6251     {3,15,23,31}, {7,11,23,31}, {3,11,27,29}};
    6352
    64   const G4int x0p5bfs[2][5] =
     53  static const G4int x0p5bfs[2][5] =
    6554    {{1,7,7,7,29},  {1,3,5,7,29}};
    6655
    67   const G4int x0p6bfs[2][6] =
     56  static const G4int x0p6bfs[2][6] =
    6857    {{1,7,7,7,7,29},  {1,3,5,7,7,29}};
    6958
    70   const G4int x0p7bfs[2][7] =
     59  static const G4int x0p7bfs[2][7] =
    7160    {{1,7,7,7,7,7,29},  {1,3,5,7,7,7,29}};
    7261
     
    8271  // second index: kinetic energy
    8372  //
    84   const G4float x0pCrossSections[80][31] = {
     73  static const G4double x0pCrossSections[80][31] = {
    8574    //
    8675    // multiplicity 2 (3 channels)
     
    503492
    504493G4CascadeXiZeroPChannelData::data_t
    505 G4CascadeXiZeroPChannelData::data = { x0ptot,
    506                                       x0pMultiplicities,
    507                                       x0pindex,
    508                                       x0p2bfs,
    509                                       x0p3bfs,
    510                                       x0p4bfs,
    511                                       x0p5bfs,
    512                                       x0p6bfs,
    513                                       x0p7bfs,
    514                                       x0pCrossSections };
    515 
    516 namespace {
    517   struct initializer
    518   {
    519     initializer() { G4CascadeXiZeroPChannelData::data.initialize(); }
    520   };
    521 
    522   initializer init;
    523 }
    524 
     494G4CascadeXiZeroPChannelData::data(x0p2bfs, x0p3bfs, x0p4bfs,
     495                                  x0p5bfs, x0p6bfs, x0p7bfs,
     496                                  x0pCrossSections);
Note: See TracChangeset for help on using the changeset viewer.