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