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/G4RPGProtonInelastic.hh

    r819 r962  
    2424// ********************************************************************
    2525//
    26 // $Id: G4RPGProtonInelastic.hh,v 1.1 2007/07/18 20:51:37 dennis Exp $
    27 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     26// $Id: G4RPGProtonInelastic.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
    30 // Date:   26 May 2007
     30// Date:   28 December 2007
    3131//
    3232
    3333// Class Description:
    34 //
    3534// Final state production model for proton inelastic scattering
    36 // using the re-parameterized Gheisha model.
     35// using the re-parameterized Gheisha model
    3736
    3837#ifndef G4RPGProtonInelastic_h
     
    4039 
    4140
    42 #include "G4RPGInelastic.hh"
     41#include "G4RPGNucleonInelastic.hh"
    4342
    4443 
    45  class G4RPGProtonInelastic : public G4RPGInelastic
     44 class G4RPGProtonInelastic : public G4RPGNucleonInelastic
    4645 {
    47  public:  // with description
     46 public:
    4847   
    49    G4RPGProtonInelastic() : G4RPGInelastic("G4RPGProtonInelastic")
    50    {
    51      SetMinEnergy(0.0);
    52      SetMaxEnergy(35.*GeV);
    53    }
     48   G4RPGProtonInelastic() : G4RPGNucleonInelastic("RPGProtonInelastic")
     49   {}
    5450   
    5551   ~G4RPGProtonInelastic()
    56    { }
     52   {}
    5753   
    58    G4HadFinalState * ApplyYourself(const G4HadProjectile& aTrack,
    59                                    G4Nucleus& targetNucleus);
     54   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     55                                  G4Nucleus& targetNucleus);
    6056
    6157 private:
    6258   
    63    void Cascade(G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
    64                 G4int& vecLen,
    65                 const G4HadProjectile* originalIncident,
    66                 G4ReactionProduct& currentParticle,
    67                 G4ReactionProduct& targetParticle,
    68                 G4bool& incidentHasChanged,
    69                 G4bool& targetHasChanged,
    70                 G4bool& quasiElastic);
     59   void InitialCollision(
     60     G4FastVector<G4ReactionProduct,256>& vec,
     61     G4int& vecLen,
     62     G4ReactionProduct& currentParticle,
     63     G4ReactionProduct& targetParticle,
     64     G4bool& incidentHasChanged,
     65     G4bool& targetHasChanged);
    7166
    7267   void SlowProton(const G4HadProjectile* originalIncident,
Note: See TracChangeset for help on using the changeset viewer.