59 lines
1.8 KiB
C++
59 lines
1.8 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: G4HESigmaPlusInelastic.hh,v 1.4 2000/12/14 09:02:42 hpw Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
//
|
|
// G4 Gheisha High Energy model class -- header file
|
|
// H. Fesefeldt, RWTH Aachen 23-October-1996
|
|
// Last modified: 10-December-1996
|
|
|
|
// A prototype of the Gheisha High Energy collision model.
|
|
|
|
#ifndef G4HESigmaPlusInelastic_h
|
|
#define G4HESigmaPlusInelastic_h 1
|
|
|
|
// Class Description
|
|
// Final state production model for SigmaPlus inelastic scattering above 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 "G4HEInelastic.hh"
|
|
|
|
class G4HESigmaPlusInelastic : public G4HEInelastic
|
|
{
|
|
public:
|
|
G4HESigmaPlusInelastic() : G4HEInelastic()
|
|
{
|
|
G4int vecLen = 0;
|
|
}
|
|
|
|
~G4HESigmaPlusInelastic(){ };
|
|
|
|
G4int vecLength;
|
|
|
|
G4VParticleChange * ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus );
|
|
|
|
G4int GetNumberOfSecondaries()
|
|
{ return vecLength; }
|
|
|
|
private:
|
|
|
|
void FirstIntInCasSigmaPlus(G4bool &inElastic, const G4double availableEnergy,
|
|
G4HEVector pv[],
|
|
G4int &vecLen,
|
|
G4HEVector incidentParticle,
|
|
G4HEVector targetParticle,
|
|
const G4double atomicWeight);
|
|
};
|
|
#endif
|
|
|
|
|