58 lines
1.7 KiB
C++
58 lines
1.7 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: G4LESigmaPlusInelastic.hh,v 1.3 2000/12/14 09:12:43 hpw Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
// Hadronic Process: Low Energy SigmaPlus Inelastic Process
|
|
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
|
|
// Last modified: 27-Mar-1997
|
|
|
|
#ifndef G4LESigmaPlusInelastic_h
|
|
#define G4LESigmaPlusInelastic_h 1
|
|
|
|
// Class Description
|
|
// Final state production model for SigmaPlus inelastic scattering below 20 GeV;
|
|
// To be used in your physics list in case you need this physics.
|
|
// In this case you want to register an object of this class with
|
|
// the corresponding process.
|
|
// Class Description - End
|
|
|
|
#include "G4InelasticInteraction.hh"
|
|
|
|
class G4LESigmaPlusInelastic : public G4InelasticInteraction
|
|
{
|
|
public:
|
|
|
|
G4LESigmaPlusInelastic() : G4InelasticInteraction()
|
|
{
|
|
SetMinEnergy( 0.0 );
|
|
SetMaxEnergy( 25.*GeV );
|
|
}
|
|
|
|
~G4LESigmaPlusInelastic() { }
|
|
|
|
G4VParticleChange *ApplyYourself( const G4Track &aTrack,
|
|
G4Nucleus &targetNucleus );
|
|
|
|
private:
|
|
|
|
void Cascade( // derived from CASSM
|
|
G4FastVector<G4ReactionProduct,128> &vec,
|
|
G4int &vecLen,
|
|
const G4DynamicParticle *originalIncident,
|
|
G4ReactionProduct ¤tParticle,
|
|
G4ReactionProduct &targetParticle,
|
|
G4bool &incidentHasChanged,
|
|
G4bool &targetHasChanged,
|
|
G4bool &quasiElastic );
|
|
|
|
};
|
|
|
|
#endif
|
|
|