Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4PreCompoundFragment.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//
27// J. M. Quesada (August 2008).
28// Based on previous work by V. Lara
29//
30// Modified:
31// 03.09.2008 by J. M. Quesada for external choice of inverse
32// cross section option (default OPTxs=2)
33// 06.09.2008 by JMQ Also external choice has been added for
34// superimposed Coulomb barrier (if useSICB=true, default false)
35// 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added
36// G4ParticleDefinition to constructor
37
38#ifndef G4PreCompoundFragment_h
39#define G4PreCompoundFragment_h 1
40
42
44{
45public:
46
48 G4VCoulombBarrier * aCoulombBarrier);
49
50 ~G4PreCompoundFragment() override = default;
51
52 // ================================================
53 // Methods for calculating the emission probability
54 // ================================================
55
56 // Calculates the total (integrated over kinetic energy) emission
57 // probability of a fragment
58 G4double CalcEmissionProbability(const G4Fragment& aFragment) override;
59
60 G4double SampleKineticEnergy(const G4Fragment& aFragment) override;
61
63
64 G4double RecentXS() const { return recentXS; };
65
68 operator= (const G4PreCompoundFragment &right) = delete;
69 G4bool operator==(const G4PreCompoundFragment &right) const = delete;
70 G4bool operator!=(const G4PreCompoundFragment &right) const = delete;
71
72protected:
73
74 virtual G4double
76 const G4Fragment & aFragment) = 0;
77
78private:
79
80 // This method performs integration for probability function over
81 // fragment kinetic energy
82 G4double IntegrateEmissionProbability(G4double low, G4double up,
83 const G4Fragment & aFragment);
84
85 G4double GetOpt0(G4double ekin) const;
86
87 G4int lastA{0};
88
89 G4double muu{0.0};
90 G4double probmax{0.0};
91 G4double recentXS{0.0};
92};
93
94#endif
double G4double
Definition G4Types.hh:83
bool G4bool
Definition G4Types.hh:86
int G4int
Definition G4Types.hh:85
G4double CalcEmissionProbability(const G4Fragment &aFragment) override
G4PreCompoundFragment(const G4ParticleDefinition *, G4VCoulombBarrier *aCoulombBarrier)
G4bool operator!=(const G4PreCompoundFragment &right) const =delete
~G4PreCompoundFragment() override=default
G4bool operator==(const G4PreCompoundFragment &right) const =delete
G4double CrossSection(G4double ekin)
G4double SampleKineticEnergy(const G4Fragment &aFragment) override
const G4PreCompoundFragment & operator=(const G4PreCompoundFragment &right)=delete
G4PreCompoundFragment(const G4PreCompoundFragment &right)=delete
virtual G4double ProbabilityDistributionFunction(G4double ekin, const G4Fragment &aFragment)=0
G4VPreCompoundFragment(const G4ParticleDefinition *, G4VCoulombBarrier *)