Ignore:
Timestamp:
Apr 6, 2009, 12:30:29 PM (15 years ago)
Author:
garnier
Message:

update processes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/rpg/include/G4RPGPiPlusInelastic.hh

    r819 r962  
    2424// ********************************************************************
    2525//
    26 // $Id: G4RPGPiPlusInelastic.hh,v 1.1 2007/07/18 20:51:37 dennis Exp $
    27 // GEANT4 tag $Name: geant4-09-01-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 $
    2828//
    2929// Author: D. H. Wright
     
    3838// using the re-parameterized Gheisha model
    3939
    40 #include "G4RPGInelastic.hh"
     40#include "G4RPGPionInelastic.hh"
    4141 
    42  class G4RPGPiPlusInelastic : public G4RPGInelastic
     42 class G4RPGPiPlusInelastic : public G4RPGPionInelastic
    4343 {
    4444 public:
    4545   
    46     G4RPGPiPlusInelastic() : G4RPGInelastic("G4RPGPiPlusInelastic")
    47     {
    48       SetMinEnergy( 0.0 );
    49       SetMaxEnergy( 55.*GeV );
    50     }
     46   G4RPGPiPlusInelastic() : G4RPGPionInelastic("RPGPiPlusInelastic")
     47   {}
    5148   
    52     ~G4RPGPiPlusInelastic() { }
     49   ~G4RPGPiPlusInelastic()
     50   {}
    5351   
    54     G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
    55                                       G4Nucleus &targetNucleus );
     52   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     53                                        G4Nucleus& targetNucleus);
    5654   
    5755 private:
    5856   
    59     void Cascade(                               // derived from CASPIP
    60       G4FastVector<G4ReactionProduct,256> &vec,
    61       G4int &vecLen,
    62       const G4HadProjectile *originalIncident,
    63       G4ReactionProduct &currentParticle,
    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
    6965 };
    7066#endif
Note: See TracChangeset for help on using the changeset viewer.