- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/rpg/include/G4RPGNeutronInelastic.hh
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4RPGNeutronInelastic.hh,v 1. 1 2007/07/18 20:51:37dennis Exp $27 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $26 // $Id: G4RPGNeutronInelastic.hh,v 1.3 2008/05/05 21:21:54 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // Author: D. H. Wright 30 // Date: 18 June200730 // Date: 28 December 2007 31 31 // 32 32 33 33 // Class Description: 34 //35 34 // Final state production model for neutron inelastic scattering 36 // using the re-parameterized Gheisha model .35 // using the re-parameterized Gheisha model 37 36 38 37 #ifndef G4RPGNeutronInelastic_h … … 40 39 41 40 42 #include "G4RPG Inelastic.hh"41 #include "G4RPGNucleonInelastic.hh" 43 42 44 43 45 class G4RPGNeutronInelastic : public G4RPG Inelastic44 class G4RPGNeutronInelastic : public G4RPGNucleonInelastic 46 45 { 47 public: // with description46 public: 48 47 49 G4RPGNeutronInelastic() : G4RPGInelastic("G4RPGNeutronInelastic") 50 { 51 SetMinEnergy(0.0); 52 SetMaxEnergy(35.*GeV); 53 } 48 G4RPGNeutronInelastic() : G4RPGNucleonInelastic("RPGNeutronInelastic") 49 {} 54 50 55 51 ~G4RPGNeutronInelastic() 56 { 52 {} 57 53 58 54 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, … … 60 56 61 57 private: 62 63 void Cascade(64 G4FastVector<G4ReactionProduct, GHADLISTSIZE> &vec,58 59 void InitialCollision( 60 G4FastVector<G4ReactionProduct,256>& vec, 65 61 G4int& vecLen, 66 const G4HadProjectile* originalIncident,67 62 G4ReactionProduct& currentParticle, 68 63 G4ReactionProduct& targetParticle, 69 G4bool& incidentHasChanged, 70 G4bool& targetHasChanged, 71 G4bool& quasiElastic); 64 G4bool& incidentHasChanged, 65 G4bool& targetHasChanged); 72 66 73 67 void SlowNeutron(
Note: See TracChangeset
for help on using the changeset viewer.