56 lines
1.5 KiB
C++
56 lines
1.5 KiB
C++
// This code implementation is the intellectual property of
|
|
// the GEANT4 collaboration.
|
|
//
|
|
// By copying, distributing or modifying the Program (or any work
|
|
// based on the Program) you indicate your acceptance of this statement,
|
|
// and all its terms.
|
|
//
|
|
// $Id: G4LEProtonInelastic.hh,v 1.1.10.1 1999/12/07 20:52:18 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-01-00 $
|
|
//
|
|
// Hadronic Process: Low Energy Proton Inelastic Process
|
|
// original by H.P. Wellisch
|
|
// modified by J.L. Chuma, TRIUMF, 19-Nov-1996
|
|
// Last modified: 27-Mar-1997
|
|
// Modified by J.L.Chuma 8-Jul-97 to implement Nucleus changes
|
|
|
|
#ifndef G4LEProtonInelastic_h
|
|
#define G4LEProtonInelastic_h 1
|
|
|
|
#include "G4InelasticInteraction.hh"
|
|
|
|
class G4LEProtonInelastic : public G4InelasticInteraction
|
|
{
|
|
public:
|
|
|
|
G4LEProtonInelastic() : G4InelasticInteraction()
|
|
{
|
|
SetMinEnergy( 0.0 );
|
|
SetMaxEnergy( 25.*GeV );
|
|
}
|
|
|
|
~G4LEProtonInelastic()
|
|
{ }
|
|
|
|
G4VParticleChange *ApplyYourself( const G4Track &aTrack,
|
|
G4Nucleus &targetNucleus );
|
|
private:
|
|
|
|
void Cascade( // derived from CASP
|
|
G4FastVector<G4ReactionProduct,128> &vec,
|
|
G4int &vecLen,
|
|
const G4DynamicParticle *originalIncident,
|
|
G4ReactionProduct ¤tParticle,
|
|
G4ReactionProduct &targetParticle,
|
|
G4bool &incidentHasChanged,
|
|
G4bool &targetHasChanged,
|
|
G4bool &quasiElastic );
|
|
|
|
void SlowProton(
|
|
const G4DynamicParticle *originalIncident,
|
|
G4Nucleus &targetNucleus );
|
|
};
|
|
|
|
#endif
|
|
|