- 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/G4RPGPiMinusInelastic.hh
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4RPGPiMinusInelastic.hh,v 1. 1 2007/07/18 20:51:37dennis Exp $27 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $26 // $Id: G4RPGPiMinusInelastic.hh,v 1.3 2008/05/05 21:21:54 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 // Author: D. H. Wright30 // Date: 2 6 May200729 // Author: D. H. Wright 30 // Date: 23 November 2007 31 31 // 32 32 33 33 #ifndef G4RPGPiMinusInelastic_h 34 34 #define G4RPGPiMinusInelastic_h 1 35 35 36 // Class Description 36 // Class Description: 37 37 // Final state production model for pi- inelastic scattering 38 // using the re-parameterized Gheisha model .38 // using the re-parameterized Gheisha model 39 39 40 #include "G4RPG Inelastic.hh"40 #include "G4RPGPionInelastic.hh" 41 41 42 class G4RPGPiMinusInelastic : public G4RPG Inelastic42 class G4RPGPiMinusInelastic : public G4RPGPionInelastic 43 43 { 44 44 public: 45 45 46 G4RPGPiMinusInelastic() : G4RPGInelastic("G4RPGPiMinusInelastic") 47 { 48 SetMinEnergy( 0.0 ); 49 SetMaxEnergy( 55.*GeV ); 50 } 46 G4RPGPiMinusInelastic() : G4RPGPionInelastic("RPGPiMinusInelastic") 47 {} 51 48 52 ~G4RPGPiMinusInelastic() { } 49 ~G4RPGPiMinusInelastic() 50 {} 53 51 54 G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,55 G4Nucleus &targetNucleus);52 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 53 G4Nucleus& targetNucleus); 56 54 57 55 private: 58 56 59 void Cascade( // derived from CASPIM 60 G4FastVector<G4ReactionProduct,256> &vec, 61 G4int &vecLen, 62 const G4HadProjectile *originalIncident, 63 G4ReactionProduct ¤tParticle, 64 G4ReactionProduct &targetParticle, 65 G4bool &incidentHasChanged, 66 G4bool &targetHasChanged, 67 G4bool &quasiElastic ); 68 57 void InitialCollision( 58 G4FastVector<G4ReactionProduct,256>& vec, 59 G4int& vecLen, 60 G4ReactionProduct& currentParticle, 61 G4ReactionProduct& targetParticle, 62 G4bool& incidentHasChanged, 63 G4bool& targetHasChanged); 64 69 65 }; 70 71 66 #endif 72 67
Note: See TracChangeset
for help on using the changeset viewer.