- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/cascade/cascade/include/G4CascadeData.hh
r1315 r1337 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 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 $ 27 28 // 28 29 // 20100507 M. Kelsey -- Use template arguments to dimension const-refs … … 32 33 // from measured inclusive (tot) cross-sections. Add two 33 34 // 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]. 34 37 35 38 #ifndef G4_CASCADE_DATA_HH … … 50 53 enum { NM=N9?8:N8?7:6, NXS=N29 }; // Multiplicity and cross-section bins 51 54 52 G4int index[ NM+1]; // Start and stop indices to xsec's55 G4int index[9]; // Start and stop indices to xsec's 53 56 G4double multiplicities[NM][NE]; // Multiplicity distributions 54 57 … … 115 118 // Initialize index offsets for cross-section array (can't do globally) 116 119 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; 120 122 121 123 // Initialize multiplicity array
Note: See TracChangeset
for help on using the changeset viewer.