- 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/G4RPGPiPlusInelastic.hh
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4RPGPiPlusInelastic.hh,v 1. 1 2007/07/18 20:51:37dennis Exp $27 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $26 // $Id: G4RPGPiPlusInelastic.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 … … 38 38 // using the re-parameterized Gheisha model 39 39 40 #include "G4RPG Inelastic.hh"40 #include "G4RPGPionInelastic.hh" 41 41 42 class G4RPGPiPlusInelastic : public G4RPG Inelastic42 class G4RPGPiPlusInelastic : public G4RPGPionInelastic 43 43 { 44 44 public: 45 45 46 G4RPGPiPlusInelastic() : G4RPGInelastic("G4RPGPiPlusInelastic") 47 { 48 SetMinEnergy( 0.0 ); 49 SetMaxEnergy( 55.*GeV ); 50 } 46 G4RPGPiPlusInelastic() : G4RPGPionInelastic("RPGPiPlusInelastic") 47 {} 51 48 52 ~G4RPGPiPlusInelastic() { } 49 ~G4RPGPiPlusInelastic() 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 CASPIP 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 66 #endif
Note: See TracChangeset
for help on using the changeset viewer.