Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PreCompoundNucleon.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: G4PreCompoundNucleon.hh 68028 2013-03-13 13:48:15Z gcosmo $
27 //
28 // J. M. Quesada (August 2008).
29 // Based on previous work by V. Lara
30 //
31 // Modified:
32 // 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added
33 // G4ParticleDefinition to constructor
34 
35 
36 #ifndef G4PreCompoundNucleon_h
37 #define G4PreCompoundNucleon_h 1
38 
39 #include "G4PreCompoundFragment.hh"
40 
42 {
43 public:
44 
46  G4VCoulombBarrier * aCoulombBarrier);
47 
48  virtual ~G4PreCompoundNucleon();
49 
50 protected:
51 
52  virtual G4double
54  const G4Fragment& aFragment);
55 
56  virtual G4double CrossSection(G4double ekin) = 0;
57 
58  virtual G4double
59  GetRj(G4int NumberParticles, G4int NumberCharged) = 0;
60 
61  virtual G4double GetAlpha() = 0;
62 
63  virtual G4double GetBeta() = 0;
64 
65  inline G4double GetOpt0(G4double ekin);
66 
67 private:
68 
69  // default constructor
71  // operators
73  const G4PreCompoundNucleon&
74  operator= (const G4PreCompoundNucleon &right);
75  G4int operator==(const G4PreCompoundNucleon &right) const;
76  G4int operator!=(const G4PreCompoundNucleon &right) const;
77 
78  G4double fact;
79 };
80 
81 // *********************** OPT=0 : Dostrovski's cross section ***************
83 {
85  // cross section is now given in mb (r0 is in mm) for the sake of consistency
86  //with the rest of the options
87  return 1.e+25*CLHEP::pi*r0*r0*ResidualA13()*GetAlpha()*(1.+GetBeta()/K);
88 }
89 
90 #endif
virtual G4double GetAlpha()=0
G4double ResidualA13() const
virtual G4double GetRj(G4int NumberParticles, G4int NumberCharged)=0
G4double GetOpt0(G4double ekin)
int G4int
Definition: G4Types.hh:78
virtual G4double ProbabilityDistributionFunction(G4double eKin, const G4Fragment &aFragment)
virtual G4double GetBeta()=0
G4PreCompoundParameters * theParameters
double G4double
Definition: G4Types.hh:76
virtual G4double CrossSection(G4double ekin)=0