Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PreCompoundIon.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$
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 // moved constructor and destructor to source,
35 // added inline methods
36 
37 #ifndef G4PreCompoundIon_h
38 #define G4PreCompoundIon_h 1
39 
40 #include "G4PreCompoundFragment.hh"
41 
43 {
44 public:
45 
47  G4VCoulombBarrier * aCoulombBarrier);
48 
49  virtual ~G4PreCompoundIon();
50 
51 protected:
52 
53  virtual G4double
55  const G4Fragment& aFragment);
56 
57  virtual G4double CrossSection(G4double ekin) = 0;
58 
59  virtual G4double
60  GetRj(G4int NumberParticles, G4int NumberCharged) = 0;
61 
62  virtual G4double FactorialFactor(G4int N, G4int P) = 0;
63 
64  virtual G4double CoalescenceFactor(G4int A) = 0;
65 
66  virtual G4double GetAlpha() = 0;
67 
68  inline G4double GetBeta();
69 
70  inline G4double GetOpt0(G4double ekin);
71 
72 private:
73 
74  // default constructor
76  // operators
78  const G4PreCompoundIon&
79  operator= (const G4PreCompoundIon &right);
80  G4int operator==(const G4PreCompoundIon &right) const;
81  G4int operator!=(const G4PreCompoundIon &right) const;
82 
83  G4double fact;
84 };
85 
87 {
88  return -GetCoulombBarrier();
89 }
90 
91 // *********************** OPT=0 : Dostrovski's cross section ***************
93 {
95  // cross section is now given in mb (r0 is in mm) for the sake of consistency
96  //with the rest of the options
97  return 1.e+25*CLHEP::pi*r0*r0*ResidualA13()*GetAlpha()*(1.+GetBeta()/K);
98 }
99 
100 #endif