Geant4  10.06.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4INCLCrossSections.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 // INCL++ intra-nuclear cascade model
27 // Alain Boudard, CEA-Saclay, France
28 // Joseph Cugnon, University of Liege, Belgium
29 // Jean-Christophe David, CEA-Saclay, France
30 // Pekka Kaitaniemi, CEA-Saclay, France, and Helsinki Institute of Physics, Finland
31 // Sylvie Leray, CEA-Saclay, France
32 // Davide Mancusi, CEA-Saclay, France
33 //
34 #define INCLXX_IN_GEANT4_MODE 1
35 
36 #include "globals.hh"
37 
38 #ifndef G4INCLCrossSections_hh
39 #define G4INCLCrossSections_hh 1
40 
41 #include "G4INCLICrossSections.hh"
42 #include "G4INCLConfig.hh"
43 
44 namespace G4INCL {
45  namespace CrossSections {
46  G4double elastic(Particle const * const p1, Particle const * const p2);
47  G4double total(Particle const * const p1, Particle const * const p2);
48 
49  G4double NDeltaToNN(Particle const * const p1, Particle const * const p2);
50  G4double NNToNDelta(Particle const * const p1, Particle const * const p2);
51  G4double NNToxPiNN(const G4int xpi, Particle const * const p1, Particle const * const p2);
52  G4double piNToDelta(Particle const * const p1, Particle const * const p2);
53  G4double piNToxPiN(const G4int xpi, Particle const * const p1, Particle const * const p2);
54  G4double piNToEtaN(Particle const * const p1, Particle const * const p2);
55  G4double piNToOmegaN(Particle const * const p1, Particle const * const p2);
56  G4double piNToEtaPrimeN(Particle const * const p1, Particle const * const p2);
57  G4double etaNToPiN(Particle const * const p1, Particle const * const p2);
58  G4double etaNToPiPiN(Particle const * const p1, Particle const * const p2);
59  G4double omegaNToPiN(Particle const * const p1, Particle const * const p2);
60  G4double omegaNToPiPiN(Particle const * const p1, Particle const * const p2);
61  G4double etaPrimeNToPiN(Particle const * const p1, Particle const * const p2);
62 
63  G4double NNToNNEta(Particle const * const p1, Particle const * const p2);
64  G4double NNToNNEtaExclu(Particle const * const p1, Particle const * const p2);
65  G4double NNToNNEtaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2);
66  G4double NNToNDeltaEta(Particle const * const p1, Particle const * const p2);
67  G4double NNToNNOmega(Particle const * const p1, Particle const * const p2);
68  G4double NNToNNOmegaExclu(Particle const * const p1, Particle const * const p2);
69  G4double NNToNNOmegaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2);
70  G4double NNToNDeltaOmega(Particle const * const p1, Particle const * const p2);
71 
72  /// \brief Strange cross sections
73  G4double NNToNLK(Particle const * const p1, Particle const * const p2);
74  G4double NNToNSK(Particle const * const p1, Particle const * const p2);
75  G4double NNToNLKpi(Particle const * const p1, Particle const * const p2);
76  G4double NNToNSKpi(Particle const * const p1, Particle const * const p2);
77  G4double NNToNLK2pi(Particle const * const p1, Particle const * const p2);
78  G4double NNToNSK2pi(Particle const * const p1, Particle const * const p2);
79  G4double NNToNNKKb(Particle const * const p1, Particle const * const p2);
80  G4double NNToMissingStrangeness(Particle const * const p1, Particle const * const p2);
81  G4double NDeltaToNLK(Particle const * const p1, Particle const * const p2);
82  G4double NDeltaToNSK(Particle const * const p1, Particle const * const p2);
83  G4double NDeltaToDeltaLK(Particle const * const p1, Particle const * const p2);
84  G4double NDeltaToDeltaSK(Particle const * const p1, Particle const * const p2);
85  G4double NDeltaToNNKKb(Particle const * const p1, Particle const * const p2);
86  G4double NpiToLK(Particle const * const p1, Particle const * const p2);
87  G4double NpiToSK(Particle const * const p1, Particle const * const p2);
88  G4double p_pimToSzKz(Particle const * const p1, Particle const * const p2);
89  G4double p_pimToSmKp(Particle const * const p1, Particle const * const p2);
90  G4double p_pizToSzKp(Particle const * const p1, Particle const * const p2);
91  G4double NpiToLKpi(Particle const * const p1, Particle const * const p2);
92  G4double NpiToSKpi(Particle const * const p1, Particle const * const p2);
93  G4double NpiToLK2pi(Particle const * const p1, Particle const * const p2);
94  G4double NpiToSK2pi(Particle const * const p1, Particle const * const p2);
95  G4double NpiToNKKb(Particle const * const p1, Particle const * const p2);
96  G4double NpiToMissingStrangeness(Particle const * const p1, Particle const * const p2);
97  G4double NLToNS(Particle const * const p1, Particle const * const p2);
98  G4double NSToNL(Particle const * const p1, Particle const * const p2);
99  G4double NSToNS(Particle const * const p1, Particle const * const p2);
100  G4double NKToNK(Particle const * const p1, Particle const * const p2);
101  G4double NKToNKpi(Particle const * const p1, Particle const * const p2);
102  G4double NKToNK2pi(Particle const * const p1, Particle const * const p2);
103  G4double NKbToNKb(Particle const * const p1, Particle const * const p2);
104  G4double NKbToSpi(Particle const * const p1, Particle const * const p2);
105  G4double NKbToLpi(Particle const * const p1, Particle const * const p2);
106  G4double NKbToS2pi(Particle const * const p1, Particle const * const p2);
107  G4double NKbToL2pi(Particle const * const p1, Particle const * const p2);
108  G4double NKbToNKbpi(Particle const * const p1, Particle const * const p2);
109  G4double NKbToNKb2pi(Particle const * const p1, Particle const * const p2);
110  G4double NYelastic(Particle const * const p1, Particle const * const p2);
111  G4double NKbelastic(Particle const * const p1, Particle const * const p2);
112  G4double NKelastic(Particle const * const p1, Particle const * const p2);
113 
114  /** \brief Calculate the slope of the NN DDXS.
115  *
116  * \param energyCM energy in the CM frame, in MeV
117  * \param iso total isospin of the system
118  *
119  * \return the slope of the angular distribution, in (GeV/c)^(-2)
120  */
122 
123  /** \brief Compute the "interaction distance".
124  *
125  * Defined on the basis of the average value of the N-N cross sections at
126  * the given kinetic energy.
127  *
128  * \return the interaction distance
129  */
130  G4double interactionDistanceNN(const ParticleSpecies &aSpecies, const G4double kineticEnergy);
131 
132  /** \brief Compute the "interaction distance".
133  *
134  * Defined on the basis of the average value of the pi-N cross sections at
135  * the given kinetic energy.
136  *
137  * \return the interaction distance
138  */
139  G4double interactionDistancePiN(const G4double projectileKineticEnergy);
140 
141  /** \brief Compute the "interaction distance".
142  *
143  * Defined on the basis of the average value of the K-N cross sections at
144  * the given kinetic energy.
145  *
146  * \return the interaction distance
147  */
148  G4double interactionDistanceKN(const G4double projectileKineticEnergy);
149 
150  /** \brief Compute the "interaction distance".
151  *
152  * Defined on the basis of the average value of the Kbar-N cross sections at
153  * the given kinetic energy.
154  *
155  * \return the interaction distance
156  */
157  G4double interactionDistanceKbarN(const G4double projectileKineticEnergy);
158 
159  /** \brief Compute the "interaction distance".
160  *
161  * Defined on the basis of the average value of the Y-N cross sections at
162  * the given kinetic energy.
163  *
164  * \return the interaction distance
165  */
166  G4double interactionDistanceYN(const G4double projectileKineticEnergy);
167 
169 
170  void deleteCrossSections();
171 
172  void initialize(Config const * const theConfig);
173 
174  }
175 }
176 
177 #endif
G4double p_pimToSmKp(Particle const *const p1, Particle const *const p2)
G4double total(Particle const *const p1, Particle const *const p2)
G4double NDeltaToNSK(Particle const *const p1, Particle const *const p2)
G4double interactionDistanceKN(const G4double projectileKineticEnergy)
Compute the "interaction distance".
G4double NDeltaToDeltaSK(Particle const *const p1, Particle const *const p2)
G4double NKbToSpi(Particle const *const p1, Particle const *const p2)
G4double calculateNNAngularSlope(G4double energyCM, G4int iso)
Calculate the slope of the NN DDXS.
G4double NNToNNEta(Particle const *const p1, Particle const *const p2)
G4double NNToNNOmegaExclu(Particle const *const p1, Particle const *const p2)
G4double NKbToNKb2pi(Particle const *const p1, Particle const *const p2)
G4double p_pimToSzKz(Particle const *const p1, Particle const *const p2)
G4double elastic(Particle const *const p1, Particle const *const p2)
G4double NKbToS2pi(Particle const *const p1, Particle const *const p2)
G4double NNToNNEtaExclu(Particle const *const p1, Particle const *const p2)
G4double NDeltaToDeltaLK(Particle const *const p1, Particle const *const p2)
G4double interactionDistanceYN(const G4double projectileKineticEnergy)
Compute the "interaction distance".
G4double NNToNDeltaOmega(Particle const *const p1, Particle const *const p2)
G4double NYelastic(Particle const *const p1, Particle const *const p2)
G4double omegaNToPiPiN(Particle const *const p1, Particle const *const p2)
G4double piNToDelta(Particle const *const p1, Particle const *const p2)
G4double NpiToSK2pi(Particle const *const p1, Particle const *const p2)
Definition: G4INCLConfig.hh:60
G4double NNToNNOmega(Particle const *const p1, Particle const *const p2)
G4double piNToEtaN(Particle const *const p1, Particle const *const p2)
G4double interactionDistanceNN(const ParticleSpecies &aSpecies, const G4double kineticEnergy)
Compute the "interaction distance".
double G4double
Definition: G4Types.hh:80
G4double NNToNSKpi(Particle const *const p1, Particle const *const p2)
G4double piNToOmegaN(Particle const *const p1, Particle const *const p2)
G4double etaPrimeNToPiN(Particle const *const p1, Particle const *const p2)
G4double NLToNS(Particle const *const p1, Particle const *const p2)
G4double NNToMissingStrangeness(Particle const *const p1, Particle const *const p2)
Abstract interface for the cross-section classes.
G4double NKToNKpi(Particle const *const p1, Particle const *const p2)
G4double NDeltaToNN(Particle const *const p1, Particle const *const p2)
G4double NNToNNEtaxPi(const G4int xpi, Particle const *const p1, Particle const *const p2)
G4double NpiToSKpi(Particle const *const p1, Particle const *const p2)
Abstract interface for the cross-section classes.
Definition: G4INCLICrossSections.hh:52
G4double NDeltaToNNKKb(Particle const *const p1, Particle const *const p2)
G4double piNToEtaPrimeN(Particle const *const p1, Particle const *const p2)
G4double NSToNS(Particle const *const p1, Particle const *const p2)
G4double NpiToSK(Particle const *const p1, Particle const *const p2)
G4double etaNToPiPiN(Particle const *const p1, Particle const *const p2)
G4double NpiToLK2pi(Particle const *const p1, Particle const *const p2)
G4double NNToNLKpi(Particle const *const p1, Particle const *const p2)
G4double NpiToNKKb(Particle const *const p1, Particle const *const p2)
G4double NKbToL2pi(Particle const *const p1, Particle const *const p2)
G4double omegaNToPiN(Particle const *const p1, Particle const *const p2)
G4double NDeltaToNLK(Particle const *const p1, Particle const *const p2)
G4double NNToNSK(Particle const *const p1, Particle const *const p2)
int G4int
Definition: G4Types.hh:82
Definition: G4INCLParticleSpecies.hh:53
Definition: G4INCLParticle.hh:75
G4double interactionDistancePiN(const G4double projectileKineticEnergy)
Compute the "interaction distance".
G4double NSToNL(Particle const *const p1, Particle const *const p2)
G4double NNToNSK2pi(Particle const *const p1, Particle const *const p2)
G4double NKbToNKbpi(Particle const *const p1, Particle const *const p2)
G4double NNToNDelta(Particle const *const p1, Particle const *const p2)
G4double interactionDistanceKbarN(const G4double projectileKineticEnergy)
Compute the "interaction distance".
G4double NKToNK2pi(Particle const *const p1, Particle const *const p2)
G4double NpiToLKpi(Particle const *const p1, Particle const *const p2)
G4double NKbelastic(Particle const *const p1, Particle const *const p2)
G4double NpiToMissingStrangeness(Particle const *const p1, Particle const *const p2)
G4double NKelastic(Particle const *const p1, Particle const *const p2)
G4double NNToxPiNN(const G4int xpi, Particle const *const p1, Particle const *const p2)
G4double NNToNNKKb(Particle const *const p1, Particle const *const p2)
G4double etaNToPiN(Particle const *const p1, Particle const *const p2)
G4double piNToxPiN(const G4int xpi, Particle const *const p1, Particle const *const p2)
G4double p_pizToSzKp(Particle const *const p1, Particle const *const p2)
G4double NNToNLK2pi(Particle const *const p1, Particle const *const p2)
void initialize(Config const *const theConfig)
G4double NNToNLK(Particle const *const p1, Particle const *const p2)
Strange cross sections.
G4double NKbToNKb(Particle const *const p1, Particle const *const p2)
G4double NNToNNOmegaxPi(const G4int xpi, Particle const *const p1, Particle const *const p2)
G4double NKToNK(Particle const *const p1, Particle const *const p2)
G4double NNToNDeltaEta(Particle const *const p1, Particle const *const p2)
G4double NKbToLpi(Particle const *const p1, Particle const *const p2)
void setCrossSections(ICrossSections *c)
G4double NpiToLK(Particle const *const p1, Particle const *const p2)