Changeset 1340 for trunk/source/processes/hadronic/models/cascade/cascade/include/G4CascadeFunctions.icc
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/cascade/cascade/include/G4CascadeFunctions.icc
r1337 r1340 1 #ifndef G4_CASCADE_FUNCTIONS_ICC 2 #define G4_CASCADE_FUNCTIONS_ICC 1 3 // 2 4 // ******************************************************************** … … 24 26 // ******************************************************************** 25 27 // 26 // $Id: G4CascadeFunctions.icc,v 1. 3 2010/06/25 09:41:58 gunterExp $27 // GEANT4 tag: $Name: geant4-09-04-beta-01$28 // $Id: G4CascadeFunctions.icc,v 1.5 2010/08/04 05:28:24 mkelsey Exp $ 29 // GEANT4 tag: $Name: hadr-casc-V09-03-85 $ 28 30 // 29 31 // 20100512 M. Kelsey -- Pass std::vector<> buffer as argument to 30 32 // getOutgoingPartTypes(). 33 // 20100803 M. Kelsey -- Add printing function for debugging 34 // 20100804 M. Kelsey -- Pretty up printing function 31 35 32 #i fndef G4_CASCADE_FUNCTIONS_ICC33 # define G4_CASCADE_FUNCTIONS_ICC36 #include "G4CascadeFunctions.hh" 37 #include "globals.hh" 34 38 35 39 … … 55 59 56 60 61 // Generate list of final state particles 62 57 63 template <class DATA, class SAMP> inline 58 64 void G4CascadeFunctions<DATA,SAMP>:: … … 75 81 #endif 76 82 77 // Identify final-state array to be copie s83 // Identify final-state array to be copied 78 84 const G4int* chan = 0; 79 85 if (mult == 2) chan = DATA::data.x2bfs[channel]; … … 96 102 } 97 103 104 105 // Dump lookup tables, including interpolation bins, to log file 106 107 template <class DATA, class SAMP> inline 108 void G4CascadeFunctions<DATA,SAMP>::printTable() { 109 G4cout << " ---------- " << DATA::data.name << " ----------" << G4endl; 110 instance.print(); 111 DATA::data.print(); 112 G4cout << " ------------------------------" << G4endl; 113 } 114 98 115 #endif /* G4_CASCADE_FUNCTIONS_ICC */
Note: See TracChangeset
for help on using the changeset viewer.