Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
@@ -23,51 +23,46 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4RPGProtonInelastic.hh,v 1.1 2007/07/18 20:51:37 dennis Exp $
// GEANT4 tag $Name: geant4-09-01 $
// $Id: G4RPGProtonInelastic.hh,v 1.3 2008/05/05 21:21:54 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Author: D. H. Wright
// Date: 26 May 2007
// Date: 28 December 2007
//
// Class Description:
//
// Final state production model for proton inelastic scattering
// using the re-parameterized Gheisha model.
// using the re-parameterized Gheisha model
#ifndef G4RPGProtonInelastic_h
#define G4RPGProtonInelastic_h 1
#include "G4RPGInelastic.hh"
#include "G4RPGNucleonInelastic.hh"
class G4RPGProtonInelastic : public G4RPGInelastic
class G4RPGProtonInelastic : public G4RPGNucleonInelastic
{
public: // with description
public:
G4RPGProtonInelastic() : G4RPGInelastic("G4RPGProtonInelastic")
{
SetMinEnergy(0.0);
SetMaxEnergy(35.*GeV);
}
G4RPGProtonInelastic() : G4RPGNucleonInelastic("RPGProtonInelastic")
{}
~G4RPGProtonInelastic()
{ }
{}
G4HadFinalState * ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
private:
void Cascade(G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
G4int& vecLen,
const G4HadProjectile* originalIncident,
G4ReactionProduct& currentParticle,
G4ReactionProduct& targetParticle,
G4bool& incidentHasChanged,
G4bool& targetHasChanged,
G4bool& quasiElastic);
void InitialCollision(
G4FastVector<G4ReactionProduct,256>& vec,
G4int& vecLen,
G4ReactionProduct& currentParticle,
G4ReactionProduct& targetParticle,
G4bool& incidentHasChanged,
G4bool& targetHasChanged);
void SlowProton(const G4HadProjectile* originalIncident,
G4Nucleus& targetNucleus);