57 lines
1.6 KiB
C++
57 lines
1.6 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: G4LEPionPlusInelastic.hh,v 1.3 2000/12/14 09:12:43 hpw Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
// Hadronic Process: Low Energy PionPlus Inelastic Process
|
|
// J.L. Chuma, TRIUMF, 19-Nov-1996
|
|
// Last modified: 27-Mar-1997
|
|
|
|
#ifndef G4LEPionPlusInelastic_h
|
|
#define G4LEPionPlusInelastic_h 1
|
|
|
|
// Class Description
|
|
// Final state production model for PionPlus 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 G4LEPionPlusInelastic : public G4InelasticInteraction
|
|
{
|
|
public:
|
|
|
|
G4LEPionPlusInelastic() : G4InelasticInteraction()
|
|
{
|
|
SetMinEnergy( 0.0 );
|
|
SetMaxEnergy( 25.*GeV );
|
|
}
|
|
|
|
~G4LEPionPlusInelastic() { }
|
|
|
|
G4VParticleChange *ApplyYourself( const G4Track &aTrack,
|
|
G4Nucleus &targetNucleus );
|
|
|
|
private:
|
|
|
|
void Cascade( // derived from CASPIP
|
|
G4FastVector<G4ReactionProduct,128> &vec,
|
|
G4int &vecLen,
|
|
const G4DynamicParticle *originalIncident,
|
|
G4ReactionProduct ¤tParticle,
|
|
G4ReactionProduct &targetParticle,
|
|
G4bool &incidentHasChanged,
|
|
G4bool &targetHasChanged,
|
|
G4bool &quasiElastic );
|
|
|
|
};
|
|
#endif
|
|
|