ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RPGFragmentation.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4RPGFragmentation.hh
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 // Author: D.H. Wright
28 // Date: 29 May 2007
29 //
30 
31 #ifndef G4RPGFragmentation_h
32 #define G4RPGFragmentation_h 1
33 
34 // Class Description:
35 //
36 // Calculation of the hadron fragmentation stage of the hadron-nucleus
37 // reaction. The Gheisha method of parameterized fragmentation is used.
38 
39 
40 #include "G4RPGReaction.hh"
41 #include "G4DynamicParticle.hh"
42 #include "G4ReactionProduct.hh"
43 #include "G4Nucleus.hh"
44 #include "G4FastVector.hh"
45 #include "G4HadProjectile.hh"
46 
47 
49  {
50  public: // with description
51 
53 
54  void FragmentationIntegral(G4double /*pt*/, G4double /*et*/,
55  G4double /*parMass*/, G4double /*secMass*/);
56 
57  G4bool ReactionStage(const G4HadProjectile* /*originalIncident*/,
58  G4ReactionProduct& /*modifiedOriginal*/,
59  G4bool& /*incidentHasChanged*/,
60  const G4DynamicParticle* /*originalTarget*/,
61  G4ReactionProduct& /*targetParticle*/,
62  G4bool& /*targetHasChanged*/,
63  const G4Nucleus& /*targetNucleus*/,
64  G4ReactionProduct& /*currentParticle*/,
66  G4int& /*vecLen*/,
67  G4bool /*leadFlag*/,
68  G4ReactionProduct& /*leadingStrangeParticle*/);
69 
70 
71  private:
72 
73  void
74  ReduceEnergiesOfSecondaries(G4int /*startingIndex*/,
75  G4double& /*forwardKinetic*/,
76  G4double& /*backwardKinetic*/,
78  G4int& /*vecLen*/,
79  G4ReactionProduct& /*forwardPseudoParticle*/,
80  G4ReactionProduct& /*backwardPseudoParticle*/,
81  G4double& /*pt*/);
82 
83  G4double dndl[20];
84  };
85 
86 #endif
87