ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PreCompoundFragment.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4PreCompoundFragment.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 // 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 {
45 public:
46 
48  G4VCoulombBarrier * aCoulombBarrier);
49 
50  virtual ~G4PreCompoundFragment();
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);
59 
60  G4double SampleKineticEnergy(const G4Fragment & aFragment);
61 
62 protected:
63 
64  virtual G4double GetAlpha() const = 0;
65 
66  virtual G4double GetBeta() const = 0;
67 
68  G4double CrossSection(G4double ekin) const;
69 
70  virtual G4double
72  const G4Fragment & aFragment) = 0;
73 
74 private:
75  // This method performs integration for probability function over
76  // fragment kinetic energy
78  const G4Fragment & aFragment);
79 
80  G4double GetOpt0(G4double ekin) const;
81 
82  // operators
84  const G4PreCompoundFragment&
85  operator= (const G4PreCompoundFragment &right) = delete;
86  G4bool operator==(const G4PreCompoundFragment &right) const = delete;
87  G4bool operator!=(const G4PreCompoundFragment &right) const = delete;
88 
90 
93 };
94 
95 #endif