Changeset 1196 for trunk/source/processes/hadronic/models/incl/include
- Timestamp:
- Nov 25, 2009, 5:13:58 PM (16 years ago)
- Location:
- trunk/source/processes/hadronic/models/incl/include
- Files:
-
- 3 edited
-
G4Incl.hh (modified) (3 diffs)
-
G4InclAblaCascadeInterface.hh (modified) (3 diffs)
-
G4InclDataDefs.hh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/incl/include/G4Incl.hh
r962 r1196 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4Incl.hh,v 1.1 3 2008/06/25 17:20:04 kaitanie Exp $26 // $Id: G4Incl.hh,v 1.15 2009/11/18 10:43:14 kaitanie Exp $ 27 27 // Translation of INCL4.2/ABLA V3 28 28 // Pekka Kaitaniemi, HIP (translation) … … 78 78 ~G4Incl(); // Destructor 79 79 80 void dumpParticles(); 80 81 G4double energyTest(G4int i); // Test for NaN energy of particle i. 81 82 void dumpBl5(std::ofstream& dumpOut); // Dump the contents of G4Bl5. … … 474 475 * @return a double value 475 476 */ 476 G4double ref(G4double x1, G4double x2, G4doublex3, G4double p1,477 G4double ref(G4double &x1, G4double &x2, G4double &x3, G4double p1, 477 478 G4double p2, G4double p3, G4double E, G4double r2); 478 479 -
trunk/source/processes/hadronic/models/incl/include/G4InclAblaCascadeInterface.hh
r819 r1196 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4InclAblaCascadeInterface.hh,v 1. 6 2007/10/31 10:44:22 miheikkiExp $26 // $Id: G4InclAblaCascadeInterface.hh,v 1.8 2009/11/18 10:43:14 kaitanie Exp $ 27 27 // Translation of INCL4.2/ABLA V3 28 28 // Pekka Kaitaniemi, HIP (translation) … … 66 66 67 67 /** 68 * <h1>INCL intra-nuclear cascade with built-in ABLA de-excitation</h1> 69 * 68 70 * Interface for INCL/ABLA. This interface handles basic hadron 69 71 * bullet particles (protons, neutrons, pions). 72 * 73 * Example usage in case of protons: 74 * @code 75 * G4InclAblaCascadeInterface* inclModel = new G4InclAblaCascadeInterface; 76 * inclModel -> SetMinEnergy(0.0 * MeV); // Set the energy limits 77 * inclModel -> SetMaxEnergy(3.0 * GeV); 78 * 79 * G4ProtonInelasticProcess* protonInelasticProcess = new G4ProtonInelasticProcess(); 80 * G4ProtonInelasticCrossSection* protonInelasticCrossSection = new G4ProtonInelasticCrossSection(); 81 * 82 * protonInelasticProcess -> RegisterMe(inclModel); 83 * protonInelasticProcess -> AddDataSet(protonInelasticCrossSection); 84 * 85 * particle = G4Proton::Proton(); 86 * processManager = particle -> GetProcessManager(); 87 * processManager -> AddDiscreteProcess(protonInelasticProcess); 88 * @endcode 89 * The same setup procedure is needed for neutron and pion inelastic processes 90 * as well. 91 * 70 92 * @see G4InclAblaLightIonInterface 71 93 */ … … 77 99 * Basic constructor. 78 100 */ 79 G4InclAblaCascadeInterface( );101 G4InclAblaCascadeInterface(const G4String& name = "INCL/ABLA Cascade"); 80 102 81 103 -
trunk/source/processes/hadronic/models/incl/include/G4InclDataDefs.hh
r962 r1196 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4InclDataDefs.hh,v 1. 5 2008/06/25 17:20:04 kaitanie Exp $26 // $Id: G4InclDataDefs.hh,v 1.7 2009/11/18 10:43:14 kaitanie Exp $ 27 27 // Translation of INCL4.2/ABLA V3 28 28 // Pekka Kaitaniemi, HIP (translation) … … 323 323 ~G4Bl2() {}; 324 324 325 void dump() { 326 G4cout <<"Avatars: (number of avatars = " << k << ")" << G4endl; 327 for(G4int i = 0; i <= k; i++) { 328 G4cout <<"i = " << i << G4endl; 329 G4cout <<"crois[" << i << "] = " << crois[i] << G4endl; 330 G4cout <<"ind[" << i << "] = " << ind[i] << G4endl; 331 G4cout <<"jnd[" << i << "] = " << jnd[i] << G4endl; 332 } 333 } 334 325 335 /** 326 336 *
Note:
See TracChangeset
for help on using the changeset viewer.
