- Timestamp:
- Dec 22, 2010, 3:52:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/incl/include/G4InclCascadeInterface.hh
r1340 r1347 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4InclCascadeInterface.hh,v 1. 6 2010/10/26 02:47:59kaitanie Exp $26 // $Id: G4InclCascadeInterface.hh,v 1.8 2010/11/13 00:08:36 kaitanie Exp $ 27 27 // Translation of INCL4.2/ABLA V3 28 28 // Pekka Kaitaniemi, HIP (translation) … … 59 59 #include "G4AblaDataDefs.hh" 60 60 #include "G4Incl.hh" 61 #include "G4InclInput.hh" 61 62 // Geant4 de-excitation 63 #include "G4ExcitationHandler.hh" 64 #include "G4PreCompoundModel.hh" 62 65 63 66 #include <fstream> … … 67 70 68 71 /** 72 * <h1>INCL intra-nuclear cascade with Geant4 PreCompound for de-excitation</h1> 73 * 69 74 * Interface for INCL. This interface handles basic hadron 70 75 * bullet particles (protons, neutrons, pions). 71 * @see G4InclAblaLightIonInterface 76 * 77 * Example usage in case of protons: 78 * @code 79 * G4InclCascadeInterface* inclModel = new G4InclCascadeInterface; 80 * inclModel -> SetMinEnergy(0.0 * MeV); // Set the energy limits 81 * inclModel -> SetMaxEnergy(3.0 * GeV); 82 * 83 * G4ProtonInelasticProcess* protonInelasticProcess = new G4ProtonInelasticProcess(); 84 * G4ProtonInelasticCrossSection* protonInelasticCrossSection = new G4ProtonInelasticCrossSection(); 85 * 86 * protonInelasticProcess -> RegisterMe(inclModel); 87 * protonInelasticProcess -> AddDataSet(protonInelasticCrossSection); 88 * 89 * particle = G4Proton::Proton(); 90 * processManager = particle -> GetProcessManager(); 91 * processManager -> AddDiscreteProcess(protonInelasticProcess); 92 * @endcode 93 * The same setup procedure is needed for neutron and pion inelastic processes 94 * as well. 95 * 96 * @see G4InclLightIonInterface 72 97 */ 73 98 … … 78 103 * Basic constructor. 79 104 */ 80 G4InclCascadeInterface( );105 G4InclCascadeInterface(const G4String& name = "INCL Cascade with Geant4 PreCompound"); 81 106 82 107 … … 94 119 95 120 /** 96 * Main method to apply the INCL /ABLAphysics model.121 * Main method to apply the INCL physics model. 97 122 * @param aTrack the projectile particle 98 123 * @param theNucleus target nucleus 99 * @return the output of the INCL /ABLAphysics model124 * @return the output of the INCL physics model 100 125 */ 101 126 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, G4Nucleus& theNucleus); … … 108 133 G4Hazard *hazard; // The random seeds used by INCL. 109 134 G4VarNtp *varntp; 110 G4InclInput * inclInput;135 G4InclInput *calincl; 111 136 G4Ws *ws; 112 137 G4Mat *mat; 113 138 G4Incl *incl; 114 139 115 140 G4HadFinalState theResult; 116 141 ofstream diagdata; … … 119 144 G4double previousTargetA; 120 145 G4double previousTargetZ; 146 147 G4ExcitationHandler *theExcitationHandler; 148 G4PreCompoundModel *thePrecoModel; 121 149 }; 122 150 123 #endif // G4INCL CASCADEINTERFACE_H151 #endif // G4INCLABLACASCADEINTERFACE_H
Note: See TracChangeset
for help on using the changeset viewer.