| 1 | //
|
|---|
| 2 | // ********************************************************************
|
|---|
| 3 | // * License and Disclaimer *
|
|---|
| 4 | // * *
|
|---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of *
|
|---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and *
|
|---|
| 7 | // * conditions of the Geant4 Software License, included in the file *
|
|---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These *
|
|---|
| 9 | // * include a list of copyright holders. *
|
|---|
| 10 | // * *
|
|---|
| 11 | // * Neither the authors of this software system, nor their employing *
|
|---|
| 12 | // * institutes,nor the agencies providing financial support for this *
|
|---|
| 13 | // * work make any representation or warranty, express or implied, *
|
|---|
| 14 | // * regarding this software system or assume any liability for its *
|
|---|
| 15 | // * use. Please see the license in the file LICENSE and URL above *
|
|---|
| 16 | // * for the full disclaimer and the limitation of liability. *
|
|---|
| 17 | // * *
|
|---|
| 18 | // * This code implementation is the result of the scientific and *
|
|---|
| 19 | // * technical work of the GEANT4 collaboration. *
|
|---|
| 20 | // * By using, copying, modifying or distributing the software (or *
|
|---|
| 21 | // * any work based on the software) you agree to acknowledge its *
|
|---|
| 22 | // * use in resulting scientific publications, and indicate your *
|
|---|
| 23 | // * acceptance of all terms of the Geant4 Software license. *
|
|---|
| 24 | // ********************************************************************
|
|---|
| 25 | //
|
|---|
| 26 | //
|
|---|
| 27 | // $Id: G4LEProtonInelastic.hh,v 1.12 2007/02/26 18:31:19 dennis Exp $
|
|---|
| 28 | // GEANT4 tag $Name: $
|
|---|
| 29 | //
|
|---|
| 30 | // Hadronic Process: Low Energy Proton Inelastic Process
|
|---|
| 31 | // original by H.P. Wellisch
|
|---|
| 32 | // modified by J.L. Chuma, TRIUMF, 19-Nov-1996
|
|---|
| 33 | // Last modified: 27-Mar-1997
|
|---|
| 34 | // Modified by J.L.Chuma 8-Jul-97 to implement Nucleus changes
|
|---|
| 35 |
|
|---|
| 36 | #ifndef G4LEProtonInelastic_h
|
|---|
| 37 | #define G4LEProtonInelastic_h 1
|
|---|
| 38 |
|
|---|
| 39 | // Class Description
|
|---|
| 40 | // Final state production model for Proton inelastic scattering below 20 GeV;
|
|---|
| 41 | // To be used in your physics list in case you need this physics.
|
|---|
| 42 | // In this case you want to register an object of this class with
|
|---|
| 43 | // the corresponding process.
|
|---|
| 44 | // Class Description - End
|
|---|
| 45 |
|
|---|
| 46 | #include "G4InelasticInteraction.hh"
|
|---|
| 47 |
|
|---|
| 48 | class G4LEProtonInelastic : public G4InelasticInteraction
|
|---|
| 49 | {
|
|---|
| 50 | public:
|
|---|
| 51 |
|
|---|
| 52 | G4LEProtonInelastic() : G4InelasticInteraction("G4LEProtonInelastic")
|
|---|
| 53 | {
|
|---|
| 54 | SetMinEnergy( 0.0 );
|
|---|
| 55 | SetMaxEnergy( 55.*GeV );
|
|---|
| 56 | }
|
|---|
| 57 |
|
|---|
| 58 | ~G4LEProtonInelastic()
|
|---|
| 59 | { }
|
|---|
| 60 |
|
|---|
| 61 | G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
|
|---|
| 62 | G4Nucleus &targetNucleus );
|
|---|
| 63 | private:
|
|---|
| 64 |
|
|---|
| 65 | void Cascade( // derived from CASP
|
|---|
| 66 | G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
|
|---|
| 67 | G4int &vecLen,
|
|---|
| 68 | const G4HadProjectile *originalIncident,
|
|---|
| 69 | G4ReactionProduct ¤tParticle,
|
|---|
| 70 | G4ReactionProduct &targetParticle,
|
|---|
| 71 | G4bool &incidentHasChanged,
|
|---|
| 72 | G4bool &targetHasChanged,
|
|---|
| 73 | G4bool &quasiElastic );
|
|---|
| 74 |
|
|---|
| 75 | void SlowProton(
|
|---|
| 76 | const G4HadProjectile *originalIncident,
|
|---|
| 77 | G4Nucleus &targetNucleus );
|
|---|
| 78 | };
|
|---|
| 79 |
|
|---|
| 80 | #endif
|
|---|
| 81 |
|
|---|