| 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 | // $Id: G4RPGFragmentation.hh,v 1.2 2008/02/22 22:02:13 dennis Exp $
|
|---|
| 27 | // GEANT4 tag $Name: geant4-09-03-cand-01 $
|
|---|
| 28 | //
|
|---|
| 29 | // Author: D.H. Wright
|
|---|
| 30 | // Date: 29 May 2007
|
|---|
| 31 | //
|
|---|
| 32 |
|
|---|
| 33 | #ifndef G4RPGFragmentation_h
|
|---|
| 34 | #define G4RPGFragmentation_h 1
|
|---|
| 35 |
|
|---|
| 36 | // Class Description:
|
|---|
| 37 | //
|
|---|
| 38 | // Calculation of the hadron fragmentation stage of the hadron-nucleus
|
|---|
| 39 | // reaction. The Gheisha method of parameterized fragmentation is used.
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | #include "G4RPGReaction.hh"
|
|---|
| 43 | #include "G4DynamicParticle.hh"
|
|---|
| 44 | #include "G4ReactionProduct.hh"
|
|---|
| 45 | #include "G4Nucleus.hh"
|
|---|
| 46 | #include "G4FastVector.hh"
|
|---|
| 47 | #include "G4HadProjectile.hh"
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 | class G4RPGFragmentation : public G4RPGReaction
|
|---|
| 51 | {
|
|---|
| 52 | public: // with description
|
|---|
| 53 |
|
|---|
| 54 | G4RPGFragmentation();
|
|---|
| 55 |
|
|---|
| 56 | void FragmentationIntegral(G4double /*pt*/, G4double /*et*/,
|
|---|
| 57 | G4double /*parMass*/, G4double /*secMass*/);
|
|---|
| 58 |
|
|---|
| 59 | G4bool ReactionStage(const G4HadProjectile* /*originalIncident*/,
|
|---|
| 60 | G4ReactionProduct& /*modifiedOriginal*/,
|
|---|
| 61 | G4bool& /*incidentHasChanged*/,
|
|---|
| 62 | const G4DynamicParticle* /*originalTarget*/,
|
|---|
| 63 | G4ReactionProduct& /*targetParticle*/,
|
|---|
| 64 | G4bool& /*targetHasChanged*/,
|
|---|
| 65 | const G4Nucleus& /*targetNucleus*/,
|
|---|
| 66 | G4ReactionProduct& /*currentParticle*/,
|
|---|
| 67 | G4FastVector<G4ReactionProduct,256>& /*vec*/,
|
|---|
| 68 | G4int& /*vecLen*/,
|
|---|
| 69 | G4bool /*leadFlag*/,
|
|---|
| 70 | G4ReactionProduct& /*leadingStrangeParticle*/);
|
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 | private:
|
|---|
| 74 |
|
|---|
| 75 | void
|
|---|
| 76 | ReduceEnergiesOfSecondaries(G4int /*startingIndex*/,
|
|---|
| 77 | G4double& /*forwardKinetic*/,
|
|---|
| 78 | G4double& /*backwardKinetic*/,
|
|---|
| 79 | G4FastVector<G4ReactionProduct,256>& /*vec*/,
|
|---|
| 80 | G4int& /*vecLen*/,
|
|---|
| 81 | G4ReactionProduct& /*forwardPseudoParticle*/,
|
|---|
| 82 | G4ReactionProduct& /*backwardPseudoParticle*/,
|
|---|
| 83 | G4double& /*pt*/);
|
|---|
| 84 |
|
|---|
| 85 | G4double dndl[20];
|
|---|
| 86 | };
|
|---|
| 87 |
|
|---|
| 88 | #endif
|
|---|
| 89 |
|
|---|