Ignore:
Timestamp:
Sep 30, 2010, 2:47:17 PM (14 years ago)
Author:
garnier
Message:

tag geant4.9.4 beta 1 + modifs locales

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/cascade/cascade/include/G4CascadeData.hh

    r1315 r1337  
    2323// * acceptance of all terms of the Geant4 Software license.          *
    2424// ********************************************************************
    25 // $Id: G4CascadeData.hh,v 1.5 2010/05/16 05:18:36 mkelsey Exp $
    26 // GEANT4 tag: $Name: geant4-09-04-beta-cand-01 $
     25//
     26// $Id: G4CascadeData.hh,v 1.7 2010/06/25 09:41:54 gunter Exp $
     27// GEANT4 tag: $Name: geant4-09-04-beta-01 $
    2728//
    2829// 20100507  M. Kelsey -- Use template arguments to dimension const-refs
     
    3233//              from measured inclusive (tot) cross-sections.  Add two
    3334//              ctors to pass inclusive xsec array as input (for piN/NN).
     35// 20100611  M. Kelsey -- Work around Intel ICC compiler warning about
     36//              index[] subscripts out of range.  Dimension to full [9].
    3437
    3538#ifndef G4_CASCADE_DATA_HH
     
    5053  enum { NM=N9?8:N8?7:6, NXS=N29 };     // Multiplicity and cross-section bins
    5154
    52   G4int index[NM+1];                    // Start and stop indices to xsec's
     55  G4int index[9];                       // Start and stop indices to xsec's
    5356  G4double multiplicities[NM][NE];      // Multiplicity distributions
    5457
     
    115118  // Initialize index offsets for cross-section array (can't do globally)
    116119  index[0] = 0;   index[1] = N02; index[2] = N23; index[3] = N24;
    117   index[4] = N25; index[5] = N26; index[6] = N27;
    118   if (NM>6) index[7]=N28;
    119   if (NM>7) index[8]=N29;
     120  index[4] = N25; index[5] = N26; index[6] = N27; index[7] = N28;
     121  index[8] = N29;
    120122
    121123  // Initialize multiplicity array
Note: See TracChangeset for help on using the changeset viewer.